Commit Graph

3671 Commits

Author SHA1 Message Date
Kalle
bb2f844ec8 Fix dialog color in light mode 2023-01-12 21:02:31 +02:00
Kalle
3634b85422 Team: Manage roster tests + fixes 2023-01-12 20:57:22 +02:00
Kalle
e83943abb1 Team page: Initial tests 2023-01-12 00:57:37 +02:00
Kalle
c42011533b New flags CDN
The old one shut down. More context here
https://github.com/twitter/twemoji/issues/580
2023-01-11 21:04:20 +02:00
Kalle
959dccb474 Team fixes 2023-01-11 20:56:04 +02:00
Kalle
65bd4561e3 Teams: Add to nav 2023-01-11 09:59:23 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
Kalle
e1863b328b Team: Search page 2023-01-08 12:05:55 +02:00
Kalle
2eca0b94c1 Team: Join page 2023-01-08 12:05:55 +02:00
William Lam
c8e707488b
Implemented some dynamic background sizing & positioning calculations for the Map Planner (#1200)
* Implemented a relatively simple dynamic background sizing calculation for the Map Planner

* Moved useWindowsSize() hook usage near the top of Planner() function

* Removed some dead space above the background image

* Adjustments

* Added a *lot* of math to adjust image spawn location based on the background image size & position, which are based on the current window size & position
- Moved the background image stuff to its own React Hook, usePlannerBg()

* Fix Prettier issue

* Added another comment

* Fixed typing for the usePlannerBg hook
- Also improved comments & some variable names to be cleaner/more consistent

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-08 11:24:44 +02:00
dependabot[bot]
97bf942a8f
Bump json5 from 1.0.1 to 1.0.2 (#1205)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  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>
2023-01-08 11:23:47 +02:00
Kalle
5f5b3eb01d Fix translation json problem 2023-01-07 11:13:28 +02:00
Kalle
6e630ab8e3 Add January's SR reward 2023-01-07 10:53:09 +02:00
Frederik
72f5c6186b
Update Danish translation (#1204)
Fixed misspeling of the following line in the analyser.json file
-   "stat.category.subDef" #fixed a missspelling of "våben"
2023-01-06 23:43:51 +02:00
Kalle
1170dc0bd0 Team: Manage roster page 2023-01-06 16:33:37 +02:00
Kalle
8a3178413c Team: Delete team feature 2023-01-06 16:33:37 +02:00
Kalle
b922b54d5b Team: Leave feature 2023-01-06 16:33:37 +02:00
Kalle
7c72fb2057 Team page: Bio 2023-01-06 16:33:37 +02:00
Kalle
895acabda8 Handle user not existing -> 404 2023-01-06 16:33:37 +02:00
Kalle
e05a6b9559 Use views for image and team tables 2023-01-06 16:33:37 +02:00
Kalle
77de97a406 User page: Team info 2023-01-06 16:33:37 +02:00
Frederik
80c6f33c53
Update Danish translation (#1203)
Added the following translations to the common.json file.
plans.bgStyle.OVER
plans.bgStyle.MINI
plans.bgStyle.ITEMS
2023-01-06 16:27:07 +02:00
Sacha Ntolo
6b01a684ff
Update French translation (#1201)
* Translated all the new lines and changed some previous translations

* Corrected error in common.json

Removed the line added by mistake in common.json

* Prettify

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-05 01:05:10 +02:00
Kalle
a1bbaffa42 Add badges 2023-01-05 00:49:07 +02:00
Kalle
9d74a79861 Team: Initial migration 2023-01-05 00:41:44 +02:00
Kalle
257b59ce8a Team: Clean up LUTI/Team XP 2023-01-04 23:09:27 +02:00
Kalle
9d9ffac6e9 Teams: Edit page 2023-01-04 23:03:46 +02:00
Kalle
077e2356ae Team: Fetch from DB 2023-01-02 21:59:58 +02:00
Kalle
0caa90756a User page: Redirect if trying to edit other page 2023-01-02 21:08:47 +02:00
Kalle
5a2c008461 Calendar: Fix no events at the start of year 2023-01-01 18:27:06 +02:00
William Lam
e19ee86ae9
Ranked Modes checkboxes are now checked by default when making a new build (#1199)
* Ranked Modes checkboxes are now checked by default when making a new build

* Fixed the actual logic when taking older builds into account

* Added comment that references Issue 1150

* Rearranged type order so it reads better
2023-01-01 13:36:50 +02:00
Frederik
6acb5cc9c2
Update Danish translation (#1198)
* Added Danish translations for Analyzer.json

Added Danish translations in the Analuzer.json files for the following lines.

damage.SPLATANA_VERTICAL_DIRECT
damage.SPLATANA_VERTICAL
damage.SPLATANA_HORIZONTAL_DIRECT
damage.SPLATANA_HORIZONTAL

* Updated Danish Translations in common.json

Updated and changed translations in the common.json file

Added following translations
pages.u
plans.blueprint
plans.noImg

Changed following translations
- pages.builds (changed to a shorter name to avoid cluttering on the main page)
- pages.analyzer (changed to a shorter name to avoid clutting on the main page)
- pages.plans (changed to a shorter name to make in order to make all pages names shorter)
- pages.object-damage-calculator (changed to a shorter name to avoid cluttering on the main page. This is a wierd translation, so it might be changed in the future)

* Added Danish translations to contributions.json

Added the folloing line to the contributions.json file
-yaga

changed the translation for the following line
- borzoic (changed a word, to make the translation more correct)

* Added Danish translations for the faq.json file

Added Danish translations for the faq.json file.

The following lines have been added
q5
a5
q6
a6

* Added DAnish translations for the user.json file

The following lines have been translated in the user.json file

search.info
search.noResults

* Added Danish translations for analyser.json

Added Danish translations for the following lines in the analyzer.json file
- "stat.humanoidFormInkRecoverySeconds"
- "stat.swimSpeedHoldingRainmaker"

Changed Danish translations for 
-  "stat.squidFormInkRecoverySeconds" # Changed made so the translation match the translation for  "stat.humanoidFormInkRecoverySeconds"

* Added Danish translations in the common.json file

Added Danish translations for the following lines in the common.json file
- weapon.category.subs
-weapon.category.specials

The following lines have been altered.
all "weapon.category." lines.
- Removed the English names for the categories in order to avoid too much cluttering in the planner tool.

* Added Danish Translations for User.json

Fhe folloing Danish translations were added to the User.json file.

- weaponPool
- discordExplanation
- forms.errors.maxWeapons

* Added Danish Translations for team.json

All added translations are direct translations or not translated, as their are no official Danish translations for these roles and in order reduce the likelyhood of misunderstandings.
2022-12-31 17:57:56 +02:00
Kalle
5ce7f35d4b Team: mobile layout 2022-12-31 17:57:10 +02:00
Kalle
aefefc26a3 Team: Banner placeholder when no image set 2022-12-30 23:21:37 +02:00
Kalle
da020e8557 Map Planner: Fancy backgrounds 2022-12-29 21:49:21 +02:00
Kalle
d5413ae0ed Build Analyzer: Fix not showing build value always
Had problem when using only Ninja Squid.
2022-12-29 20:33:31 +02:00
Kalle
e3e426eba6 Build Analyzer: more robust show build value check
Before if you had e.g. Ninja Squid with certain amount of SSU
then the build value would not show
since baseValue and buildValue end up being the same
2022-12-29 00:02:58 +02:00
Kalle
4dfaf07655 Build Analyzer: RM swim speed stat 2022-12-28 23:45:38 +02:00
Kalle
2538801333 Upgrade deps 2022-12-28 23:34:31 +02:00
Kalle
ecc0c89ce2 Fix type error 2022-12-27 22:42:25 +02:00
Kalle
eed5c0646f User page: Use image for flag 2022-12-27 22:28:28 +02:00
Kalle
fd28e382ec Team: Flags from data 2022-12-27 22:23:41 +02:00
Kalle
d51beef9d5 Team: UI initial 2022-12-27 22:01:15 +02:00
Kalle
1a8c2fc892 Use SubmitButton in various places 2022-12-25 12:00:17 +02:00
Kalle
ffe8ab3883 Build Analyzer: Add humanoid form ink recovery 2022-12-23 18:17:25 +02:00
Kalle
59d242980a Add title/description to couple pages where it was missing 2022-12-22 23:52:39 +02:00
Kalle
3e85173133 Map Planner: Add sub/special weapons 2022-12-22 23:43:19 +02:00
Kalle
993756aeb0 Map Planner: divide weapons to categories 2022-12-22 23:13:04 +02:00
Kalle
df7a48fd6f Extract WeaponImageSelector component 2022-12-22 21:44:32 +02:00
Kalle
f81451b0c0 Map planner to feature folder 2022-12-22 21:33:02 +02:00