* Set up tables
* Initial
* Frontend for finalize tournament
* Enter summaries to DB
* Handle changes on tournament page after tournament is finalized
* Fix streams tab text not centered
* Add translations
* Results on user page
* Highlight logic for tournament results
* Leaderboard page initial
* Team leaderboard
* CSS tweaks
* Add unit tests
* Add some i18n
* Add leaderboards page meta
* Support tournaments of size 2
* Add E2E test
* Add missing group by
* Fix the sidebar links hidden issue
* another solution, detect overflow with client-side javascript
* Optimize the code
* Revert to use solution 1
This reverts commit 96a6c13e6c.
* Adjust padding slightly
---------
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Build filters WIP
* Move builds to feature folder
* Move stuff to builds feature folder
* Working filters
* AP values as dropdown
* Should revalidate logic
* Remove debounce
* Fix main ability filter not working by default
* Persist filters to search params
* Disable button if too many filters
* Stack on mobile
* Abilities in i18n json
* Ability icon in filter
* Add i18n
* E2E test
* Remove done todo
* WIP
* Query
* Backend for team page done
* UI function made
* UI work
* Tweaks
* Fix showing players from own team
* Optimize performance
* Inactive players styling
* Stage popover
* Got something going
* Style overwrites
* width != height
* More playing with lines
* Migrations
* Start bracket initial
* Unhardcode stage generation params
* Link to match page
* Matches page initial
* Support directly adding seed to map list generator
* Add docs
* Maps in matches page
* Add invariant about tie breaker map pool
* Fix PICNIC lacking tie breaker maps
* Only link in bracket when tournament has started
* Styled tournament roster inputs
* Prefer IGN in tournament match page
* ModeProgressIndicator
* Some conditional rendering
* Match action initial + better error display
* Persist bestOf in DB
* Resolve best of ahead of time
* Move brackets-manager to core
* Score reporting works
* Clear winner on score report
* ModeProgressIndicator: highlight winners
* Fix inconsistent input
* Better text when submitting match
* mapCountPlayedInSetWithCertainty that works
* UNDO_REPORT_SCORE implemented
* Permission check when starting tournament
* Remove IGN from upsert
* View match results page
* Source in DB
* Match page waiting for teams
* Move tournament bracket to feature folder
* REOPEN_MATCH initial
* Handle proper resetting of match
* Inline bracket-manager
* Syncify
* Transactions
* Handle match is locked gracefully
* Match page auto refresh
* Fix match refresh called "globally"
* Bracket autoupdate
* Move fillWithNullTillPowerOfTwo to utils with testing
* Fix map lists not visible after tournament started
* Optimize match events
* Show UI while in progress to members
* Fix start tournament alert not being responsive
* Teams can check in
* Fix map list 400
* xxx -> TODO
* Seeds page
* Remove map icons for team page
* Don't display link to seeds after tournament has started
* Admin actions initial
* Change captain admin action
* Make all hooks ts
* Admin actions functioning
* Fix validate error not displaying in CatchBoundary
* Adjust validate args order
* Remove admin loader
* Make delete team button menancing
* Only include checked in teams to bracket
* Optimize to.id route loads
* Working show map list generator toggle
* Update full tournaments flow
* Make full tournaments work with many start times
* Handle undefined in crud
* Dynamic stage banner
* Handle default strat if map list generation fails
* Fix crash on brackets if less than 2 teams
* Add commented out test for reference
* Add TODO
* Add players from team during register
* TrustRelationship
* Prefers not to host feature
* Last before merge
* Rename some vars
* More renames
* Remove friend code
* Revive TO Tools admin page
* Revive TO Tools maps page
* Initial one mode only map list
* Add modesIncluded arg
* Handle no maps picked for SZ only generation
* Tiebreaker is always from the maps of the teams
* Make modesIncluded necessary arg
* Tiebreaker is from neither team's pool if no overlap
* Handles worst case duplication
* Handles one team submitted no maps test
* Fix crash
* Seed
* Can change one mode tournament map pool
* Fix join page link
* Remove useless TODO
* Fixes related to mapListGeneratorAvailable
* Fix map list generation considering impossible map lists making it take forever
* Show unlisted select for both sides
* Add info texts
* Remove register button
* Add todos
* Finished version for ITZ
* Times
* Remove TODOs
* 23->24
* Read in x rank placements script
* Xsearch initial
* XSearch initial
* XSearch with select
* Add badges
* XSearch player page initial
* Consider only one build by user for popular builds Closes#1312
* Revert "Side nav labels on hover (#1290)"
This reverts commit 6e839c6c2d.
* Added and fixed DAnish translations (#1315)
* Added Danish translations
Added Danish translations for the builds.json file.
Translations for the following variables have been added
stats.count.title # used the Danish word for "average" instead of "stats", as it makes more sense in Danish.
stats.ap.title
stats.percentage.title
stats.all
linkButton.abilityStats
linkButton.popularBuilds
noPopularBuilds
* Added Danish translations
Added Danish translations in the calander.json file
tag.desc.SZ
tag.desc.TW
tag.desc.S1
tag.desc.S2
tag.desc.SR
tag.desc.CARDS
* Added Danish translations
Added Danish translations in the common.json file
The following translations have been added
pages.vods
tag.name.SZ
tag.name.TW
tag.name.S1
tag.name.S2
tag.name.SR
tag.name.CARDS
* Added Danish translations in the faq.json file
Added the following Danish translations in the faq.json file
q7
a7
* Updated the DA/game-misc.json file
Added the names for the 3.0 maps.
* Added Danish translation for team.json
Added the following Danish translations for team.json file
- roles.MIDLINE
Fixed the following translation for the team.json file
- "roles.FRONTLINE": # fixed a typo
* Created a vods.json file for the Danish trans
* Fixed typo
Fixed the following translation in the Da\contributions.json file
"yaga" # fixed a Typo of "våben"
* Add Chinese Translation (#1314)
* Update contributions.json
* Update contributions.json
* Update faq.json
* Update user.json
* Create team.json
* Update common.json
* Update analyzer.json
* Prettier
* Prettier
* Prettier
* Update builds.json
* Update calendar.json
* Update common.json
* Update faq.json
* Update team.json
* Create vods.json
* Admin link player action
* Make PlacementTable rounded if only child
* Fix arrow disappeared
* Placements on user page initial
* Remove S2 site link
* Add badge
* Add feature to README
* Fix type error
* Different badge text if XP badge
* Add badge winners script
* Better user avatar + name wrapping for mobile
* Allow script to skip users
* Fix bad align when no weapons in weapon pool
* Add aliases to player name
* Add division icon to placements table
* Link to user page
* Link to xsearch on player details page
* Top 500 icons to user build page
* Working query but slow for weapons page
* Fix lint complaints
* Add cache to builds
* Remove useless SWR value
* Group months in xsearch
* Add xsearch to nav
* Add meta
* Remove TW for now
* Add splatoon3.ink as contributor
* Remove unneeded TODO
* Fix TODOs related to fetching monthYears
* Add FAQ question
* Leaderboards to nav
* Fix sploosh build stat pages returning 404
* Add badge
* Add article
* Patch 3.1
* Fix Prettier issue
* Add badge
* Add April SR gear
* Add badges
* Rename badge
* Add badge
* Add zh badge translation (#1322)
* Splatoon Competitive Guide article (#1316)
* Create splatoon-competitive-guide.md
* Update splatoon-competitive-guide.md
* Fix ToC Issues
* Update splatoon-competitive-guide.md
* Update splatoon-competitive-guide.md
* Update splatoon-competitive-guide.md
* Corrections
* Formatting
---------
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Fix typos
* Rename table and adjust columns
* Make cache ttl 0 in dev
* Make placements container a bit nicer for mobile
* Rename leftover xxx
* Placements script allow passing number as arg
* Skip leaderboards for now
* Add translations
* Rename placements folder to top-search
* Add placements to seed
* Add E2E tests
* Read in x rank placements script
* Xsearch initial
* XSearch initial
* XSearch with select
* XSearch player page initial
* Admin link player action
* Make PlacementTable rounded if only child
* Fix arrow disappeared
* Placements on user page initial
* Fix bad align when no weapons in weapon pool
* Add aliases to player name
* Add division icon to placements table
* Link to user page
* Link to xsearch on player details page
* Top 500 icons to user build page
* Working query but slow for weapons page
* Fix lint complaints
* Add cache to builds
* Remove useless SWR value
* Group months in xsearch
* Add xsearch to nav
* Add meta
* Remove TW for now
* Add splatoon3.ink as contributor
* Remove unneeded TODO
* Fix TODOs related to fetching monthYears
* Add FAQ question
* Leaderboards to nav
* Fix sploosh build stat pages returning 404
* Rename table and adjust columns
* Make cache ttl 0 in dev
* Make placements container a bit nicer for mobile
* Rename leftover xxx
* Placements script allow passing number as arg
* Skip leaderboards for now
* Add translations
* Rename placements folder to top-search
* Add placements to seed
* Add E2E tests
* Rename url variable and unify
* Tweaks
---------
Co-authored-by: Frederik <112972665+FrederikFraJylland@users.noreply.github.com>
Co-authored-by: Gell <61431488+gellneko@users.noreply.github.com>
Co-authored-by: Zen <99558412+zenpk@users.noreply.github.com>
Co-authored-by: Teddi <83455454+teddinotteddy@users.noreply.github.com>
* updated names for tooltip flyout
* side tooltip text working
* tooltip text on side nav wrkng, using common names
* updated styles for playwright
* passing all css lint tests
* changed side nav to width:20%
* adjusted z-index on badge page for nav tooltip
* updated clickable "hitbox"
* Styling
---------
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* YouTube lite embed + CSS bundled import
* Migration initial
* New VoD page initial functioning
* Table changes + add TODOs
* New structure for add vod page
* WIP add new VoD backend
* Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods
* Fix when leaderboard appears
* Function new vod form
* Single vod page initial
* Different YouTubeEmbed
* Scroll to top when going to timestamp
* Vod match weapon/mode icons
* Vod page user
* Add date to vod page
* Adjust migration order
* Vod page many weapons
* Add title to vod page
* New vods page cast many weapons
* Add player index to order by
* Vods new more validation
* Vod listing page initial
* Vods page with filters
* Show message if no vods
* Fix not being to unset filters
* Fix seed sometimes throwing errors
* User page VoDs
* Vods nullable weapon combobox
* Link directly to user custom url from vod page
* Make video adder admin action
* Can add video checks
* i18n
* New VoD form tests
* VoD operates filters test
* Vods behind flag
* Remove from config
* Layout initial
* Add FillRosterSection component
* Move tournaments to feature folder
* Refactor Button props
* SubmitButton
* Register action
* Identifier -> Id
* Invite link via nanoid
* Team info submit
* Enter tiebreaker map list UI
* Invite members to tournament team initial
* Show banner if joined a team not captain of
* Add back teams page
* Change team roster size color when good
* Delete tournament team member
* Remove light mode
* Trim header
* New front page initial
* Get rid of build layout
* Breadcrumbs
* Desktop side nav
* Overhaul colors
* Add breadcrumbs
* New sub nav style
* Front page action buttons
* Add back add new build button
* Add articles page with icon
* Minor Object damage page layout tweaks
* Remove one unnecessary render from object damage
* Fix wrong link in article page
* Profile -> My Page in header
* Log in/out buttons in front
* Add drawings to front page
* Remove unnecessary comment
* Feature Implementation: Weapon icon on build card now links to the builds page that contains all builds corresponding to said weapon
* Refactor to an actual React hook
* Refactored the URL construction for the Weapon Builds page to urls.ts
* Changes
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Initial
* Add images
* Tweaks
* Proper sized bg image and weapons
* Stage bg picker
* Outlined weapon images for planner
* First version
* Lint
* Add alt and title to weapon
* Add DB tables
* Toggle TO Tools in new calendar event page
* TO tools page initial
* Add counter pick map pool UI
* Save tie breaker map pool
* Save team name
* Layout initial
* Load users own team
* Make team name input required
* Rename team
* Divide to sections
* Submit team map pool
* New style for counter pick map pool section expand
* Fix tiebreaker map pool not saved when new event made
* Split to many forms
* According for team name
* Small UI consistency tweaks
* Add explanation to tie breaker maps
* Remove redundant prop
* Fix new calendar event todos
* Use required hidden input component in new build page
* Fix to tools page showing even when toToolsEnabled = 0
* Delete team
* Map list generation tests initial
* Add tournament map list generation tests
* First version of map list generation
* Add seeded RNG
* Rearrange files
* Generation with strats initial
* Default map pool + allow one team not to have any maps
* Implement map generation via backtracking
* Make order of stages irrelevant
* Add one more TODO
* Seed
* Fixes
* Tournament map list generator initial
* More functional maplist
* Fix any
* Persist in search params initial
* Add date to calendar seed
* Revert "Persist in search params initial"
This reverts commit f01a9e6982.
* Allow admin to start tournament
* Rate maplist instead of optimal / suboptimal
* Add fallback if map list generation errors out
* Hide TO Tools if not admin
* Submit team roster and delete members
* Teams page
* Give roster s p a c e
* Clear user combobox on sent + layout tweaks
* Gracefully handle updating after tournament has started
* Add title
* Persist map list in search params
* Add i18n
* Issue 858: On the new calendar page adding a new Date entry with the "Add" button will now insert a new date with an offset of +24 hours of the previous row's date value.
* Added comment to ignore the TSLint "object can be null" error
* Changed `var` to `const`
* Fixed Prettier checks in CI pipeline
* Fixed Typecheck CI pipeline error
* Moved getDateWithHoursOffset() function to app/utils/dates.ts
* Added new line at end of file
* Added getValidNewDateIfInvalid() function. This retrieves a valid date. If invalid, get a new Date object.
- So now, if we intentionally/accidentally delete the data in the Calendar's DateInput element, it will be reset to the current Date/Time
* Refactored DateInput component's update state mechanism to be handled by an onChange() function defined in the parent component that is passed to the child
* Prettier formatting so that the new CI pipeline won't output errors at me
* Removed unused imported types
* Removed the datesCount React Hook & refactored accordingly
* Removed unused loader-related variables
* DateInput onChange prop is now optional
* Instead of generating a new Array, iterate over DateInput's inputState's array instead
* Fix potential undefined error
* DatesInputState: refactored to remove index & access the index during iteration with map() 2nd arg
* Properly initialized state for pre-existing events =)
- Also added TODO comments for improving date input handling (1082)
* Prettier formatting
* Uncommented console.warn()
* Touched up comment
* Passed a FUSE_OPTIONS object to the Fuse() object.
- We can now adjust how "strict" the search is.
* Refactored Combobox to accept an optional fuseOptions object as a prop
* Fixed fuseOptions prop data type & added a default initialized value of {}
- Moved the USER_COMBOBOX_FUSE_OPTIONS outside of the function
* Issue 1036: non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon
* Revert "Issue 1036: non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon"
This reverts commit a0de4e0047.
* Issue 1036: Non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon.
- Done correctly by conditionally choosing to render a <button /> or <div /> HTML element for ability icons everywhere Ability() was invoked by passing in readonly
* Removed stray console.warn() line, added a brief comment
* Removed unnecessary tabIndex adjustment for AbilityTag element if it is readonly (since it is no longer rendered as a button if it is readonly)
- We now also condtionally give type="button" to AbilityTag only if it is actually a button
* Conditionally set AbilitiesSelector's Ability JSX elements to readonly if the ability is "UNKNOWN"
* Fixed failed check for Prettier in CI pipeline
* Ability component now only chooses the readonly class if no onClick function is passed into it
- Exception: if the ability is "UNKNOWN", it will be forced to readonly
* Fixed Prettier error in CI pipeline
* Fixed Typecheck error in BuildCard.tsx
* Fixed Prettier CI pipeline error again
* Was checking for an undefined type incorrectly. Now the logic works properly
* Fixed Prettier error
* Cleaned up classname declaration syntax to React's shorthand
Planned to be replaced with Playwright maybe?
Just removing in the meanwhile so they don't confuse people.
Or that people won't accidentally develop new.
- Do not allow dragging an ability onto a slot that cannot accept that
ability.
- When dragging, dim slots that are not a valid target for the ability
currently being dragged.
- Do not make any changes to the existing click behavior to assign
abilities.
`<Ability/>` can now be tabbed through, and it now shares the same focus
outline, hover, and mousedown styles with `<AbilitiesSelector/>`. This
includes the `cursor: pointer` style that makes it more obvious that
this component is clickable like other buttons.
Fixes#894.