Commit graph

57 commits

Author SHA1 Message Date
dumbmoron
7c5b703e37
web/dialog: refactor types and logic 2024-07-22 09:06:11 +00:00
dumbmoron
4e4f7af437
web/settings: types for preparation for future migrations 2024-07-22 08:38:06 +00:00
wukko
66bac03e30
web/dialogs: add picker dialog & clean up small dialog 2024-07-22 14:33:43 +06:00
wukko
24b783e5fb
web/Omnibox: remember the link input when switching between tabs 2024-07-22 09:55:04 +06:00
dumbmoron
bb446ecf3e
web: add Optional type and use it 2024-07-21 17:26:21 +00:00
dumbmoron
4fab0d3fb8
web/ChangelogEntry: expect date to always exist 2024-07-21 11:31:55 +00:00
dumbmoron
534af330ce
web/changelogs: make date attribute required 2024-07-21 11:30:06 +00:00
dumbmoron
0cea58922d
web/changelogs: display skeleton when changelog is loading 2024-07-21 09:42:48 +00:00
dumbmoron
8a080c55f6
web: refactor and deduplicate locale preference logic 2024-07-20 14:37:52 +00:00
wukko
d7bf98a80b
web: settings reset confirmation, icons for small dialog
- cleaned up dialog i18n
- better red color
- made :active state visible for dialog buttons on mobile
- better body padding in small dialog
- better small dialog typing with optional values
2024-07-20 21:48:17 +06:00
dumbmoron
def6e26b9f
web/settings: add "erase all settings" button 2024-07-20 14:01:13 +00:00
wukko
720b3c5f68
web: full SmallDialog component, one flexible meowbalt component
- fully stylized small dialog: header, title, subtext, state without meowbalt
- moved meowbalt into his own adaptive component, no need to import/create new ones for each emotion
- better types for dialog related stuff
- type for meowbalt's emotions
- better padding in small dialog
2024-07-20 20:34:19 +06:00
dumbmoron
c3c7a6b7ba
web/version: convert to readable 2024-07-20 12:43:14 +00:00
dumbmoron
766482c21a
frontend: setup initial updates page 2024-06-29 18:23:56 +00:00
wukko
fa835d0010
web/dialog: css for small dialog
- moved backdrop to each dialog
- dialog is now closable by clicking the backdrop
- added meowbalt to dialogs
- added more meowbalt assets & components
- added "main" boolean to indicate the main action button in a list of buttons
2024-07-16 14:00:56 +06:00
wukko
128ab388f3
web: add env variable & plausible functionality 2024-07-14 22:50:18 +06:00
dumbmoron
436b735d2a
web/settings: try to migrate settings if new format is not used yet 2024-07-13 20:39:40 +00:00
dumbmoron
5a630c2320
web/migrate: set up migration from old settings format 2024-07-13 20:37:38 +00:00
dumbmoron
ee9421b831
web/state/settings: add "disable analytics" option 2024-07-14 15:22:42 +00:00
dumbmoron
1f0958a0d1
web/settings: move to state folder 2024-07-13 13:17:03 +00:00
wukko
4232c3437b
web: dialog system & basic small dialog 2024-07-13 19:15:43 +06:00
dumbmoron
3f98f5bee8
settings: move schemaVersion definition to updateSetting 2024-07-13 12:32:08 +00:00
dumbmoron
2cce4bd521
settings: expose settings that have only been modified
also reduce unnecessary loads from storage
2024-07-13 12:25:27 +00:00
dumbmoron
2a0366a58d
settings: add migrations, include schemaVersion in storage 2024-07-13 12:05:52 +00:00
wukko
d27bed7add
web: respect reduced motion & transparency preferences
also cleaned up settings & device libs
2024-07-12 18:49:29 +06:00
wukko
4759f2037c
web/device: add user agent 2024-07-11 00:27:46 +06:00
wukko
6c7695ca6c
web/error: redirect home on 404 2024-07-10 23:50:50 +06:00
dumbmoron
95bcf7bf66
settings: only store settings if changed by user 2024-07-10 17:47:46 +00:00
wukko
a6ddceb643
web/settings: add advanced & debug pages 2024-07-10 23:35:53 +06:00
wukko
2b907e5684
web/lib/settings: use default settings as base when loading from storage 2024-07-10 23:29:47 +06:00
wukko
bc63b0c6b7
web/lib/device: fix ipad recognition 2024-07-10 23:28:23 +06:00
wukko
19a0b00853
web/i18n: add fallback locale 2024-07-09 17:40:45 +06:00
wukko
9b3f289b0e
web/lib/api: don't follow redirects away from api 2024-07-07 18:52:06 +06:00
dumbmoron
16c76e7e92
web/settings: redirect invalid settings paths to default settings page 2024-07-04 22:18:02 +00:00
dumbmoron
8fd2c66441
web/i18n: dynamically determine languages from i18n folder contents 2024-07-03 19:28:44 +00:00
wukko
8b801bad50
web/save: keyboard shortcut for muted mode 2024-07-04 00:03:46 +06:00
wukko
97d381e993
web: move all strings to i18n & improve a11y
- omnibox is now fully usable with a screen reader
- back button is now interpreted as such
- subtext now accepts line breaks
2024-07-03 23:54:44 +06:00
dumbmoron
743338ea4c
web/omnibox: add keyboard shortcuts support
- shift+d to paste
    - ⌘/ctrl+v to paste
    - shift+k for auto mode
    - shift+l for audio mode
    - esc to clear input

todo:
    - shortcut for "muted" mode
2024-07-03 17:42:34 +00:00
wukko
374611553b
web: add notch easter egg & optimize for landscape
it took way too much time to optimize the damn logo sticker under notch for all devices & zoom states

also improved device lib api
2024-07-03 19:05:14 +06:00
wukko
5ced7b5388
web/save: move strings to i18n & translate to ru
also fixed line break in switcher for future lengthier translations (german, for example)
2024-07-03 13:52:27 +06:00
wukko
9939f3b172
web: i18n system & navbar translations
dynamic page language and language dropdown!! finally!!
2024-07-03 00:16:03 +06:00
wukko
f383f5d94e
web/theme: add dynamic status bar color on mobile 2024-06-29 20:24:51 +06:00
wukko
d817888838
web/device: add global constant for device info 2024-06-29 20:24:14 +06:00
wukko
10a9c955d9
web: proper theming 2024-06-29 20:09:17 +06:00
wukko
042d2e9cc8
web: settings ui & const for settings type options 2024-06-24 23:05:51 +06:00
wukko
b9e7661b6d
web: basic settings page needed for testing
typescript cries about types but i don't care at this point
2024-06-20 18:05:17 +06:00
wukko
4564f409aa
web/types/settings: add missing 480p video quality 2024-06-19 23:42:52 +06:00
wukko
3b2178fd1a
web/api: full api request with user preferences 2024-06-19 23:29:26 +06:00
wukko
00cdb2121d
web: data-driven switcher & save mode switcher
also:
- disabled ssr to enable localstorage
- removed the workaround for hover, as it looks bad
2024-06-19 23:04:09 +06:00
wukko
009a2cc863
web: implement settings core
this was a torture
2024-06-19 21:12:51 +06:00