Commit graph

54 commits

Author SHA1 Message Date
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
Some checks are pending
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
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
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
wukko 66bac03e30
web/dialogs: add picker dialog & clean up small dialog 2024-07-22 14:33:43 +06:00
dumbmoron bb446ecf3e
web: add Optional type and use it 2024-07-21 17:26:21 +00:00
wukko 2efaa11670
web/DialogHolder: clean up 2024-07-21 14:37:03 +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
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
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 205494b367
web/SmallDialog: fix scaling on small screens 2024-07-20 18:49:51 +06:00