Commit Graph

56 Commits

Author SHA1 Message Date
Kalle
9e625611dc Ensure patrons in footer aren't taking too much space Closes #1388 2023-06-17 11:29:41 +03:00
Zen
fe5d4a9f03
Fix the Sidenav hidden issue (#1386)
* 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>
2023-06-14 23:32:24 +03:00
Kalle
ef78d3a2c2
Tournament full (#1373)
* 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
2023-05-15 22:37:43 +03:00
Kalle
6a52e87a38 Revert "Side nav labels on hover (#1290)"
This reverts commit 6e839c6c2d.
2023-03-18 10:49:06 +02:00
Justin
6e839c6c2d
Side nav labels on hover (#1290)
* 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>
2023-03-14 20:17:39 +02:00
Kalle
6a55bceaf0 VoDs 3 in same row Closes #1300 2023-03-07 21:42:51 +02:00
William Lam
26e0a79d9a
Fixed copyright note so that it does not overlap other UI elements horizontally at high zoom levels (#1277) 2023-02-26 11:34:07 +02:00
Kalle
c819711164 Test page adjustments 2023-02-05 14:43:36 +02:00
Kalle
ae02fde8d5 Add link to footer 2023-02-05 14:16:30 +02:00
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Kalle
6feb269193
Full tournament feature WIP (#1196)
* 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
2022-12-21 23:24:59 +02:00
Kalle
26e43b2ead Restore light mode 2022-12-08 21:29:51 +02:00
Kalle
4adb15af49 Fix PWA main padding 2022-12-07 18:28:33 +02:00
Kalle
3f013bd38b Fix front page horizontal overflow
Closes #1183
2022-12-06 14:59:15 +02:00
Kalle
abc6fded7b Use safe-area env var for PWA header top padding 2022-12-06 14:53:46 +02:00
Kalle
1e3832944f PWA 2022-12-06 14:18:20 +02:00
Kalle
ed05120647 Narrower patron section not to overlap with side nav 2022-12-06 13:00:52 +02:00
Kalle
847c573da5 Background color for header popovers 2022-12-05 20:13:08 +02:00
Kalle
8c6a5e67a0 Make "sendou.ink" never show ellipsis 2022-12-05 18:49:27 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* 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
2022-12-05 16:05:51 +02:00
Kalle
bb722b225f Move all immutable assets to one folder
Closes #918
2022-11-26 16:33:43 +02:00
Kalle
fd390f3fc3 Move menu up 2022-11-16 19:36:07 +02:00
Kalle
ffe5839635 Add copyright note
Closes #1103
2022-11-09 00:24:50 +02:00
Kalle
6a9efbdd17 Upgrade deps 2022-10-19 23:14:35 +03:00
Kalle
492977f45c Add logo with link to front page 2022-09-26 21:21:00 +03:00
DoubleCookies
cf9df3b28c outline for tabbed lang buttons 2022-09-13 15:14:01 +03:00
Kalle
1a34a39359 Language switcher toggle 2022-09-05 21:10:57 +03:00
Kalle
561bca818f Top nav header new place for page title
Closes #910
2022-09-05 15:54:38 +03:00
Kalle
db0878c3ab Add color mode toggle
Closes #830
2022-09-04 15:23:59 +03:00
Kalle
8564c990ef Merge branch 'rewrite' of github.com:Sendouc/sendou.ink into calendar 2022-07-31 14:41:59 +03:00
Kalle
e47391a0bb Implement TagsSelector 2022-07-30 11:55:57 +03:00
Kalle
dcd0918bce Fix menu overflow on Safari
Closes #835 hopefully for real this time
2022-07-29 23:57:44 +03:00
Kalle
c3c43c1943 Use transform for menu animation
Closes #827 Closes #835
2022-07-29 23:30:15 +03:00
Kalle
db0bc1f102 Events layout initial 2022-07-23 13:21:51 +03:00
Kalle
8eeaa44d8b Footer fix alignment on mobile 2022-07-13 00:21:14 +03:00
Kalle
6f26cdb9c8 Footer mobile style 2022-07-11 23:38:25 +03:00
Kalle
2a33b2cefc Footer tweaks 2022-07-11 21:18:57 +03:00
Kalle
4b8eecc2c9 Footer desktop initial 2022-07-11 16:11:09 +03:00
Kalle
539f72a48f Background for menu icons as well 2022-07-02 11:13:41 +03:00
Kalle
e72df27613 Rename MobileMenu -> Menu 2022-07-02 10:34:28 +03:00
Kalle
3154535e39 Tiny menu 2022-07-02 00:33:12 +03:00
Kalle
4df089573e Remove desktop menu 2022-06-30 17:41:58 +03:00
Kalle
8329c28837 Show current page in header 2022-06-29 00:57:38 +03:00
Kalle
65aaa54a70 Remove unused pageTitle 2022-06-18 15:53:53 +03:00
Kalle
5abb49e2fc Remove SearchInput 2022-06-18 01:04:23 +03:00
Kalle
e5617d095e Get rid of unneeded element in MobileMenu 2022-06-11 10:49:20 +03:00
Kalle
300b4599f9 Comment modal UI 2022-05-26 16:47:50 +03:00
Kalle
2e7bb5706d User page bio 2022-05-17 21:40:55 +03:00
Kalle
185295d54e
User page initial with SQLite3 (#822)
* Clean away prisma migrations

* Way to migrate WIP

* SQLite3 seeding script initial

* Fetch tournament data in loader

* CheckinActions new loader data model

* Virtual banner text color columns

* Logged in user

* Count teams

* ownTeam

* Map pool tab fully working

* Teams tab

* Fix timestamp default

* Register page

* Manage team page

* Camel case checkedInTimestamp

* Clean slate

* Add .nvmrc

* Add favicon

* Package lock file version 2

* Update tsconfig

* Add Tailwind

* Add StrictMode

* Add background color

* Auth without DB

* Revert "Add Tailwind"

This reverts commit 204713c602.

* Auth with DB

* Switch back to tilde absolute import

* Import layout

* Camel case for database columns

* Move auth routes to folder

* User popover links working

* Import linters

* User page initial

* User edit page with country

* Script to delete db files before migration in dev

* Remove "youtubeName" column

* Correct avatar size on desktop

* Fix SubNav not spanning the whole page

* Remove duplicate files

* Update README
2022-05-16 17:52:54 +03:00
Kalle
03da81a84c
New navigation (#821)
* Menu skeleton

* Menu with nav icons

* Menu opens and closes

* More menu icons + links work

* Menu closes on navigation

* Blurred menu

* Remove other nav

* Rounded nav

* Fix menu alignment for Safari

* Close on click outside

* Disable body scroll when menu open

* SubNav for tournament

* Use grid

* Make images same size again

* Remove comment

* Different style mobile nav

* Readd InfoBanner elements

* Move menu css to layout.css

* Move admin command input top left

* Page title from loader

* Fix error when getting pageTitle

* Fix CI
2022-04-30 11:10:09 +03:00