Commit graph

12596 commits

Author SHA1 Message Date
Miodec
645eaebfa5 support hide 2026-01-08 20:36:57 +01:00
Miodec
af35057815 dont export 2026-01-08 20:36:57 +01:00
Miodec
e34eb6d2b6 fix 2026-01-08 20:36:57 +01:00
Christian Fehmer
457a1588ec
fix 2026-01-08 19:52:54 +01:00
Miodec
ff6c6f35d9 rename 2026-01-08 19:50:54 +01:00
Miodec
a86c2f186a refactor 2026-01-08 19:49:48 +01:00
Miodec
ec0e15efd7 move and rename 2026-01-08 19:49:27 +01:00
Christian Fehmer
e29ff7a075
optional visibility options 2026-01-08 19:45:21 +01:00
Christian Fehmer
9013fdbe93
reduced motion 2026-01-08 19:32:48 +01:00
Miodec
b5fa8add40 unused import 2026-01-08 19:32:03 +01:00
Miodec
2d0c8df7ff renames 2026-01-08 19:31:42 +01:00
Miodec
883e43637e refactor 2026-01-08 19:30:40 +01:00
Miodec
7b86390ce2 ref with utils, move isfocused up 2026-01-08 19:20:47 +01:00
Miodec
082adde75d sweep 2026-01-08 18:07:59 +01:00
Miodec
2056487d49 one object 2026-01-08 18:05:43 +01:00
Miodec
71f93d7dff type 2026-01-08 18:04:45 +01:00
Miodec
97b54b6373 improve hook 2026-01-08 18:04:15 +01:00
Miodec
3f20d89b01 rename 2026-01-08 17:51:31 +01:00
Miodec
bf50fe7398 export hook 2026-01-08 17:49:55 +01:00
Miodec
12bb3ddab3 no memo 2026-01-08 17:44:29 +01:00
Miodec
a297539ba2 no rename 2026-01-08 17:41:25 +01:00
Miodec
1bae0e70d0 final 2026-01-08 17:38:32 +01:00
Miodec
f6fe948ab8 util 2026-01-08 17:30:42 +01:00
Miodec
e9fcf1fefc need to ignore lint error 2026-01-08 17:27:14 +01:00
Miodec
80d8c22c52 animation wip 2026-01-08 17:23:30 +01:00
Christian Fehmer
bca19b4933
obsolete 2026-01-08 17:05:25 +01:00
Christian Fehmer
4007f439bc
pre-commit lint 2026-01-08 16:57:42 +01:00
Miodec
75a36c9feb use signals for focus and isactive state 2026-01-08 16:56:27 +01:00
Miodec
205a5154df dont export state setters 2026-01-08 16:56:27 +01:00
Christian Fehmer
5627336649
remove account experiment 2026-01-08 16:53:41 +01:00
Christian Fehmer
fa0611cba9
convert live stats 2026-01-08 16:29:55 +01:00
Christian Fehmer
0e4bcfa4ba
on a page 2026-01-08 14:58:59 +01:00
Christian Fehmer
396b95e48b
move stuff around 2026-01-08 14:27:04 +01:00
Christian Fehmer
8169bfd385
only update live speed if enabled 2026-01-08 13:53:28 +01:00
Christian Fehmer
87f70ac9f3
fix lint issue 2026-01-08 13:16:37 +01:00
Christian Fehmer
b36b73f0a1
refactor, tests 2026-01-08 13:11:24 +01:00
Christian Fehmer
8ff2bf86c8
refactor: example usage of solid/tsx (@fehmer) 2026-01-08 11:21:42 +01:00
Miodec
e2d9b79332 fix: skip if annotation has display false 2026-01-07 21:47:05 +01:00
Miodec
5e70e3398c impr(test result): recalculate min max chart values when toggling a dataset 2026-01-07 21:47:05 +01:00
Miodec
c1c6c7dac0 impr(result): add button to quickly toggle chart scale 2026-01-07 21:47:05 +01:00
Murad Bashirov
2e959e592c
impr(quotes): add Azerbaijani quotes (@m-spitfire) (#7315)
### Description

Added Azerbaijani quotes.

### Checks

- [x] Adding quotes?
- [x] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.

### Translations

(used chatgpt, I hope it's okay)

1. God must be in the heart of every person… And when He is not there…
everything else is transient
2. There is no such thing as coincidence in life. From the paths that
appear before you, you choose one yourself. Either you think long and
hard about which path to take, or you step forward blindly, trusting
your luck.
3. Trying to explain something to a fool is no different from trying to
pour water into a sieve.
4. Strange—very strange. A photograph taken while a person is alive
carries one appearance, but once they die, it is as if the photograph
itself changes form. If you look closely into their eyes, you can enter
their inner world. The photographs seem to want to ask you something.
They look after you, and keep looking… As if they want to come with you.
They can’t…
5. The dead were at peace. The ones who truly needed resurrection were
the “living.”
6. There is a state women sometimes fall into when, even if no one has
hurt them and no misfortune has occurred, they still feel the need to be
hurt and unhappy. (Original: "У женщины, например, бывает иногда
потребность чувствовать себя несчастною, обиженною, хотя бы не было ни
обид, ни несчастий." from Униженные и оскорбленные, Ф. М. Достоевский)
7. I have now understood one thing: in this meaningful and harmonious
life, only those who live meaningless lives are mere patches. A person
who owns their life, their existence, and true values is not a patch in
this world—they are life itself.
8. The sun has risen in the yard; since you will not see that day, what
use is its light? Outside, the grass has grown and the trees have
blossomed; but what use are those flowers, those meadows, without you?
9. If you educate a man, you educate only one person. If you educate a
woman, you educate an entire family.
10. What is death? At first glance, it is an ordinary, simple question,
yet it contains many peculiarities and complexities. The most ordinary
and well-known notion is that a person should die of old age, without
any particular cause or illness. That is, as a biological being, a human
is born, grows, ages, and dies. Death is the final cessation of all
bodily organs and brain functions as a result of aging… But let us
see—can most people reach death in this natural way? They cannot. To die
like this, one must live their entire life in a natural flow, without
stress or depression, without harm or danger from others, without the
influence of environment or nature… One must live without anger, sorrow,
suffering, pain, or tears…
11. There are people who do not appreciate the good unless they
encounter evil and endure its suffering. Among them are those who, after
seeing the face of evil just once, cling firmly to goodness for the rest
of their lives and worship it with their hearts. But there are also
those who quickly forget both the badness of evil and the goodness of
good, clinging now to one, now to the other, and in doing so ruin both
their own lives and the lives of others.
12. A person understands the sweetness of the moments they have lived
during times of longing, my Sara.
13. I kiss you, my hope. Yours, Mirza.
14. Though the wound in my heart aches silently, its surface has covered
with embers.
15. And those jet-black, long, thick eyelashes—she lifted them in such a
way that it was as if she were opening the heavy page of an ancient
book, and those lashes cast a shadow over half of Tahmina’s face. Once
Zaur had been drinking and said that when you lift your eyelashes, it
feels as though a new page is being opened in the history of humanity…
17. It is impossible to portray a people who waged a sharp and
courageous struggle for freedom against the caliphate for more than
twenty years as a disorderly crowd living a cheerful and carefree life.
17. I have learned that courage is not the absence of fear, but the
triumph over it. The brave person is not one who feels no fear, but one
who conquers it.
18. Every style of writing and every genre that is connected with the
people’s common ideal and sheds light on their life is beneficial.
19. It is possible for colonizers to officially impose a foreign
language on the local population, even when the composition of
native-language speakers is very mixed. This happened, for example, with
the Russian language in the Russian Empire, English in India, French in
Algeria, and Persian in Iran. People are forced to use this imposed
language in meetings and the media, on the pages of books, and in
educational materials. But how can one forcibly impose on a people their
proverbs and sayings, lullabies and laments, ritual and love songs,
fairy tales and legends, an entire epic tradition? These are eternal and
primordial, and no people can forcibly impose the folkloric harmony of
its mother tongue on another people.
20. No matter how complex a person may be, in the end they express
themselves in a very simple way.
21. There’s a saying, boss: better for a man to die than for his name to
be ruined—who would give work to thief Imaş, and who would want to work
with him?
22.
23. People who hear of some extraordinary phenomenon start proposing to
explain it with improbable hypotheses. First consider the simplest
explanation: that it's all nonsense.
24. The bride is my broom. Wherever I put her, that’s where she must
stay.

Signed-off-by: Murad Bashirov <carlsonmu@gmail.com>
Co-authored-by: Jack <jack@monkeytype.com>
2026-01-07 20:03:29 +01:00
Miodec
dc5974103e impr(dom utils): consider padding in slide functions
also adds options to slideup to optionally not hide the element
2026-01-07 19:31:24 +01:00
Jack
2949cd901d
impr(dom utils): add slideUp and slideDown utils (@miodec) (#7323)
!nuf
2026-01-07 13:14:48 +01:00
thanos
33d5605870
refactor(popups): Remove jQuery from popups (@thanoskn) (#7321)
### Description

Replace jQuery with dom utils

### Checks

- [x] Adding/modifying Typescript code?
  - [x] I have used `qs`, `qsa` or `qsr` instead of JQuery selectors.
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

### Related #7186
2026-01-07 11:54:24 +01:00
Miodec
a7d8bd23d8 fix: remove type annotation from js code 2026-01-06 18:38:13 +01:00
Miodec
354bf73a34 chore: release v26.2.0 2026-01-06 18:15:58 +01:00
Miodec
b9ee8b7d23 chore: bump oxc 2026-01-06 17:04:02 +01:00
Christian Fehmer
8d42ae057e
docs: remove jquery (@fehmer) (#7320)
### Description

<!-- Please describe the change(s) made in your PR -->

### Checks

- [ ] Adding/modifying Typescript code?
  - [ ] I have used `qs`, `qsa` or `qsr` instead of JQuery selectors.
- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language?
- Make sure to follow the [languages
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LANGUAGES.md)
  - [ ] Add language to `packages/schemas/src/languages.ts`
- [ ] Add language to exactly one group in
`frontend/src/ts/constants/languages.ts`
  - [ ] Add language json file to `frontend/static/languages`
- [ ] Adding a theme?
- Make sure to follow the [themes
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/THEMES.md)
  - [ ] Add theme to `packages/schemas/src/themes.ts`
  - [ ] Add theme to `frontend/src/ts/constants/themes.ts`
  - [ ] Add theme css file to `frontend/static/themes`
- [ ] Add some screenshots of the theme, especially with different test
settings (colorful, flip colors) to your pull request
- [ ] Adding a layout?
- [ ] Make sure to follow the [layouts
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md)
  - [ ] Add layout to `packages/schemas/src/layouts.ts`
  - [ ] Add layout json file to `frontend/static/layouts`
- [ ] Adding a font?
- Make sure to follow the [themes
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/FONTS.md)
  - [ ] Add font file to `frontend/static/webfonts`
  - [ ] Add font to `packages/schemas/src/fonts.ts`
  - [ ] Add font to `frontend/src/ts/constants/fonts.ts`
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #7186

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2026-01-06 16:58:29 +01:00
Miodec
1294499d0f fix: themes ui list shows clipped when selected or hovered
closes #7318
2026-01-06 16:56:51 +01:00
Justiniscoding
4da82d0f2b
feat: create new sPoNgEcAsE and modify raNDOmcASe to be random (@Justiniscoding) (#7295)
### Description

The old rAnDoMcAsE mode was not actually random and more accurately
reflected [sponge case](https://en.wikipedia.org/wiki/Alternating_caps).
I modified the old rAnDoMcAsE mode and turned it into raNDOmcASe, where
it calls `Math.random()` for every letter and bases the capitalization
of of it. The old code from rAnDoMcAsE was moved to a separate
sPoNgEcAsE funbox mode.

### Changes
- `rAnDoMcAsE` becomes `raNDOmcASe` and has a 50% chance to capitalize
every letter.
- `sPoNgEcAsE` is added as a funbox mode and contains the old
functionality of `rAnDoMcAsE`
- "i KINda LikE HoW inEFFICIeNt QwErtY Is." challenge is updated to use
the updated `raNDOmcASe` mode as well as a new title that is in proper
random case.

### Checks

- [x] Adding/modifying Typescript code?
  - [ ] I have used `qs`, `qsa` or `qsr` instead of JQuery selectors.
- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language?
- Make sure to follow the [languages
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LANGUAGES.md)
  - [ ] Add language to `packages/schemas/src/languages.ts`
- [ ] Add language to exactly one group in
`frontend/src/ts/constants/languages.ts`
  - [ ] Add language json file to `frontend/static/languages` 
- [ ] Adding a theme?
- Make sure to follow the [themes
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/THEMES.md)
  - [ ] Add theme to `packages/schemas/src/themes.ts`
  - [ ] Add theme to `frontend/src/ts/constants/themes.ts`
  - [ ] Add theme css file to `frontend/static/themes`
- [ ] Add some screenshots of the theme, especially with different test
settings (colorful, flip colors) to your pull request
- [ ] Adding a layout?
- [ ] Make sure to follow the [layouts
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md)
  - [ ] Add layout to `packages/schemas/src/layouts.ts`
  - [ ] Add layout json file to `frontend/static/layouts` 
- [ ] Adding a font?
- Make sure to follow the [themes
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/FONTS.md)
  - [ ] Add font file  to `frontend/static/webfonts`
  - [ ] Add font to `packages/schemas/src/fonts.ts`
  - [ ] Add font to `frontend/src/ts/constants/fonts.ts`
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->


<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2026-01-06 16:42:02 +01:00