* add commands for adding and removing custom local background and font.
* fix the url image input not updating when changing the background from
the commandline while in the settings page.
### Description
Add Rulemak Cyrillic layout, as found in
23fec5367a/symbols/ru (L722).
It's primarily designed for Russian, but can also be used for Ukrainian,
Serbian, Bulgarian, Belarusian and Macedonian, thanks to its layer 3-4
symbols.
### Checks
- [ ] 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 screenshot of the theme, especially with different test
settings (colorful, flip colors) to your pull request
- [x] Adding a layout?
- [x] Make sure to follow the [layouts
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md)
- [x] Add layout to `packages/schemas/src/layouts.ts`
- [x] 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 #
<!-- 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! :) -->
### Description
* browsers don't provide accurate MIME types for font files , I couldn't
even reuse the site fonts as local fonts.
* Validation now checks both MIME type and file extension to ensure
valid fonts aren't mistakenly rejected.
### Description
* fixed UI click handler to consistently map "all" quote mode selection
(all) to [0, 1, 2, 3] `setQuoteLengthAll();`.
* fix the mobile model to highlight the all selection when length is [0,
1, 2, 3].
* fix quote length options were not visually highlighted when refreshing
from other mode then back to quote mode.
### Description
Improved the `SELF_HOSTING.md` documentation by adding clear
instructions for whitelisting domains in Firebase Authentication.
#### Changes:
- Explained the purpose of Firebase's authorized domains
- Provided a step-by-step guide on how to whitelist your domain(s)
---
### Checks
- [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.
---
### Issue Reference
Closes [#6809](https://github.com/monkeytypegame/monkeytype/issues/6809)
On the settings page
- theme -> custom add a margin to the left of the color picker
- buttons/input on the right side align with the top of the text on the
left side
### Description
I added a new language: code_yoptascript. Also added 3 quotes for
code_yoptascript
### Translations of the quotes:
1: 'use client';\nip {SessionProvider} Remove from 'next-auth/react'
to\nip {ReactNode } Remove from 'react' to\n\nproduction of the option
Providers(JY children is: JY children: ReactNode is) JY\n\t reply
(\n\t\t<SessionProvider>\n\t\t\t{children}\n\t\t</SessionProvider>\n\t)\nest
2: yopta stalinSort(arr) yY\n\t step result outside [arr[0]]\n\t th
(precinct i outside 1 nah i <arr.length nah i++) yY\n\t\t right eye
(arr[i] > result[result.length - 1]) yY\n\t\t\tresult.navel(arr[i])
nah\n\t\test\n\test\n\tresponse result nah\nest
3: The red-eyed one(\"Dad got up, the neighborhood woke up\")
### Checks
- [yes] Adding quotes?
- [yes ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [yes ] Adding a language?
- Make sure to follow the [languages
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LANGUAGES.md)
- [ yes] Add language to `packages/schemas/src/languages.ts`
- [yes ] Add language to exactly one group in
`frontend/src/ts/constants/languages.ts`
- [ yes] Add language json file to `frontend/static/languages`
Fixed an issue where the `choo_choo` and `earthquake` funboxes did not
"work" in custom mode.
Previously, these funboxes did not "work" in custom mode. When they were
turned on, *no animations were played*. This change allows the
animations to run regardless of the mode, so users can now experience
the funboxes in custom mode as well. This change also makes sure they
work on the other modes.
### Here is a video example of the bugs and the new changes in action:
[](https://www.youtube.com/watch?v=oF1zuqWGYnQ)
<img width="600" height="111" alt="button"
src="https://github.com/user-attachments/assets/ec401e00-bc12-4ff3-89c5-c41753b22566"
/>
- bug was introduced in
[#6651](https://github.com/monkeytypegame/monkeytype/pull/6651) by
changing the inline style `cursor` to `default` when focus mode is
disabled instead of removing the `cursor: none` inline style.
- add a `.clickable` class to clickable banners/PSAs instead of relying
on `cursor: pointer` inline style which may be cleared by
`.css("cursor", "")` in the previous commit.
- make the test for clickable banners/PSAs case insensitive and allow
`<a>` elements in the test.
### Description
commands opened directly via `commandOverride` (e.g.,
`changeCustomPolyglot` when triggered by a text button after a page
refresh) were not correctly initializing their input validation
handlers.
---------
Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>