-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd4fbee
commit b13e2ce
Showing
5 changed files
with
51 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 0 additions & 53 deletions
53
app/webpacker/components/Panel/pages/CreateNewComersPage/index.jsx
This file was deleted.
Oops, something went wrong.
File renamed without changes.
47 changes: 47 additions & 0 deletions
47
app/webpacker/components/Panel/pages/CreateNewcomersPage/index.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import React from 'react'; | ||
import { Header, List, ListItem } from 'semantic-ui-react'; | ||
import CompetitionsInput from './CompetitionsInput'; | ||
|
||
export default function CreateNewcomersPage() { | ||
return ( | ||
<> | ||
<Header>Create Newcomers</Header> | ||
<Information /> | ||
<CompetitionsInput /> | ||
</> | ||
); | ||
} | ||
|
||
function Information() { | ||
return ( | ||
<> | ||
<p> | ||
In this script, a "person" always means a triple of (id,name,countryId) and | ||
"similar" always means just name similarity. A person is called | ||
"finished" if it has a non-empty personId. A "semi-id" is the id | ||
without the running number at the end. | ||
</p> | ||
<p> | ||
For each unfinished person in the Results table, I show you the few most similar | ||
persons. Then you make choices and click "update" at the bottom of the page | ||
to show and execute your choices. You can: | ||
</p> | ||
<List bulleted> | ||
<ListItem> | ||
Choose the person as "new", optionally modifying name, country and | ||
semi-id. This will add the person to the Persons table (with appropriately | ||
extended id) and change its Results accordingly. If this person has both roman and | ||
local names, the syntax for the names to be inserted correctly is | ||
"romanName (localName)". | ||
</ListItem> | ||
<ListItem> | ||
Choose another person. This will overwrite the person's (id,name,countryId) | ||
triple in the Results table with those of the other person. | ||
</ListItem> | ||
<ListItem> | ||
Skip it if you're not sure yet. | ||
</ListItem> | ||
</List> | ||
</> | ||
); | ||
} |