65 Commits

Author SHA1 Message Date
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
wukko
7427788efd
web/PickerItem: add support for gifs in picker 2024-07-26 21:34:18 +06: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
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
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
dumbmoron
44243cc4c2
web/PickerDialog: fix typo 2024-07-22 14:17:33 +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
705fac16a6
web/dialog: internal refactor 2024-07-22 09:24:17 +00:00