Skip to content

Svelte conversion - Info tab#828

Merged
plural merged 10 commits into
Null-Signal-Games:mainfrom
rlankin:svelte_conv_info
Jul 1, 2026
Merged

Svelte conversion - Info tab#828
plural merged 10 commits into
Null-Signal-Games:mainfrom
rlankin:svelte_conv_info

Conversation

@rlankin

@rlankin rlankin commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Much of the information on this tab was redundant with the Tournament tab, so the Info tab has been removed and any non-redundant information was moved to the Tournament tab. This is an otherwise straightforward conversion. Noteworthy things:

  • The marked library has been added in order to render Markdown in Svelte and DOMPurify has been added to safely display it.
  • I added the names of the official prize kit, format, and deck building restriction to the object returned by the /api/v1/public/tournament endpoint. I added them at the top level of the object instead of creating properly nested objects for each because of how simple they are, but I can change this if need be.
  • I added the swissFormatDisplayString() convenience function to consolidate how the strings "Single-sided" and "Double-sided" are transformed.
  • Attempting to navigate to the Info tab while in beta mode redirects to the Tournament tab.
image

@plural plural merged commit e880c59 into Null-Signal-Games:main Jul 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants