Commit Graph

3893 Commits

Author SHA1 Message Date
Kalle
84e9c0cf8e Fix nested <main /> 2022-12-05 16:33:33 +02:00
Kalle
51bebe00c8 Theme color to bg color 2022-12-05 16:32:14 +02:00
Kalle
4f7c3c6110 Build: Theme color for icon 2022-12-05 16:32:08 +02:00
Kalle
a9701f874f Analyzer: Add sub weapon ink consumption stat 2022-12-05 16:17:26 +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
dacc475efb Add 2.0 maps 2022-12-05 11:25:13 +02:00
Kalle
535ec3c416 Remove test image 2022-12-05 00:13:48 +02:00
William Lam
29682e52d8
Fixed Calendar WeekLink element CSS styling (#1164)
* Fixed Calendar WeekLink element CSS styling by adjusting height & min-height dynamically

* Fixed lint error

* Adjusted min-height to match that of the live version of the site
2022-12-05 00:07:42 +02:00
CardBoardBoss
60b1ca9e26
Object DMG AP UI Relocated and Icons For AP Effects (#1174)
* UI Relocated and Icons For AP Effects

The UI for AP has been moved  over the damage receivers that receive its effects

* Ran Lint Tests

* Updated damage calc UI to pass remaining tests
2022-12-05 00:02:35 +02:00
dependabot[bot]
3070bac7f4
Bump decode-uri-component from 0.2.0 to 0.2.2 (#1175)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-04 23:50:03 +02:00
Kalle
6908fa10a0 Build Analyzer: Fix untranslated weight class 2022-12-03 02:29:28 +02:00
Kalle
0affb028a0 Build Analyzer: Big ink tank to CJR 2022-12-03 02:09:18 +02:00
Kalle
938a208698 Fix CI 2022-11-30 22:29:23 +02:00
Kalle
ffc92bdbce Chill Season 2022 update (2.0) 2022-11-30 22:24:56 +02:00
Gell
14a929cfb2
Update Chinese translation (#1173)
* Update analyzer.json

* Update calendar.json

* Update common.json

* Update contributions.json

* Update common.json

* Update faq.json

* Update front.json

* Update tournament.json
2022-11-29 21:58:51 +02:00
Igor
6df9257b20
Ru-translation (tournaments + planner) (#1171)
* tournaments translation by yaga, other updates by DblCookies
2022-11-28 23:25:20 +03:00
William Lam
fe65b42d9f
BuildCard: Link to weapon builds page (#1167)
* 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>
2022-11-27 17:46:10 +02:00
Frederik
3b7a46f27b
Update Danish translations (#1168)
* Added Danish translations for planner

Added Tanslations for the following lines in the common.json file.

pages.plans
actions.setBg
plans.poweredBy

* Added Danish translations for contributions

Added translations for the following lines in the contributions.json file.
code
twig

fixed wrong translations in the following lines
borzoic #The first letter was uncapitalised and the translations used English words instead of Danish.

* Added Danish translations

Added translations in the front.json file 
plans.description

Changed translation or changed formating in the front.json file of the following lines
-  calendarGoTo (Added a dot)
- plus.description (added a dot)
- "badges.description" (changed translation in order to make it more compact)
- "maps.description (added a dot)
- "recentWinners" (Changed translation to make it a more faithfull translation)

* Added Danish translations

Added Danish translations in the tournament.json file.

added
- "preview": "Se forhåndsvisning af banelistegeneratoren (kun for admins)",
- admin.download
 - admin.download.discord
2022-11-27 17:00:33 +02:00
Kalle
47899b5bf2 Calendar: Add feature to delete an event
Closes #1121
2022-11-26 18:17:57 +02:00
Kalle
2067e8f7a7 Build Analyzer: Highlight when section/card active 2022-11-26 17:38:17 +02:00
Kalle
1648e28ba9 BuildCard: Better title wrapping and alignment
Closes #1163
2022-11-26 17:08:00 +02:00
Kalle
bbf0e9a034 BuildCard: Move mode icons inside popup 2022-11-26 16:42:20 +02:00
Kalle
bb722b225f Move all immutable assets to one folder
Closes #918
2022-11-26 16:33:43 +02:00
Kalle
2fc3136a35 Upgrade deps 2022-11-24 00:50:07 +02:00
Kalle
aef8ac5f61 Fix build pages not loading required i18n json 2022-11-24 00:17:05 +02:00
Kalle
a0414ee98a Upgrade to Node 18
Closes #1106
2022-11-24 00:14:56 +02:00
Kalle
3b418be3fb Planner: Add link to go back to home page
Closes #1153
2022-11-23 22:12:40 +02:00
Kalle
0e7371d125 Fix checks 2022-11-23 21:53:36 +02:00
Kalle
54dd5a63da Update Danish translation 2022-11-23 21:37:00 +02:00
Kalle
78d55fc896 Switch to renderToPipeableStream API
Closes #1152

Did something weird to remove errors on /plans
2022-11-23 21:33:46 +02:00
Kalle
6061c9672a Fix nanoid warning by replacing it with own function
Closes #1160
2022-11-23 21:15:42 +02:00
Kalle
14df9359ac Document adding new article
Closes #1151
2022-11-23 20:52:10 +02:00
Kalle
acffb83997 Add SOS and SAC badges 2022-11-23 17:42:21 +02:00
Kalle
aea7406586
Map Planner (#1145)
* 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
2022-11-23 17:38:38 +02:00
William Lam
02516e26bd
Add script that generates a CSV containing basic attribute information on each Main Weapon (#1148)
* Added a script that generates a CSV containing basic attribute information on each Main Weapon

* Improved some names & console info

* More comments

* Renamed file & fixed Prettier error

* Shortened the default string a weapon attribute if it doesn't exist
2022-11-22 17:48:43 +02:00
William Lam
dd14efb9ae
Fix analyzer weapon combobox flicker issue (#1131)
* Fixed flicker with combobox issue using unstable_shouldReload().
- Reference: https://remix.run/docs/en/v1/api/conventions#never-reloading-the-root

* Update app/routes/analyzer.tsx

Changed to false based on Sendou's recommendation

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

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2022-11-20 23:56:23 +02:00
William Lam
b69302c095
Fix <select /> dropdown arrow color for Light Mode (#1142) 2022-11-20 23:52:19 +02:00
Ai Suzuki
3d41e5ede1
Update Japanese translation (#1144)
* update translation

* add items
2022-11-20 23:49:01 +02:00
Remmy Cat Stock
a6afd28953
Separate action value from submit in TO inputs due to Safari 15 bug
Fixes #1138
2022-11-19 22:06:05 +01:00
Kalle
0383d4a3e9 Fix picking (Unlisted team) crashing 2022-11-19 20:17:36 +02:00
Remmy Cat Stock
0bfa16eb3f Re-enable bulk edit controls for map pools when logged out 2022-11-19 16:29:55 +01:00
Kalle
045cb5ce83 Preview maplist generator toggle for admins 2022-11-19 17:14:12 +02:00
Kalle
29057d60db Download participants as Discord list button 2022-11-19 16:59:36 +02:00
dependabot[bot]
2590d81b7a
Bump loader-utils from 2.0.3 to 2.0.4 (#1132)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 16:13:25 +02:00
William Lam
f704f97be3
External links are now opened in a new tab (#1136)
- Reference: https://bobbyhadz.com/blog/react-open-link-in-new-tab#open-a-link-in-a-new-tab-in-react
2022-11-19 16:12:42 +02:00
Kalle
0730e86eb2 Give role position of 10 on create 2022-11-19 01:49:00 +02:00
Kalle
9d7cd816c9 Color role Lohi command 2022-11-19 01:33:58 +02:00
Ai Suzuki
266ffc99ae
Update Japanese translation (#1133) 2022-11-18 20:37:16 +02:00
Kalle
7658f8cb27 Add default description 2022-11-16 19:45:38 +02:00
Kalle
fd390f3fc3 Move menu up 2022-11-16 19:36:07 +02:00