feat: just a bunch of cleanup

- no deduping, ui improvements, general fixups
This commit is contained in:
zkldi
2022-12-22 17:23:37 +00:00
parent 3b37e45335
commit c2bccd64ae
16 changed files with 128 additions and 67 deletions
@@ -98,9 +98,7 @@ function FervidexForm({
<br />
<span className="text-warning">
Warning: You should always import from your network first. Statically
imported scores have the bare minimum data (Lamp + EX Score + BP), but due
to score de-duplication rules, future network imports cannot append more
data (Timestamps, Graphs, etc.) to these scores.
imported scores have the bare minimum data (No timestamps!).
</span>
</Form.Text>
</Form.Group>
@@ -88,9 +88,7 @@ function KsHookSV6CForm({
<br />
<span className="text-warning">
Warning: You should always import from your network first. Statically
imported scores have the bare minimum data (Lamp + EX Score + BP), but due
to score de-duplication rules, future network imports cannot append more
data (Timestamps, Graphs, etc.) to these scores.
imported scores have the bare minimum data (No timestamps!).
</span>
</Form.Text>
</Form.Group>
@@ -259,8 +259,8 @@ function ImageForm({ reqUser }: { reqUser: UserDocument }) {
return (
<div>
<Alert variant="danger">
Remember Rule 6! Do not set inappropriate stuff as your avatar/banner. If you have
to ask, the answer is probably no.
Do not set inappropriate stuff as your avatar/banner. If you have to ask, the answer
is probably no.
</Alert>
<Form.Group>
<Form.Label>Profile Picture</Form.Label>
@@ -211,38 +211,37 @@ function PreferencesForm({ reqUser, game, playtype }: UGPT) {
</Form.Group>
)}
<Form.Group>
<Form.Label>Preferred Score Info</Form.Label>
<Form.Label>Preferred Folder Info</Form.Label>
<Form.Control
as="select"
id="scoreBucket"
value={formik.values.scoreBucket}
onChange={formik.handleChange}
>
<option value="grade">Score</option>
<option value="lamp">Lamp</option>
<option value="grade">Grades</option>
<option value="lamp">Lamps</option>
</Form.Control>
<Form.Text className="text-muted">
What should {TachiConfig.name} prefer to show you about scores?
<br />
Note: This will only affect defaults, such as what graph is shown in the folder
breakdown. You can still view all the same stats!
</Form.Text>
</Form.Group>
<Form.Group>
<Form.Label>Preferred Ranking</Form.Label>
<Form.Control
as="select"
id="preferredRanking"
value={formik.values.preferredRanking}
onChange={formik.handleChange}
>
<option value="global">Global Rankings</option>
<option value="rival">Rival Rankings</option>
</Form.Control>
<Form.Text className="text-muted">
What should {TachiConfig.name} default to when showing your score rankings?
What should {TachiConfig.name} default to showing you about folders?
</Form.Text>
</Form.Group>
{settings.rivals.length !== 0 && (
<Form.Group>
<Form.Label>Preferred Ranking</Form.Label>
<Form.Control
as="select"
id="preferredRanking"
value={formik.values.preferredRanking}
onChange={formik.handleChange}
>
<option value="global">Global Rankings</option>
<option value="rival">Rival Rankings</option>
</Form.Control>
<Form.Text className="text-muted">
What should {TachiConfig.name} default to when showing your score rankings?
</Form.Text>
</Form.Group>
)}
<Form.Group>
<Form.Label>Preferred Table</Form.Label>
<Form.Control
@@ -262,7 +261,7 @@ function PreferencesForm({ reqUser, game, playtype }: UGPT) {
))}
</Form.Control>
<Form.Text className="text-muted">
What folders would you like to see when you go to the folders page by default?
What folders would you like to see by default?
</Form.Text>
</Form.Group>
{game === "iidx" && (
@@ -572,13 +571,13 @@ function ManageAccount({ reqUser, game, playtype }: UGPT) {
<Col xs={12}>
<h4>Delete Score</h4>
If you have an invalid score, you can delete it by going to that score and clicking
"Manage Score".
"Delete Score".
</Col>
<Col xs={12} className="mt-8">
<h4>Undo Import</h4>
If you messed up an import, you can undo it by going to{" "}
<Link to={`/u/${reqUser.username}/imports`}>your imports page</Link> and click
"Manage Import".
"Revert Import".
</Col>
<Col xs={12} className="mt-8">
<h3>Completely Wipe Profile</h3>