-
-
Notifications
You must be signed in to change notification settings - Fork 22
More ranks and version updates #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,8 @@ export const getTierGradient = (index: number, tiersLength: number): string => { | |
| return `var(--tier-gradient-${[0, 2, 4][index % 3]})`; | ||
| case 6: | ||
| return `var(--tier-gradient-${[0, 1, 3, 4, 6][index % 5]})`; | ||
| case 10: | ||
| return `var(--tier-gradient-${[0, 1, 2, 2, 3, 4, 5, 5, 6][index % 9]})`; | ||
|
Comment on lines
+28
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Editor and OG palettes diverge for 9-row templates. Lines 28-29 still map 10-tier layouts onto gradient slots Please drive both 🤖 Prompt for AI Agents |
||
| default: | ||
| return `var(--tier-gradient-${tierGradientIndexMap[index % 7]})`; | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new 9-row template option isn’t covered by the existing Playwright regression tests. Consider adding a UI test that selects "9 Rows" and asserts the tier list renders 9 ranked rows + uncategorized (and/or updates the snapshot) to prevent regressions in the selector wiring and template application.