Commit graph

234 commits

Author SHA1 Message Date
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
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
wukko e6ec8c6734
web/package: fix the svelte icons version & update lock 2024-07-17 13:14:56 +06: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 a22b0e5136
web/ChangelogEntry: initial css 2024-07-16 17:19:17 +00:00
dumbmoron 766482c21a
frontend: setup initial updates page 2024-06-29 18:23:56 +00:00
dumbmoron 3aa17733d1
frontend: install and configure mdsvex 2024-06-29 17:58:00 +00:00
dumbmoron a856983810
web: convert changelogs from old format
https://gist.github.com/dumbmoron/3fc6c0c747d791928aba939976fd9304
2024-06-29 17:36:26 +00:00
dumbmoron e1a898bd58
frontend: move update banners to new frontend 2024-06-27 23:18:52 +00:00
wukko 8ebde39197
web/Omnibox: prevent paste button spamming 2024-07-16 22:17:51 +06:00
wukko 504dfdb995
web/Omnibox: ignore keyboard shortcuts when processing 2024-07-16 22:11:57 +06:00
wukko d31090c3d5
web/Omnibox: ignore keyboard shortcuts when dialog is visible 2024-07-16 22:03:16 +06: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