Commit graph

724 commits

Author SHA1 Message Date
dumbmoron
f93d84c457
web/libav: add ffprobe wrapper 2024-08-13 15:34:53 +00:00
dumbmoron
4636f7b0d4
web/libav/wrapper: make sure libav is initialized only once 2024-08-13 15:34:53 +00:00
dumbmoron
72545ffb5d
web/remux: init libav on page load, basic progress event handling 2024-08-13 15:34:53 +00:00
dumbmoron
28600e7e4c
web/libav: emit progress events 2024-08-13 15:34:53 +00:00
wukko
f661e839b1
web/i18n/remux: less yapping in description 2024-08-13 16:56:46 +06:00
wukko
c8904fd939
web/FileReceiver: reduce icon size, change icon when dragged over 2024-08-13 16:48:53 +06:00
wukko
b9958a8102
web/FileReceiver: fix meowbalt z index 2024-08-13 16:16:50 +06:00
wukko
0d41fe6fa3
web/FileReceiver: animated svg dashed stroke, padding improvements 2024-08-13 16:15:00 +06:00
wukko
70b300bd71
web/remux: add processing state, clean file, prevent render loop 2024-08-13 15:22:24 +06:00
wukko
1fd2b72075
web/remux: rename DropReceiver component 2024-08-13 14:17:58 +06:00
wukko
af428bc964
web: stylize the file receiver, move text to i18n, update remux page 2024-08-13 14:17:10 +06:00
wukko
09deb5c7b6
web/Sidebar: move settings tab to bottom & move updates tab lower 2024-08-13 12:35:18 +06:00
wukko
6cc0871d99
web: add static headers file for multithreading on cloudflare pages 2024-08-13 12:06:09 +06:00
dumbmoron
e79f466c5f
web/libav: shrink buffer _after_ ffmpeg is done running 2024-08-13 00:23:13 +00:00
dumbmoron
e084092f37
web/libav: remove stray curly brace 2024-08-12 20:39:36 +00:00
dumbmoron
bc272b910e
web/libav: fix import double slash, use unlinkreadaheadfile 2024-08-12 20:36:24 +00:00
dumbmoron
5fb9b1c809
web: bump libav.js version 2024-08-12 20:34:57 +00:00
dumbmoron
83f46864b2
web/libav: properly instantiate libav property 2024-08-12 20:03:30 +00:00
dumbmoron
038c29dc8d
web/libav: move types to dedicated file 2024-08-12 20:03:07 +00:00
wukko
b2288ed037
web: remove ffmpeg worker workaround 2024-08-13 00:23:20 +06:00
wukko
ed722e77ea
web: remove ffmpeg wasm dependencies 2024-08-13 00:20:01 +06:00
wukko
55ab3c36b1
web/lib: remove ffmpeg 2024-08-13 00:18:45 +06:00
dumbmoron
940826697c
web/libav: preallocate memory for output when remuxing 2024-08-12 18:07:04 +00:00
dumbmoron
2198a696ce
web/libav: make it work & clean up 2024-08-12 17:06:45 +00:00
dumbmoron
75ef4604d8
web/vite: expose libav.js files directly 2024-08-12 16:47:11 +00:00
wukko
6a04312781
web: update package 2024-08-12 22:30:09 +06:00
wukko
57054c24b2
web: draft libav functionality 2024-08-12 22:28:38 +06:00
wukko
778eb51502
web/ffmpeg: don't return an empty blob 2024-08-11 19:13:04 +06:00
wukko
3fd05891e6
web/remux: move drop area and open file button into own components 2024-08-11 18:30:42 +06:00
wukko
b33bd39484
web/ffmpeg: accept and return blob, proper types & extensions, clean up 2024-08-11 18:24:29 +06:00
wukko
f87f6fa9c9
web/remux: accept files on drag, update ffmpeg function call 2024-08-11 13:05:15 +06:00
wukko
1113ddd9c5
web/ffmpeg: universal render function for all needs 2024-08-11 13:04:40 +06:00
dumbmoron
7044100aed
web: fix build for remux and remove unused import 2024-08-10 11:45:16 +00:00
wukko
3c2dd93841
web/SidebarTab: fix scroll to first page of tabs 2024-08-10 17:43:53 +06:00
wukko
41a002929e
web: barebones core for ffmpeg & remux page 2024-08-10 17:21:39 +06:00
wukko
ebd6cc801b
web/Sidebar: remove incorrect aria-orientation 2024-08-09 21:07:38 +06:00
wukko
5e0824022c
web/DonateShareCard: add alt text for qr code 2024-08-09 21:04:56 +06:00
wukko
b71d51de21
web: move svg icons from lib to components 2024-08-09 16:35:00 +06:00
wukko
6bda6dab03
web/DonateShareCard: hide twitter button in russia 2024-08-09 16:06:33 +06:00
wukko
d1a2d768d9
web/DonateShareCard: expand the card on QR press & better scaling 2024-08-09 16:06:19 +06:00
wukko
f81f155eb0
web/DonateShareCard: clean up imports 2024-08-09 14:52:48 +06:00
wukko
ffea8e6f2e
web/DonateShareCard: hide share button if user agent doesn't support it 2024-08-09 14:52:22 +06:00
wukko
e7386234bc
web/DonateShareCard: fix unrelated buttons triggering the copy anim 2024-08-09 14:51:25 +06:00
wukko
e4ec468f60
web/DonateShareCard: change action button id and class names
some adblock lists block everything named "share-button(s)"
2024-08-09 14:47:54 +06:00
wukko
077471d799
web/DonateShareCard: localize strings 2024-08-09 14:40:52 +06:00
wukko
536d9c9742
web/i18n: move call to action button strings to own file 2024-08-09 14:40:30 +06:00
wukko
21ef35ea20
web/donate: add a share card with qr and buttons
also:
- fixed more scaling quirks
- fixed thick icons
- fixed icon padding
2024-08-09 14:35:55 +06:00
wukko
e45aa2bdf6
web/CopyIcon: replace copy icon with a link icon 2024-08-09 14:35:06 +06:00
wukko
937d12ddff
web/donate: bring up repeated card css to container
also fixed some scaling quirks on mobile
2024-08-09 13:13:48 +06:00
wukko
209833c8ea
web/DonateOptionsCard: update subtitle color 2024-08-09 12:27:49 +06:00
wukko
b8cd6eb1e7
web/Sidebar: update tab holder aria role 2024-08-09 12:05:59 +06:00
wukko
608824f862
web/DonateBanner: focus the title first on the page 2024-08-09 12:05:15 +06:00
wukko
c94266a127
web/DonateOptionsCard: better accessibility 2024-08-09 12:04:43 +06:00
wukko
d4e91f2a1c
web/DonateOptionsCard: fix button active color 2024-08-09 11:48:04 +06:00
wukko
cc5835a546
web/DonateOptionsCard: adjust padding, fix width, mask options row 2024-08-09 11:46:56 +06:00
wukko
98ac05ad86
web/donate: reduce text padding on mobile 2024-08-09 11:35:05 +06:00
wukko
80c26f712c
web/DonateBanner: better scaling 2024-08-09 11:31:57 +06:00
wukko
abeacd7534
web/DonateOptionsCard: move all strings to i18n, mobile scaling 2024-08-09 11:31:44 +06:00
dumbmoron
b510cbf9e0
web/donate: add dollar sign before custom input 2024-08-06 18:30:06 +00:00
dumbmoron
c90a01daf9
web/donate: update logic for sending custom amounts 2024-08-06 18:30:06 +00:00
dumbmoron
d67ed89c38
web/donate: refactor, implement logic for choosing donation periodicity 2024-08-06 18:30:06 +00:00
dumbmoron
1077797aae
web/donate: add minimum/maximum amounts to donation amount 2024-08-06 18:30:06 +00:00
wukko
4505d6cfe1
web/api: merge picker types 2024-08-06 21:32:17 +06:00
wukko
ac6d68ec45
web/api: remove deprecated statuses, update error type, time out request
also updated some error codes
2024-08-06 20:50:20 +06:00
dumbmoron
5948cab4fb
web: move iPadOS workaround to global level 2024-08-06 14:19:01 +00:00
dumbmoron
3b90f5ee17
web/Omnibox: workaround for link area being unusable on iPadOS 15 2024-08-06 14:02:21 +00:00
dumbmoron
075b2799e3
web/DonateBanner: fix top scroll caused by banner hearts overflowing
wtf
2024-08-06 13:24:11 +00:00
dumbmoron
0b602b9164
web/DonateBanner: disable pointer events for background animation 2024-08-06 12:42:17 +00:00
wukko
83cd51f4db
web/DonateOptionsCard: fix width 2024-08-06 16:53:40 +06:00
wukko
a25e0bfb04
web/DonateOptionsCard: fix prefilled stripe amount 2024-08-06 16:48:39 +06:00
wukko
14d0577895
web/DonateOptionsCard: hide webkit stepper button 2024-08-06 16:46:32 +06:00
wukko
eccf75b7b7
web/donate: redesign the donation options card 2024-08-06 16:45:25 +06:00
wukko
5d58502fd8
web/DonateBanner: fix meowbalt overlapping the update notification 2024-08-06 14:57:10 +06:00
wukko
c98b08fc7f
web/DonateBanner: load imput logo as component 2024-08-06 14:54:31 +06:00
wukko
e074dd5b89
web/layout: more global styling for long-text-noto 2024-08-06 14:50:12 +06:00
wukko
bf73f512e2
web/donate: move donation options card to own component
- moved reused variables to parent
- added body text
2024-08-06 14:48:06 +06:00
wukko
87b76ec1e2
web/layout: add global long-text-noto style class 2024-08-06 14:29:15 +06:00
wukko
894c1ada24
web/DonateBanner: make subtitle easier to read 2024-08-06 14:28:32 +06:00
wukko
250269bc09
web/DonateBanner: move to donate components folder 2024-08-06 14:27:56 +06:00
wukko
c8a0f74e62
web/DonateBanner: dark theme & scaling support 2024-08-06 14:09:16 +06:00
wukko
9dad15b48c
web/DonateBanner: fix up colors & sizes to match mockup 2024-08-06 13:24:40 +06:00
dumbmoron
640898e022
web/donate: move header to component, initial donation options 2024-08-04 16:11:26 +00:00
dumbmoron
e72efae24d
web/donate: initial re-redesign 2024-08-04 16:11:26 +00:00
dumbmoron
d431e9e9a2
web: add fast meowbalt 2024-08-04 16:11:26 +00:00
wukko
6267d1d58f
web/version: use workspace version-info package 2024-08-04 22:01:36 +06:00
wukko
bfbf653463
web/package: update version to 10.0.0 2024-08-04 00:52:27 +06:00
wukko
61f8a61986
web/i18n/settings: point out that processing override desc isn't final 2024-08-04 00:47:09 +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
dumbmoron
18b3daf90f
web/package: lower minimum node version, replace npm with pnpm 2024-08-03 09:50:42 +00:00
wukko
ec98605336
git: update general gitignore & web gitignore 2024-08-02 21:16:04 +06:00
wukko
4f877f199b
web: add to pnpm workspace and move lock to pnpm 2024-08-02 21:03:25 +06:00
wukko
008163073d
web/updates: merge skeleton & entry components 2024-07-31 19:28:48 +06:00
wukko
2c4ba96d57
web/TransferSettings: pretty formatting 2024-07-31 14:59:53 +06:00
wukko
e7587a2ec6
web/TransferSettings: friendlier error messages 2024-07-31 14:57:34 +06:00
wukko
585ebd9cb4
web/settings/advanced: hide reset settings button if there are no settings 2024-07-31 13:53:34 +06:00
dumbmoron
d1930c1dbc
web/advanced: check if imported settings are valid 2024-07-30 17:15:38 +00:00
dumbmoron
3d34e09e1c
web: don't display pointer cursor for disabled buttons 2024-07-30 16:37:44 +00:00
dumbmoron
a6a0e91674
web/TransferSettings: don't offer export if there is nothing to export 2024-07-30 14:08:49 +00:00
wukko
96df9d55b8
web/updates: fix duplicate css 2024-07-29 14:46:10 +06:00
wukko
5fc893a273
web/updates: add alt text to navigation buttons 2024-07-29 14:32:15 +06:00
wukko
8b866ddf6f
web/SettingsNavTab: reduce padding on desktop 2024-07-29 13:11:29 +06:00
wukko
a4e0e21a97
web/Omnibox: accept keyboard shortcuts only when focused 2024-07-28 23:36:38 +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
87adffaf02
web/ResetSettingsButton: add a timeout to reset button in dialog 2024-07-28 14:51:02 +06:00
wukko
f34340a06d
web/TransferSettings: add a timeout to import button in dialog 2024-07-28 14:50:59 +06:00
wukko
11d3d71937
web/dialogs: move buttons to own component & add optional timeout 2024-07-28 14:49:12 +06:00
wukko
a2ead8a813
web/i18n/dialog: add more info to import warning 2024-07-28 14:08:27 +06:00
wukko
cce3ce4cfa
web/download: show saving dialog if new tab got blocked 2024-07-28 13:49:23 +06:00
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
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
wukko
03bd995839
web/Omnibox: disable focus ring on inner input element 2024-07-15 14:29:02 +06:00
wukko
25cfa3e443
web/Omnibox: add extraction of links from page hash and query 2024-07-15 14:21:51 +06:00
wukko
f9dc8096bc
web: always show focus ring 2024-07-14 23:21:04 +06:00
wukko
6ff874d5a1
web/i18n/settings: fix a typo in analytics description 2024-07-14 23:05:31 +06:00
wukko
128ab388f3
web: add env variable & plausible functionality 2024-07-14 22:50:18 +06:00
dumbmoron
436b735d2a
web/settings: try to migrate settings if new format is not used yet 2024-07-13 20:39:40 +00:00
dumbmoron
5a630c2320
web/migrate: set up migration from old settings format 2024-07-13 20:37:38 +00:00
wukko
9f649ff1db
web/settings: update analytics text & add a link to more info 2024-07-14 21:51:56 +06:00
wukko
f582be5d44
web/i18n/save: remove "the" from terms note 2024-07-14 21:27:34 +06:00
dumbmoron
4168998b93
web/settings: add "privacy" page with analytics toggle 2024-07-14 15:26:55 +00:00
dumbmoron
ee9421b831
web/state/settings: add "disable analytics" option 2024-07-14 15:22:42 +00:00
wukko
578150e40e
web: add dynamic lang html tag 2024-07-14 21:10:41 +06:00
wukko
ad3703ab73
web/settings: fix header on mobile at certain scales 2024-07-14 20:52:22 +06:00
wukko
1712dc8948
web: switch main body color depending on theme 2024-07-14 20:42:32 +06:00
wukko
36c11556d7
web/i18n/save: fix grammar in terms note 2024-07-14 20:33:49 +06:00
dumbmoron
1f0958a0d1
web/settings: move to state folder 2024-07-13 13:17:03 +00:00
wukko
4232c3437b
web: dialog system & basic small dialog 2024-07-13 19:15:43 +06:00
wukko
c5fbff560b
web/debug: show all data as json 2024-07-13 19:07:35 +06:00
dumbmoron
15caad7e36
web: adjust gray color to pass WCAG AA guideline 2024-07-13 12:51:31 +00:00
dumbmoron
3f98f5bee8
settings: move schemaVersion definition to updateSetting 2024-07-13 12:32:08 +00:00
dumbmoron
f4aff44004
debug: include settings json on page 2024-07-13 12:25:50 +00:00
dumbmoron
2cce4bd521
settings: expose settings that have only been modified
also reduce unnecessary loads from storage
2024-07-13 12:25:27 +00:00
dumbmoron
2a0366a58d
settings: add migrations, include schemaVersion in storage 2024-07-13 12:05:52 +00:00
wukko
6c9d759a3a
web: update save page i18n & add link to terms and ethics of use
now also styling <a> properly, with exceptions only when needed
2024-07-13 13:45:53 +06:00
wukko
151fdad047
web/Sidebar: make bottom padding match the corner radius of the page 2024-07-12 20:49:44 +06:00
wukko
ce740770bc
web/Sidebar: remove duplicate padding in css 2024-07-12 20:46:46 +06:00
wukko
96be9ffbc3
web/sidebar: redo padding on mobile & desktop
- accommodate space for scaling animation
- replace static padding with variable in calculations
- no more weird padding on mobile
2024-07-12 20:22:12 +06:00
wukko
914be64153
web/settings: make navigation scrollable on overflow 2024-07-12 19:18:47 +06:00
wukko
5ccde7995e
web: convert global state classes to data attributes
also cleaned up unnecessary dupe in sidebar component
2024-07-12 19:15:55 +06:00
wukko
b12ad56cc1
web/LanguageAutoToggle: update preferred language variable name 2024-07-12 19:02:23 +06:00
wukko
d27bed7add
web: respect reduced motion & transparency preferences
also cleaned up settings & device libs
2024-07-12 18:49:29 +06:00
wukko
1160b90c17
web/SidebarTab: apply will-change only on iphone 2024-07-12 17:16:26 +06:00
wukko
459c746dcc
web/SidebarTab: yet another attempt to fix blurriness on small res screens 2024-07-12 17:06:05 +06:00
wukko
27082cd725
web/SidebarTab: go back to neutral transform state at end of animation 2024-07-11 12:26:39 +06:00
dumbmoron
aea7ebb371
LanguageAutoToggle: change language even if it does not exist
if the locfile does not exist, it will just fall back to english
2024-07-10 18:46:43 +00:00
wukko
4759f2037c
web/device: add user agent 2024-07-11 00:27:46 +06:00
wukko
02437a686c
web/i18n/settings: update language description
added information about translation fallback
2024-07-11 00:21:49 +06:00
wukko
7648c115e0
web/vite: change build target to esnext 2024-07-11 00:05:29 +06:00
wukko
936da1c9ab
web/debug: show page content only when debug mode is enabled 2024-07-10 23:52:44 +06:00
wukko
6c7695ca6c
web/error: redirect home on 404 2024-07-10 23:50:50 +06:00
dumbmoron
95bcf7bf66
settings: only store settings if changed by user 2024-07-10 17:47:46 +00:00
wukko
a6ddceb643
web/settings: add advanced & debug pages 2024-07-10 23:35:53 +06:00
wukko
49f9057b6b
web/SettingsNavSection: make section title optional 2024-07-10 23:35:40 +06:00
wukko
2b907e5684
web/lib/settings: use default settings as base when loading from storage 2024-07-10 23:29:47 +06:00
wukko
bc63b0c6b7
web/lib/device: fix ipad recognition 2024-07-10 23:28:23 +06:00
dumbmoron
d1767c550c
version.json: refactor, don't use error(), use cf pages env if available 2024-07-10 16:23:35 +00:00
dumbmoron
a5d87edeca
version.json: correct parsing for https clones 2024-07-10 16:14:54 +00:00
dumbmoron
23bcd6076a
web: add prerendered version.json endpoint for frontend metadata 2024-07-10 16:04:00 +00:00
wukko
b92579ea2c
web/LanguageDropdown: yet another fix for chrome on windows 2024-07-10 21:54:04 +06:00
wukko
3a531713d0
web/SidebarTab: make the button squishy 2024-07-10 21:46:14 +06:00
wukko
f498ea65b0
web/i18n/settings: improve reduce motion description 2024-07-10 20:21:41 +06:00
wukko
6c2d147bc6
web/settings: clean up the mobile header 2024-07-10 20:19:46 +06:00
wukko
e52340f33a
web/settings: improve subtext visibility 2024-07-10 20:19:05 +06:00
wukko
ceabce864f
web/i18n/settings: remove "preferred" from titles 2024-07-10 19:37:49 +06:00
wukko
c013134b70
web/settings: move switcher description to correct component 2024-07-10 19:35:23 +06:00
wukko
d8420116dc
web/LanguageDropdown: fix option style in chrome on windows 2024-07-10 18:42:00 +06:00
wukko
496d440e5b
web/settings: refresh the locale state when auto mode is toggled 2024-07-09 21:41:53 +06:00
wukko
82ac838655
web: use credentials for manifest.json 2024-07-09 21:16:40 +06:00
wukko
19a0b00853
web/i18n: add fallback locale 2024-07-09 17:40:45 +06:00
wukko
1bf0e6707b
web/settings/appearance: rearrange sections 2024-07-08 19:47:59 +06:00
wukko
cbc1febab2
web/settings: disable the language dropdown when auto 2024-07-08 19:46:20 +06:00
wukko
bd2bdf326f
web/Omnibox: handle enter key press 2024-07-08 19:29:30 +06:00
wukko
05044922d5
web/LanguageDropdown: fix current selection string 2024-07-08 19:24:40 +06:00
wukko
6570d163e9
web/SidebarTab: indicate that tab is selected in aria 2024-07-08 12:58:21 +06:00
wukko
862366b5c5
web/LanguageDropdown: fix missing text in firefox & small font size in safari 2024-07-08 12:49:27 +06:00
wukko
bad7e3307d
web/LanguageDropdown: proper component style
you can't toggle the "select" element programmatically, so i had to come up with a workaround. it works and looks beautifully!

also fixed buggy overflow in SettingsToggle component.
2024-07-08 00:18:25 +06:00
wukko
35a8628cc1
web/SettingsToggle: change aria role to switch 2024-07-07 22:45:35 +06:00
dumbmoron
da1a11b5ce
svelte: don't use relative paths for bundle links in html
this prevents a blank page from showing up when a user
visits a non-existing page on a static build
2024-07-29 10:13:45 +00:00
wukko
d22230b1d5
web/settings: highlight the setting when linked to
- remade the way padding in settings is done to accommodate space for a highlight
- renamed nav components to indicate better what they are
2024-07-07 21:51:46 +06:00
wukko
430bfaca43
web/settings: add section ids 2024-07-07 19:14:49 +06:00
wukko
9b3f289b0e
web/lib/api: don't follow redirects away from api 2024-07-07 18:52:06 +06:00
dumbmoron
a6a51b850a
web/chore: tabs to spaces
idk how this happened :-3
2024-07-04 22:27:38 +00:00
dumbmoron
9ae0473f80
web/sidebar: simplify settings link logic 2024-07-04 22:25:47 +00:00
dumbmoron
157b687ab5
web/settings: redirect to full page if base page is opened on desktop 2024-07-04 22:25:22 +00:00
dumbmoron
16c76e7e92
web/settings: redirect invalid settings paths to default settings page 2024-07-04 22:18:02 +00:00
dumbmoron
e98f76c8ee
web/build: merge i18n chunks for each language into one file 2024-07-04 22:15:15 +00:00
wukko
422b907703
web/i18n/settings: update saving.ask.description 2024-07-04 19:09:02 +06:00
dumbmoron
8fd2c66441
web/i18n: dynamically determine languages from i18n folder contents 2024-07-03 19:28:44 +00:00
wukko
3e9296ac1e
web: remove legacy global navigation shortcuts 2024-07-04 00:12:30 +06:00
wukko
8b801bad50
web/save: keyboard shortcut for muted mode 2024-07-04 00:03:46 +06:00
wukko
97d381e993
web: move all strings to i18n & improve a11y
- omnibox is now fully usable with a screen reader
- back button is now interpreted as such
- subtext now accepts line breaks
2024-07-03 23:54:44 +06:00
dumbmoron
70339b7ae9
web: handle global keyboard shortcuts 2024-07-03 17:51:01 +00:00
dumbmoron
743338ea4c
web/omnibox: add keyboard shortcuts support
- shift+d to paste
    - ⌘/ctrl+v to paste
    - shift+k for auto mode
    - shift+l for audio mode
    - esc to clear input

todo:
    - shortcut for "muted" mode
2024-07-03 17:42:34 +00:00
dumbmoron
9c4a4fb5a1
web: fix sveltekit warning about body directly in <body> 2024-07-03 17:06:27 +00:00
dumbmoron
d0f78eda53
manifest: fix chrome warnings 2024-07-03 17:05:42 +00:00
wukko
374611553b
web: add notch easter egg & optimize for landscape
it took way too much time to optimize the damn logo sticker under notch for all devices & zoom states

also improved device lib api
2024-07-03 19:05:14 +06:00
wukko
901f0a7480
web/settings: more accessibility improvements 2024-07-03 17:10:53 +06:00
wukko
a478993599
web: improve screen reader usability
- switchers now have audible states
- toggles are now interpreted as toggles
- fixed weird spacing introduced in last commit
2024-07-03 14:09:09 +06:00
wukko
5ced7b5388
web/save: move strings to i18n & translate to ru
also fixed line break in switcher for future lengthier translations (german, for example)
2024-07-03 13:52:27 +06:00
wukko
9939f3b172
web: i18n system & navbar translations
dynamic page language and language dropdown!! finally!!
2024-07-03 00:16:03 +06:00
wukko
d11874e57f
web/layout: update input border color for light theme 2024-07-02 19:25:37 +06:00
wukko
567cfe05ec
web/settings: unfuck tab padding on mobile 2024-06-30 15:58:40 +06:00
wukko
7dd33d1341
web/layout: move main bg coloring to #cobalt 2024-06-29 23:46:28 +06:00
wukko
3527131cd7
web/settings: calculate item padding properly 2024-06-29 23:31:40 +06:00
wukko
a1913988d7
web/settings: adjust padding for switcher & toggle 2024-06-29 23:02:10 +06:00
wukko
0c33ac3a1c
web/SettingsToggle: clean up 2024-06-29 22:53:09 +06:00
wukko
ad6539e3bd
web/settings: replace checkbox with toggle
- equal font size & padding for all subtexts in settings
- equal padding & border radius for all settings components

it just looks way better now
2024-06-29 22:51:24 +06:00
wukko
c7befcb100
web/Switcher: new style & clean up 2024-06-29 21:19:35 +06:00
wukko
f383f5d94e
web/theme: add dynamic status bar color on mobile 2024-06-29 20:24:51 +06:00
wukko
d817888838
web/device: add global constant for device info 2024-06-29 20:24:14 +06:00
wukko
10a9c955d9
web: proper theming 2024-06-29 20:09:17 +06:00
wukko
2a1344f93d
web: update meowbalt smile asset 2024-06-28 21:57:57 +06:00
wukko
b2652f29ac
web/Omnibox: download right after pasting 2024-06-25 22:52:17 +06:00
wukko
d008bffc08
web/DownloadButton: open share sheet on ios 2024-06-25 22:25:29 +06:00
wukko
98b0a2f10a
web/SettingsCheckbox: remove yassing 2024-06-25 21:06:07 +06:00
wukko
635561394c
web: add dynamic page titles 2024-06-25 21:01:08 +06:00
wukko
7b289bfb16
web: mobile improvements
- all buttons now reflect that they're pressed or hovered
- settings feel way better on mobile
- settings header has been completely remade
2024-06-25 20:59:25 +06:00
wukko
49e2df425d
web: remove future feature placeholders 2024-06-25 19:41:38 +06:00
wukko
1f88a211aa
web/SettingsCheckbox: proper checkbox style 2024-06-25 19:34:28 +06:00
wukko
ba2d0bb67f
web: fix app height & overscroll 2024-06-25 16:14:54 +06:00