Commit Graph

76 Commits

Author SHA1 Message Date
jj
22eb05bf98 web/dialog: fix meowbalt not being displayed on nojs popup 2025-05-23 10:45:26 +00:00
wukko
9a9b9a6dfc web/PickerItem: make the image fade in longer 2025-05-04 16:14:37 +06:00
wukko
d717cf1aaa web/PickerItem: better css for skeleton 2025-05-04 15:47:55 +06:00
wukko
d58155426f web/PickerItem: props refactor, fade in images on load
feels really good now
2025-05-04 15:36:13 +06:00
wukko
a1e20ccc3e web/SmallDialog: delay error haptics by 150ms 2025-04-30 23:56:25 +06:00
wukko
76b04aabf0 web: update dependencies to svelte 5
just updating the dependencies for now, will migrate components gradually over time
2025-04-28 22:52:22 +06:00
wukko
9657db3515 web: remove focus ring css workarounds 2025-04-27 20:38:01 +06:00
wukko
0e1750e215 web: use outline for focus ring instead of box-shadow
- prevents conflicts with existing box-shadow(s) on basically all components
- removes the need for data-focus-ring-hidden or any other weird workarounds
2025-04-27 20:35:50 +06:00
wukko
926008818e web/DialogHolder: improve first animation performance, prevent lag
sometimes the initial dialog animation lags, and as i've discovered it's mostly caused by animating box-shadow (even though it's not directly animated). replacing it with filter seems to have improved the performance a LOT lol.

also:
- made the in animation jumpier
- delayed the animation of modal a bit to let the background start appearing first
- extended opacity fade in by 5%
2025-04-24 17:18:22 +06:00
wukko
d1798bc59d merge: updates from main 2025-04-20 14:21:39 +06:00
wukko
f5598d7897 web/SavingDialog: fix unexpected inner container box-shadow 2025-04-05 23:03:26 +06:00
wukko
93ff9b62d6 web/DialogContainer: prevent an error after a race condition
an error is no longer thrown if several dialogs were closed while timeout was running

this should really be replaced by proper dialog management system, with each dialog having a unique id and removal happening via that id, not just array.pop()
2025-03-17 16:47:03 +06:00
wukko
7e71701e10 web/SmallDialog: add error haptics to error popups 2025-03-05 22:19:08 +06:00
wukko
0d3044c5e6 web: add haptics for all copy actions
& prevent spamming the copy action along with haptic feedback :3

should probably unify all of this cuz this is really messy
2025-03-05 18:07:46 +06:00
wukko
dcc5b5d2fd web/PickerDialog: adjust mobile scaling a bit 2025-02-13 01:05:08 +06:00
wukko
bc70cf4b6b web/DialogHolder: improve bottom margin in mobile pwa 2025-02-13 00:53:17 +06:00
wukko
8d7f0d984f web/layout: add & use the css variable for the focus ring 2025-02-13 00:32:02 +06:00
wukko
935947cafc web/PickerItem: add a proper focus ring & fix different border radius 2025-02-13 00:29:09 +06:00
wukko
553b3f9091 web/PickerDialog: align the grid perfectly, better scaling 2025-02-13 00:26:45 +06:00
wukko
14556b3190 web/PickerDialog: ignore wrong items in an array 2025-02-11 15:39:53 +06:00
wukko
f76d40bec4 web/PickerItem: make sure the item url is valid 2025-02-11 15:29:23 +06:00
wukko
366279a3bc web/PickerDialog: don't render an item if it has no url 2025-02-11 15:25:01 +06:00
wukko
e93aa54e2f web/SavingDialog: fix weird focus border in chromium browsers 2024-11-25 12:22:28 +06:00
wukko
6e81c55fc1 web: replace text-align: left with text-align: start
improves support for arabic and other RTL languages
2024-11-20 14:47:07 +06:00
jj
be7c09bd07 web/lib: move dialogs to state folder 2024-10-20 12:51:59 +00:00
dumbmoron
eab37ae7ff web/dialog: show dialog when loading cobalt with no js support 2024-10-12 18:01:57 +00:00
dumbmoron
0b06299da0 web/DialogButton: add "link" buttons 2024-10-12 17:42:53 +00:00
wukko
e0132ab928 web/PickerItem: add urlType to downloading params 2024-09-23 15:18:20 +06:00
wukko
ba93492c8d web: prevent openURL action on ios devices if url is redirect 2024-09-23 15:06:57 +06:00
wukko
853bc26587 web/download: support downloading and sharing raw files 2024-09-09 02:30:03 +06:00
wukko
913beda417 web/DialogHolder: fix top padding 2024-09-09 00:10:35 +06:00
wukko
53eb052fe6 web/SavingDialog: add ios saving tutorial 2024-09-09 00:10:21 +06:00
wukko
33d6b5bd81 web: base custom instance functionality
also:
- renamed processing tab in settings to "instances"
- improved override description
- prefer custom over override (and grey out the option)
- dedicated lib for all api safety warnings
- left aligned small popup with smaller icon
- ability to grey out settings category & toggle
2024-08-30 17:15:05 +06:00
dumbmoron
d7d707e666 web/DialogHolder: fix dialog animation jumping on new safari versions
WebKit/WebKit@ce08f32453 breaks this animation on newer versions
of safari. why? i guess we'll never know
2024-08-22 17:09:58 +00:00
wukko
536d9c9742 web/i18n: move call to action button strings to own file 2024-08-09 14:40:30 +06:00
wukko
aba444ec8b web: updated api endpoint & params, default instance override
- dialogs can be undismissable now (impossible to click away by pressing the bg behind it)
- added security warning about api override
- moved default api url to env
- added new processing settings page
2024-08-04 00:43:24 +06:00
wukko
48d24ee1ea web/SavingDialog: show that link was copied, better accessibility 2024-07-28 23:29:32 +06:00
wukko
3aeebcc911 web/SavingDialog: don't render body text parent if there's no text 2024-07-28 19:20:32 +06:00
wukko
97e7763503 web/download: show explanation when getting blocked by browser 2024-07-28 19:15:22 +06:00
wukko
5c780a2d2e web: added saving method preference, made downloading resilient 2024-07-28 18:59:58 +06:00
wukko
11d3d71937 web/dialogs: move buttons to own component & add optional timeout 2024-07-28 14:49:12 +06:00
wukko
5bb5c6dc3c web/SmallDialog: fix line breaking in body text 2024-07-28 13:15:28 +06:00
wukko
2fa1ad8f12 web/SavingDialog: hide buttons when actions are not supported 2024-07-28 12:49:13 +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
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