Commit Graph

130 Commits

Author SHA1 Message Date
inkfarer
3227378c5b
Maplist generator: Add option to display map pool as table (#632)
* Add a table view option to maplist generator

* Reduce duplicated code; Translate stage names in maplist generator

* Use cleaner logic for ignoring null rows in NewTable

* Formatting

* Extract map pool display into separate component

* Code cleanup

* MapPoolDisplay: Display 2 columns at once on narrow displays
2021-08-10 20:23:03 +03:00
Kalle
af3a654595
Customize profile colors (#603)
* Variables rearranged

* Make patron.json empty again

* Fix styles.css

* Working prototype

* Table legible color

* UI furthened

* Set opaque theme color with custom colors

* Control Color Selector with buttons

* Show info if can't edit colors

* borzoic can also edit colors

* Add migration

* Can send colors to backend

* Edit existing colors

* Use new layering strat for footer

* useMutation custom hook

* Footer adjusted text color

* Reset style after profile visit

* Set squid color after page load

* Mutate user after color selection
2021-07-29 20:30:47 +03:00
Kalle (Sendou)
6aee9bbd47 Get rid of useSelectStyles hook 2021-07-23 20:00:27 +03:00
Kalle (Sendou)
8111cf2431 Use CSS variables for theming closes #101 2021-07-23 19:52:50 +03:00
Igor
8b324993ad
Weapon aliases (#594)
* init aliases search

* split filter check; filter aliases by substring (not complete match)

* remove console.log

* move import

* Update weaponsAliases.ts

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2021-07-20 19:15:52 +03:00
Kalle
d462c6d0f8
/calendar new UI (#589)
* Initial

* Show popover for calendar items

* Remove event search

* Only show next button if events in the future

* Horizontal scroll

* Fix badges alignment

* Show badges for tournaments with them

* Showcase time until calendar date header in days

* Use Chakra UI for CSS

* Proper size calendar

* Restore inline styles for BadgeContainer

* Overflow auto works

* Show time badges
2021-07-18 16:48:46 +03:00
Kalle (Sendou)
9cfcfdeb56 New footer style 2021-06-27 21:46:26 +03:00
Kalle (Sendou)
0defb03260 Fix Eslint errors 2021-06-21 00:17:06 +03:00
Kalle (Sendou)
7b557afccf Run Prettier format 2021-06-20 19:58:40 +03:00
Kalle (Sendou)
7a7558629b Next.js Eslint fix errors 2021-06-20 19:52:05 +03:00
Igor
444c36c6ee
Scroll for code block (#559)
* wrap on code in markdown

* max-width with scroll
2021-06-19 17:09:58 +03:00
Igor
11b8652273
Sub and special weapons for markdown (#549)
* Add sub and special weapons emoji

* Markdown page new emojis info + Box for every block + same margins for blocks

* fix import
2021-06-18 00:52:58 +03:00
Igor
26ed50bce5
brand search (#541) 2021-06-12 21:28:54 +03:00
Kalle (Sendou)
77d869d81f Splatoon 3 page 2021-05-30 15:41:52 +03:00
Igor
668b2d73e7
New filters for builds page (#523)
* new filter for modes

* new filter for abilities

* prettifier

* fix imports

* fix margin + some things from pull request

* better fix for select

* MySelect default style + styles for selects on builds page.

* Remove duplicates, import default style from file
2021-05-28 17:10:50 +03:00
Kalle (Sendou)
9b675134e8 Remove TODO of resolved issue 2021-05-27 16:29:55 +03:00
Igor
8d37c91c17
Search weapons by sub or special (en-only) (#503)
* search by sub and special weapons

* check if data is null

* ..forgot about console log
2021-05-19 21:41:42 +03:00
Igor
5e3e3e188a
render p as div (#496) 2021-05-13 00:42:46 +03:00
Kalle (Sendou)
bbd78c875c ColorPicker use react-color's CirclePicker
Using native input is too inconsistent. Closes #463
2021-05-05 21:11:28 +03:00
Kalle
ed5f425a63
Western LB (#473)
* Migration

* Bot freeAgents API get profile updatedAt

* Add isJP script

* change scripts

* Make X peak leaderboard actual leaderboards

* update JP script

* Delete JP script
2021-05-01 18:12:04 +03:00
Kalle
d5766cba03
Leaderboards (#466)
* initial leaderboards

* end to end

* has ranks

* by mode

* add head
2021-04-30 18:57:33 +03:00
Igor
ec01fb30e3
Themed datepicker (#454)
* init commit for redesign

* css fix

* moving datepicker styles to styles.css + remove duplicate imports

* small fix

* ..and another
2021-04-29 12:33:11 +03:00
Igor
7bb2eecb5d
Saving maplist generator settings in URL (#448)
* start commit for saving params via URL

* fixes

* get and set mode values from url

* minor fix

* prettier run

* default params as constants
2021-04-29 11:56:58 +03:00
Kalle
89afd0e41d
Ladder initial with FAQ (#443)
* queries for play service

* seed ladder day

* seed ladder registered teams

* ladder day get for future

* seed add ladder matches

* extract RegisterTab component

* MyError / MySpinner

* tweaks

* FAQ tab

* add to faq

* stats tab

* tabs to search params

* tabs for mobile
2021-04-26 15:18:27 +03:00
Kalle
1589b84c4b
New layout (#427) closes #405
* side layout initial

* add elements to side nav

* side buttons links

* remove clog

* calendar page initial

* position sticky working

* x trends page initial

* new table

* same mode selector

* mobile friendly table

* no underline for nav links

* xsearch

* x trends page outlined

* sr initial

* relocate calendar components

* calendar fix flex

* topnav fancier look

* layout looking good edition

* relocate xtrends

* xtrends remove linecharts

* x trends new

* calender page new

* delete headbanner, new login

* remove calendar stuff from api

* rename stuff in utils

* fix user item margin

* new home page initial

* remove page concept

* no pointer xtrends

* remove xrank from app

* xtrends service

* move fa from app

* move plus

* maps tweaks

* new table for plus history

* navigational sidebar flex tweaks

* builds page

* analyzer

* user page

* free agents

* plans

* remove mx

* tweaks

* change layout to grid

* home page finalized

* mobile nav

* restrict main content width

* tweaks style

* language switcher

* container in css

* sticky nav

* use duplicate icons for now

* change mapsketch width to old

* chara tour vid

* borzoic icons
2021-04-21 17:26:50 +03:00
Igor
225b3ac9ed
UsersSelector - search via twitter (#413)
* move filteroption in props, userselector update

* revert test changes

* small fix + refactoring
2021-04-15 11:04:15 +03:00
Brandon Shackelford
81a2f50e24
Add title to ability icon as helper text (#402)
* Add title to ability icon as helper text

* use prisma type

* fix type errors

Co-authored-by: Kalle (Sendou) <38327916+Sendouc@users.noreply.github.com>
2021-04-11 02:12:19 +03:00
Kalle
a812561a83
Free agent filters + free agents inside app (#401)
* new location

* free agents modal use trpc

* extract components from FreeAgentsPage

* trpc for likes

* unify naming

* extract filters component

* top 500 filter

* plus server membeship filter

* weapon filter

* all filters implemented

* reset filters

* filters final look

* filters from query params

* fetch fa posts statically
2021-04-10 15:19:09 +03:00
Igor
6c6050d064
custom filter option (#397) 2021-04-09 15:24:32 +03:00
dependabot[bot]
cdad7d9598
Bump react-markdown from 4.3.1 to 5.0.3 (#374)
* Bump react-markdown from 4.3.1 to 5.0.3

Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 4.3.1 to 5.0.3.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/v4.3.1...5.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

* add github style md parser

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kalle (Sendou) <38327916+Sendouc@users.noreply.github.com>
2021-04-07 12:00:58 +03:00
Kalle (Sendou)
a547608615 use system font and closes #283 2021-04-06 13:28:37 +03:00
Igor
70db820d28
Fix for WeaponSelector in Firefox (#363)
* fix for firefox

* There is no need in placeholder - we can just don't render img if there is no weapon

* early return

Co-authored-by: Kalle (Sendou) <38327916+Sendouc@users.noreply.github.com>
2021-04-06 11:08:20 +03:00
Igor
fe6f2fea7d
Font-family for headings (#358)
* Rubik for all headings

* Font for headings
2021-04-05 20:30:06 +03:00
Igor
3d1ba001bc
weaponSelector correct value + locales update (#348) 2021-04-02 20:54:10 +03:00
Kalle (Sendou)
f9f9f8da47 non-native date picker 2021-04-02 19:54:59 +03:00
Kalle (Sendou)
f819816691 Merge branch 'main' of https://github.com/Sendouc/sendou.ink into main 2021-04-02 19:16:03 +03:00
Kalle (Sendou)
ab9b38c381 calendar event tests 2021-04-02 18:39:25 +03:00
Igor
10951fe39e
Maplist generator: Custom Order (#346)
* new select for multiple modes

* add custom order generation

* remove log + better select position

* little optimization

* import fix

* add icons for modes in select

* pretty

* rename variable

* import replace

* arrow function

* render only if selected

* Update pages/maps.tsx

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2021-04-02 15:46:08 +03:00
Kalle (Sendou)
6153bfb968 fixes #310 2021-03-28 02:15:46 +02:00
Kalle (Sendou)
a0445f3631 fix weapon selector 2021-03-28 01:17:14 +02:00
Kalle (Sendou)
dd9a00f78b can send event 2021-03-27 13:57:12 +02:00
Kalle (Sendou)
f81f56a3a4 date picker component 2021-03-26 20:50:43 +02:00
Kalle (Sendou)
29d1a9f68f uninstall chakra-icons 2021-03-23 12:21:58 +02:00
Kalle (Sendou)
4c16006eff minimize flashing avas 2021-03-19 10:20:51 +02:00
Kalle (Sendou)
1412beb6c4 markdown open links to new window 2021-03-19 09:53:04 +02:00
Kalle (Sendou)
f984b91602 use flag images instead of emojis (fixes windows) 2021-03-13 20:50:46 +02:00
Kalle (Sendou)
dff31cdfc7 rename lib -> utils 2021-03-08 17:48:05 +02:00
Kalle
0376811834 new header style 2021-02-26 09:49:46 +02:00
Kalle
94bda2e1b0 suggestion frontend 2021-02-22 13:45:55 +02:00
Kalle
30fd61de81 plus history ui table 2021-02-20 17:40:39 +02:00