Commit graph

250 commits

Author SHA1 Message Date
wukko 9787a04e19
web/picker: add item type icons and improve accessibility 2024-07-22 15:13:51 +06:00
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 787fe72340
web/ChangelogEntry: fix warning about unused css selector 2024-07-21 17:40:51 +00:00
dumbmoron bb446ecf3e
web: add Optional type and use it 2024-07-21 17:26:21 +00:00
wukko f93f3cd558
web/DownloadButton: fallback if status isn't supported 2024-07-21 22:49:26 +06:00
dumbmoron 9b4f593f87
web/changelogs: add more historical changelogs 2024-07-21 15:53:33 +00:00
wukko 4402484a0c
web/updates: reduce mobile navigation padding 2024-07-21 17:34:31 +06: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 ebaa209c47
web/changelogs: add dates to all changelogs 2024-07-21 11:29:57 +00: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 238cd22c8d
web/ChangelogSkeleton: fix title skeleton cutting off, reduce rounding 2024-07-21 16:57:42 +06:00
wukko d8acb5406a
web/layout: fix skeleton gradient 2024-07-21 16:49:38 +06:00
dumbmoron 8366a9d9b6
web/changelog: use same stylesheet for skeleton and loaded entry 2024-07-21 10:06:43 +00:00
dumbmoron 20320c1935
web: use svelte-preprocess instead of vitePreprocess
this allows us to use <style src={...}></style> also for scoped styles
(and not just global styles)
2024-07-21 10:06:16 +00:00
dumbmoron 0cea58922d
web/changelogs: display skeleton when changelog is loading 2024-07-21 09:42:48 +00:00
wukko f530624467
web/ResetSettingsButton: update dialog text
erase -> reset
2024-07-21 16:40:39 +06:00
wukko ec768ebfc2
web/settings/metadata: basic filename preview component 2024-07-21 16:34:37 +06:00
wukko edd1137228
web/ChangelogEntry: deduplicate padding when banner isn't visible 2024-07-21 14:45:24 +06:00
wukko dbbd43e002
web/changelog: move components to dedicated folder 2024-07-21 14:42:17 +06:00
wukko 2efaa11670
web/DialogHolder: clean up 2024-07-21 14:37:03 +06:00
wukko 782752fd60
web/OuterLink: accept rel but ignore it 2024-07-21 14:34:29 +06:00
wukko a7f40d708e
web/meowbalt: hide meowbalt from screen readers
presence of an image of a cat on the screen doesn't change anything about the ui for vision impaired people. it's unnecessary and potentially annoying to have the description of it read out loud on every screen it's used.
2024-07-21 13:59:27 +06:00
wukko f07aac301c
web/SmallDialog: focus title first when it's visible 2024-07-21 13:49:22 +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 d4d4eded32
web/SmallDialog: make button text white if its bg is red 2024-07-20 21:56:43 +06: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 e541bdc6d7
web/Switcher: fix ghost hover effect on active button
it used to appear very briefly when you pressed a button and didn't move the cursor off the button
2024-07-20 19:09:44 +06:00
wukko 8193e8c14d
web/buttons: add hover state to active button 2024-07-20 18:54:12 +06:00
wukko 205494b367
web/SmallDialog: fix scaling on small screens 2024-07-20 18:49:51 +06:00
wukko cd41fc9d49
web/SmallDialog: fix rendering & performance issues, new mobile animation 2024-07-18 17:22:29 +06:00
dumbmoron 2c1bd50e70
Revert "web/vite: change build target to esnext"
This reverts commit 842f91ec54.
2024-07-20 12:43:22 +00:00
dumbmoron c3c7a6b7ba
web/version: convert to readable 2024-07-20 12:43:14 +00:00
dumbmoron 0e60ea9582
web/ChangelogEntry: consistent date formatting 2024-07-17 09:07:25 +00:00
dumbmoron 0391ac7230
web/ChangelogEntryWrapper: use OuterLink component for links 2024-07-17 08:59:45 +00:00
dumbmoron dd16fb65cf
web/changelogs: update all links to markdown format 2024-07-17 08:59:10 +00:00
wukko ce609ad201
web/SmallDialog: allow text selection in body 2024-07-17 14:50:35 +06:00
wukko 204e025656
web/layout: allow text selection in subtext 2024-07-17 14:50:09 +06:00
wukko ce95135234
web/ChangelogEntry: allow text selection 2024-07-17 14:49:25 +06:00
wukko 691a6acb6c
web/ChangelogEntry: slightly reduce font size on mobile 2024-07-17 14:41:44 +06:00
wukko cf4ee05e0e
web/updates: reduce top padding on mobile 2024-07-17 14:38:02 +06:00
wukko dd7c17efeb
web/ChangelogEntry: reduce the size of heading contents 2024-07-17 14:34:03 +06:00
wukko 6a7311874e
web/changelog: make main body text easier to read 2024-07-17 14:29:46 +06:00