Commit graph

113 commits

Author SHA1 Message Date
dumbmoron
bb446ecf3e
web: add Optional type and use it 2024-07-21 17:26:21 +00:00
wukko
4402484a0c
web/updates: reduce mobile navigation padding 2024-07-21 17:34:31 +06:00
wukko
213f2d2c92
web/updates: hide navigation buttons when nowhere to navigate
- removed box shadow on desktop
- centered button vertically with flex
2024-07-21 17:22:22 +06:00
wukko
88fa780f6d
web/layout: add dark theme skeleton gradient 2024-07-21 17:06:47 +06:00
wukko
d8acb5406a
web/layout: fix skeleton gradient 2024-07-21 16:49:38 +06:00
dumbmoron
0cea58922d
web/changelogs: display skeleton when changelog is loading 2024-07-21 09:42:48 +00:00
wukko
ec768ebfc2
web/settings/metadata: basic filename preview component 2024-07-21 16:34:37 +06:00
wukko
80300bf766
web/dialogs: moved backdrop to dialog holder, improved animation 2024-07-21 13:41:14 +06: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
wukko
8193e8c14d
web/buttons: add hover state to active button 2024-07-20 18:54:12 +06:00
dumbmoron
c3c7a6b7ba
web/version: convert to readable 2024-07-20 12:43:14 +00:00
wukko
204e025656
web/layout: allow text selection in subtext 2024-07-17 14:50:09 +06:00
wukko
cf4ee05e0e
web/updates: reduce top padding on mobile 2024-07-17 14:38:02 +06:00
wukko
6e374fde62
web/updates: make changelogs look nicer
- fixes horizontal scrolling on mobile
- removes text backdrop
- improves readability
2024-07-17 14:04:53 +06:00
wukko
1ec9d92eb2
web/updates: clean up components 2024-07-17 13:32:07 +06:00
dumbmoron
8eee024899
web/updates: don't prevent default action for keyboard inputs 2024-07-17 07:30:22 +00:00
dumbmoron
5c07afe4ff
web/updates: keyboard navigation 2024-07-16 17:27:43 +00:00
dumbmoron
678adfbda4
web/updates: proper navigation buttons, refactor internal nav logic 2024-07-16 17:25:21 +00:00
dumbmoron
3305bba28a
web/updates: update hash on navigation, navigate if present on load 2024-07-16 17:21:53 +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
f9dc8096bc
web: always show focus ring 2024-07-14 23:21:04 +06:00
wukko
128ab388f3
web: add env variable & plausible functionality 2024-07-14 22:50:18 +06:00
wukko
9f649ff1db
web/settings: update analytics text & add a link to more info 2024-07-14 21:51:56 +06:00
dumbmoron
4168998b93
web/settings: add "privacy" page with analytics toggle 2024-07-14 15:26:55 +00:00
wukko
578150e40e
web: add dynamic lang html tag 2024-07-14 21:10:41 +06:00
wukko
ad3703ab73
web/settings: fix header on mobile at certain scales 2024-07-14 20:52:22 +06:00
wukko
1712dc8948
web: switch main body color depending on theme 2024-07-14 20:42:32 +06: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
wukko
c5fbff560b
web/debug: show all data as json 2024-07-13 19:07:35 +06:00
dumbmoron
15caad7e36
web: adjust gray color to pass WCAG AA guideline 2024-07-13 12:51:31 +00:00
dumbmoron
f4aff44004
debug: include settings json on page 2024-07-13 12:25:50 +00:00
wukko
6c9d759a3a
web: update save page i18n & add link to terms and ethics of use
now also styling <a> properly, with exceptions only when needed
2024-07-13 13:45:53 +06:00
wukko
96be9ffbc3
web/sidebar: redo padding on mobile & desktop
- accommodate space for scaling animation
- replace static padding with variable in calculations
- no more weird padding on mobile
2024-07-12 20:22:12 +06:00
wukko
914be64153
web/settings: make navigation scrollable on overflow 2024-07-12 19:18:47 +06:00
wukko
5ccde7995e
web: convert global state classes to data attributes
also cleaned up unnecessary dupe in sidebar component
2024-07-12 19:15:55 +06: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
936da1c9ab
web/debug: show page content only when debug mode is enabled 2024-07-10 23:52:44 +06:00
wukko
6c7695ca6c
web/error: redirect home on 404 2024-07-10 23:50:50 +06:00
wukko
a6ddceb643
web/settings: add advanced & debug pages 2024-07-10 23:35:53 +06:00
dumbmoron
d1767c550c
version.json: refactor, don't use error(), use cf pages env if available 2024-07-10 16:23:35 +00:00
dumbmoron
a5d87edeca
version.json: correct parsing for https clones 2024-07-10 16:14:54 +00:00
dumbmoron
23bcd6076a
web: add prerendered version.json endpoint for frontend metadata 2024-07-10 16:04:00 +00:00
wukko
6c2d147bc6
web/settings: clean up the mobile header 2024-07-10 20:19:46 +06:00
wukko
e52340f33a
web/settings: improve subtext visibility 2024-07-10 20:19:05 +06:00