monkeytype/backend
Christian Fehmer 59615fb02c
feat(account page): add test activity graph (fehmer, Singh233) (#5309)
* wip

* wip frontend

* cleanup

* wip

* refactoring

* wip

* first working version

* wip

* update calendar with new result

* add migration script

* dates are hard

* fix naming inconsistencies

* requested changes on migration

* timezones

* update date-fns, use date-fns/utc

* resolve cyclic dependency by extracting test activity calender into new file

* cleanup

* fix increment

* fix

* tests

* test coverage

* test migration

* migration more logging

* migration add unique index on uid if missing

* update legend styling

* 53 columns

* wip

* move dropdown and legend to the top
add dropdown border
yeet hotpink
invisible filler boxes
remove year from month format

* responsive update

* lowercase months

* handle current year, fix tests

* handle year change

* make days square again

* handle newly created users correctly

* move css

* add wrapper for easier styling
rework some font sizes/widths
reorder styles

* media queries

* align

* rework styling once more

* dont commit debug

* add days full to fill the space a bit

* show partial months

* hover on 0 tests

* start dynamic calendar on sunday

* no activity

* hover

* remove label on fillers

* remove label on fillers

* fix months, update tests for months

* adjust tests to new requirements

* cleanup

* fix migration

* impr(commandline): add "add/remove quote to favorites" commands

closes #5368

* chore: remove daily lb which is no longer in the backend

* fix: dropdown element flashing for couple frames on page load

* feat(language): add japanese romaji 1k (nthngnssmnnglss)

* fix: optional chaining

!nuf

* fix(words generator): infinite custom text tests not working correctly

* chore: missing languages in list and group files

* fix(language): remove duplicates

!nuf

* add readline sync to confirm

* gh action complaints

* unnecessary check

* premium only

* add years to drop down only if premium

* Update setup-tests.ts

* test fix

* cleanup

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-05-15 15:23:36 +02:00
..
__migration__ feat(account page): add test activity graph (fehmer, Singh233) (#5309) 2024-05-15 15:23:36 +02:00
__tests__ feat(account page): add test activity graph (fehmer, Singh233) (#5309) 2024-05-15 15:23:36 +02:00
docker impr: add selfhosting using docker only (fehmer) (#5170) 2024-03-12 12:02:13 +01:00
email-templates Custom email (#3964) 2023-02-13 13:24:43 +01:00
private fix: use appropriate fallback fonts (SethFalco) (#4620) 2023-09-11 16:09:34 +01:00
redis-scripts Add weekly xp leaderboards backend (#3511) Bruception 2022-11-28 14:10:02 +01:00
src feat(account page): add test activity graph (fehmer, Singh233) (#5309) 2024-05-15 15:23:36 +02:00
.gitignore fixed ignore 2022-03-07 14:39:09 +01:00
example.env impr(dev): allow docker compose to start the backend server (plbstl, Miodec) (#4995) 2024-02-28 14:17:09 +01:00
knip.json added knip to find unused exports 2023-08-10 18:32:33 +02:00
package-lock.json feat(account page): add test activity graph (fehmer, Singh233) (#5309) 2024-05-15 15:23:36 +02:00
package.json feat(account page): add test activity graph (fehmer, Singh233) (#5309) 2024-05-15 15:23:36 +02:00
tsconfig.json refactor(types): shared config and preset types (#5024) 2024-02-08 14:32:04 +01:00
vitest.config.js test: update to vitest 1.6.0, use v8 coverage provider (#5389) 2024-05-13 13:25:21 +02:00