-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from Shinsina/jankity-jank
Shared subsessions page and underline links
- Loading branch information
Showing
22 changed files
with
531 additions
and
283 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,11 @@ | ||
--- | ||
import SessionResults from "$lib/components/subsession/session-results.astro"; | ||
import keysToDisplay from "$lib/utils/race-session-keys-to-display"; | ||
import type { Session } from "$lib/types"; | ||
interface Props { | ||
session: Session; | ||
} | ||
const { session } = Astro.props; | ||
const keysToDisplay = new Set([ | ||
"cust_id", | ||
"display_name", | ||
"finish_position", | ||
"finish_position_in_class", | ||
"laps_lead", | ||
"laps_complete", | ||
"interval", | ||
"class_interval", | ||
"average_lap", | ||
"best_lap_num", | ||
"best_lap_time", | ||
"reason_out", | ||
"champ_points", | ||
"drop_race", | ||
"club_points", | ||
"starting_position", | ||
"starting_position_in_class", | ||
"car_class_short_name", | ||
"club_shortname", | ||
"division_name", | ||
"old_license_level", | ||
"old_cpi", | ||
"oldi_rating", | ||
"new_license_level", | ||
"new_cpi", | ||
"newi_rating", | ||
"incidents", | ||
"car_name", | ||
"aggregate_champ_points", | ||
]); | ||
--- | ||
|
||
<SessionResults {session} {keysToDisplay} /> |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export default new Set([ | ||
"cust_id", | ||
"display_name", | ||
"finish_position", | ||
"finish_position_in_class", | ||
"laps_lead", | ||
"laps_complete", | ||
"interval", | ||
"class_interval", | ||
"average_lap", | ||
"best_lap_num", | ||
"best_lap_time", | ||
"reason_out", | ||
"champ_points", | ||
"drop_race", | ||
"club_points", | ||
"starting_position", | ||
"starting_position_in_class", | ||
"car_class_short_name", | ||
"club_shortname", | ||
"division_name", | ||
"old_license_level", | ||
"old_cpi", | ||
"oldi_rating", | ||
"new_license_level", | ||
"new_cpi", | ||
"newi_rating", | ||
"incidents", | ||
"car_name", | ||
"aggregate_champ_points", | ||
]); |
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 |
---|---|---|
@@ -1 +1 @@ | ||
export default [300752, 815162] | ||
export default [300752, 815162]; |
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
Oops, something went wrong.