Commit graph

363 commits

Author SHA1 Message Date
dumbmoron 299d1867a2
web/TransferSettings: only export storedSettings instead of all settings 2024-07-28 07:46:15 +00:00
wukko 71204054c7
web/settings/defaults: disable downloadPopup by default 2024-07-28 13:33:09 +06:00
wukko 82091db154
web/download: open saving dialog if user action expired 2024-07-28 13:32:21 +06:00
wukko 4210b17d89
web/TransferSettings: show a safety warning before importing 2024-07-28 13:20:22 +06:00
wukko 5bb5c6dc3c
web/SmallDialog: fix line breaking in body text 2024-07-28 13:15:28 +06:00
wukko 194ff90d3d
web/layout: fix elevated colored button hover & active states 2024-07-28 13:14:55 +06:00
wukko 2fa1ad8f12
web/SavingDialog: hide buttons when actions are not supported 2024-07-28 12:49:13 +06:00
wukko 32743360be
web/Omnibox: fix dimmed input placeholder in firefox 2024-07-27 19:27:58 +06:00
wukko 1ded7698ff
web/Omnibox: fix input area dimming in safari when processing 2024-07-27 19:26:39 +06:00
wukko 6072fbac5c
web/DialogHolder: fix bottom margin on mobile during the close animation 2024-07-27 19:26:07 +06:00
wukko 59f5560802
web/dialogs: move backdrop close handler to container 2024-07-27 15:30:00 +06:00
wukko b8eb708748
web/DialogHolder: fix typescript error, add a note 2024-07-27 15:28:02 +06:00
wukko 26eaac5742
web/ActionButton: clean up 2024-07-27 15:07:38 +06:00
wukko a9f9a3e342
web/dialogs: add saving method dialog 2024-07-27 15:07:26 +06:00
wukko 7411f358d2
web/DialogButtons: move elevated button styling to layout 2024-07-27 15:03:37 +06:00
wukko 778190b2b3
web/dialogs: create a container for reused code 2024-07-27 14:24:24 +06:00
wukko 0a7747c497
web/dialogs: move duplicated dialog css to parent 2024-07-27 12:53:57 +06:00
dumbmoron 82ecf16d79
web/donate: disable padding-left for wallets on mobile 2024-07-26 17:06:03 +00:00
dumbmoron b3d8a9bf1c
web/donate: minor css fixes 2024-07-26 17:00:01 +00:00
wukko 7427788efd
web/PickerItem: add support for gifs in picker 2024-07-26 21:34:18 +06:00
dumbmoron e0bc0553ca
web/donate: fix price padding 2024-07-26 09:05:14 +00:00
dumbmoron 8ac834ec80
web: initial donate page 2024-07-26 08:22:30 +00:00
dumbmoron 809178d6d8
web: import italic normal version of ibm-plex-mono 2024-07-26 08:22:21 +00:00
dumbmoron 7a5e4c56d3
web/settings: make old settings migration use initial schema 2024-07-24 10:27:06 +00:00
wukko 49973eceb1
web/omnibox: disable input area when processing & reduce timeout
also fixed a typo that broke key spamming protection
2024-07-26 14:07:23 +06:00
dumbmoron f8d06cf18b
web/settings: settings import/export 2024-07-23 18:17:38 +00:00
wukko 6e24a8d172
web/PickerItem: enable video thumb mode only when item is a video 2024-07-23 22:11:25 +06:00
dumbmoron 5e26c1e122
web/PickerItem: small refactor 2024-07-23 16:07:12 +00:00
dumbmoron 690ae835b4
web/ChangelogEntry: hide focus ring for version 2024-07-23 12:18:18 +00:00
dumbmoron 3218adf5fd
web/changelogs: focus on version on page load 2024-07-23 11:42:13 +00:00
wukko b540703de8
web/UpdateNotification: increase icon size 2024-07-23 16:46:18 +06:00
wukko 8b6775ca86
web/UpdateNotification: reduce right padding 2024-07-23 16:43:29 +06:00
dumbmoron c32a5301a0
web/updates: make page scrollable on navigation sides on desktop 2024-07-23 10:32:18 +00:00
dumbmoron 61e47b38d1
web/DownloadButton: slight refactor 2024-07-23 10:09:42 +00:00
wukko 2d7d4cf091
web: add an update notification 2024-07-23 16:04:43 +06:00
dumbmoron 89181c6ddc
web/settings: make version info optional, wait for load 2024-07-23 09:36:49 +00:00
wukko 23c9eb73aa
web: global data-focus-ring-hidden attribute 2024-07-23 14:41:55 +06:00
wukko 19ee8360c4
web/updates: revert div -> main to fix html hierarchy 2024-07-23 14:19:22 +06:00
wukko 0d34bc0ab3
web/updates: focus the main content & fix ghost buttons 2024-07-23 14:13:05 +06:00
wukko a9e8ea1306
web/Placeholder: focus first on page 2024-07-23 14:08:34 +06:00
wukko f2de69f153
web/save: focus the page content on navigation 2024-07-23 14:06:44 +06:00
wukko 1234cc1083
web/settings: focus the page after navigation
mobile: focus page header
desktop: focus page content
2024-07-23 14:04:19 +06:00
wukko c9ca0d51d9
web: add first focus functionality
element with `data-first-focus` will be focused first after navigation. extremely useful for screen readers.
2024-07-23 13:53:43 +06:00
wukko 314d3590ec
web/DialogButtons: don't apply hover effect if button is colored 2024-07-23 13:22:05 +06:00
wukko c12088e297
web/SmallDialog: flex container for header & icon
fixes stranded padding
2024-07-23 13:18:08 +06:00
wukko 836da67f19
web/changelogs: remove 3.3 changelog as it's a duplicate of 3.4 2024-07-23 12:44:13 +06:00
wukko 94853f0b7b
web/FilenamePreview: finish the component 2024-07-23 12:34:14 +06:00
wukko 518f634385
web/settings: reduce thickness of back button icon 2024-07-23 12:20:30 +06:00
wukko 5c6ef19132
web/settings: update the back button icon 2024-07-23 12:19:38 +06:00
wukko 48078e7e75
web/updates: replace chevron with arrow 2024-07-23 12:19:12 +06:00
wukko ee162aa236
web/ClearButton: fix rendering bug in safari & clean up 2024-07-23 12:13:40 +06:00
wukko 0225a7c46c
web/settings: simplify sidebar, add version info, flatten page navigation 2024-07-23 11:00:27 +06:00
wukko 8c96ccbc7b
web/SmallDialog: make body scrollable on overflow & limit height 2024-07-23 10:01:55 +06:00
wukko bdd572ea51
web/dialogs: reduce margin on mobile 2024-07-23 09:59:08 +06:00
wukko 7ee99ad30f
web/Skeleton: add elevated skeleton and use it for picker item
- fixed bg not being visible when shimmer is not on the element in dark theme
- fixed stuck gradient when motion is reduced
- fixed big skeleton
- skeleton is no longer focusable
2024-07-23 09:55:55 +06:00
wukko 718dc4cf0a
web/DownloadButton: darken when disabled 2024-07-22 16:42:37 +06:00
wukko 2fb05d018c
web/DownloadButton: show done button state for picker 2024-07-22 16:35:36 +06:00
wukko bc8e3d4a7c
web/Omnibox: simplify link state storage 2024-07-22 16:34:19 +06:00
dumbmoron 44243cc4c2
web/PickerDialog: fix typo 2024-07-22 14:17:33 +00:00
dumbmoron d170f619d2
web: use conditionals instead of special classes where it makes sense 2024-07-22 10:17:06 +00:00
wukko b0a69f9944
web/PickerItem: always show type badge, prevent right click on video
- fixed type badge centering in webkit
- increased border radius of type badge to match icons inside it
2024-07-22 16:14:26 +06:00
dumbmoron c03337fed9
web/skeleton: don't render if hidden 2024-07-22 10:11:23 +00:00
dumbmoron 705fac16a6
web/dialog: internal refactor 2024-07-22 09:24:17 +00:00
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