Skip to content

Commit bb32757

Browse files
committed
refactor: rename Results to Timesheet
It is more inline with the terminology of the community.
1 parent 8543014 commit bb32757

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/app-routes.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { Friends } from "./views/friends";
55
import { History } from "./views/history";
66
import { Live } from "./views/live";
77
import { Readme } from "./views/readme/readme";
8-
import { Results } from "./views/results";
98
import { SymbolButton } from "./domains/ui/components/buttons/symbol-button";
109
import { TimeTrialPlayer } from "./domains/time-trial/components/time-trial-player";
10+
import { Timesheet } from "./views/timesheet";
1111
import { ValibotImportButton } from "./domains/database/components/valibot-import-button/valibot-import-button";
1212
import { WorldRecords } from "./views/world-records";
1313
import { css } from "@emotion/css";
@@ -49,7 +49,7 @@ export const AppRoutes: Component = () => {
4949
<header>
5050
<nav class={sNav}>
5151
<A href="/live">Live</A>
52-
<A href="/results">Results</A>
52+
<A href="/timesheet">Timesheet</A>
5353
<A href="/world-records">World Records</A>
5454
<A href="/history">History</A>
5555
<A href="/friends">Friends</A>
@@ -81,7 +81,7 @@ export const AppRoutes: Component = () => {
8181
return (
8282
<Route component={AppWrapper}>
8383
<Route path="live" component={Live} />
84-
<Route path="results" component={Results} />
84+
<Route path="Timesheet" component={Timesheet} />
8585
<Route path="world-records" component={WorldRecords} />
8686
<Route path="history" component={History} />
8787
<Route path="friends" component={Friends} />

src/domains/attempt/components/attempts-comparison-table/vertical-attempts-comparison-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const VerticalAttemptsComparisonTable: Component<AttemptsComparisonTableP
146146
</Show>
147147

148148
{/* Line */}
149-
<Cell column={GRID_FULL_COLUMN} text={`TimeSheet (${props.timeRecordsSum.trackCount} tracks)`} css={sTitle} />
149+
<Cell column={GRID_FULL_COLUMN} text={`Timesheet (${props.timeRecordsSum.trackCount} tracks)`} css={sTitle} />
150150

151151
{/* Line */}
152152
<Cell column={GRID_FULL_COLUMN} text={props.timeRecordsSum.time} css={sTime} />
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const sTime = cellCss({
2222
mono: true,
2323
});
2424

25-
export const Results: Component = () => {
25+
export const Timesheet: Component = () => {
2626
const personal = usePersonalRepository();
2727
const { setTitle } = usePageTitle();
2828
const { filtered, AttemptsFilter } = useAttemptsFilter({
@@ -33,7 +33,7 @@ export const Results: Component = () => {
3333
});
3434

3535
onMount(() => {
36-
setTitle("Results");
36+
setTitle("Timesheet");
3737
});
3838

3939
return (
@@ -42,12 +42,12 @@ export const Results: Component = () => {
4242
<AttemptsFilter />
4343
<GridColumn class={sGrid} template="repeat(3, auto)" spacing="small" yAlign="center">
4444
<VerticalDivider row={2} />
45-
<Cell text="TimeSheet (PB)" />
45+
<Cell text="Timesheet (PB)" />
4646
<Cell
4747
text={`${personal.getTimeRecordsSum().time} (${personal.getTimeRecordsSum().trackCount} tracks)`}
4848
css={sTime}
4949
/>
50-
<Cell text="TimeSheet (BPS)" />
50+
<Cell text="Timesheet (BPS)" />
5151
<Cell
5252
text={`${personal.getSplitRecordsSum().time} (${personal.getSplitRecordsSum().trackCount} tracks)`}
5353
css={sTime}

0 commit comments

Comments
 (0)