Commit graph

683 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
wukko
19661f2f72
web/save: fix overflow 2024-06-25 15:54:33 +06:00
wukko
352b0eae59
web/SettingsTab: fix overflow & chevron scaling 2024-06-25 15:44:06 +06:00
wukko
2512c4c6be
web: preload entire code 2024-06-25 15:32:36 +06:00
wukko
44f17e71bc
web/settings: update placeholder 2024-06-25 14:54:46 +06:00
wukko
55515f0fb1
web/settings: mobile layout, better padding & borders 2024-06-25 14:50:59 +06:00
wukko
6fdc63a6c2
web/SettingsTab: fix border radius & padding 2024-06-25 13:07:43 +06:00
wukko
5b57c7601d
web/Sidebar: don't center the scrollable list 2024-06-25 00:31:16 +06:00
wukko
2c63d431d5
web/Sidebar: dynamic settings tab link based on device type 2024-06-25 00:12:23 +06:00
wukko
dd1f9b512f
web/settings: change the layout on mobile screen 2024-06-25 00:11:04 +06:00
wukko
f8ade2bf08
web/Omnibox: don't show focus stroke in link bar 2024-06-24 23:48:37 +06:00
wukko
56081db857
web: move svg icon params to css & clean up 2024-06-24 23:46:37 +06:00
wukko
b153c06294
web/SettingsTab: clean up 2024-06-24 23:22:30 +06:00
wukko
23911cbc92
web: global focus-visible 2024-06-24 23:22:19 +06:00
wukko
042d2e9cc8
web: settings ui & const for settings type options 2024-06-24 23:05:51 +06:00
wukko
0064bda4ed
web: proper text styling & semantics 2024-06-24 20:26:45 +06:00
wukko
a226f0635f
web: use an alias for components folder 2024-06-24 20:23:55 +06:00
wukko
530edee0b1
web/settings: update main page placeholder 2024-06-24 19:44:06 +06:00
wukko
a12655a834
web/settings: navigation draft
also unified "active" class/state across all components & added more colors
2024-06-24 19:42:31 +06:00
wukko
e305c99b94
web/sidebar: highlight the category tab even on subpages 2024-06-24 15:47:20 +06:00
wukko
7e39bd78d7
web/settings: fix setting value name 2024-06-20 19:19:57 +06:00
wukko
b9e7661b6d
web: basic settings page needed for testing
typescript cries about types but i don't care at this point
2024-06-20 18:05:17 +06:00
wukko
f2e74b681b
web/sidebar: align tabbar to center on mobile 2024-06-20 13:46:01 +06:00
wukko
4564f409aa
web/types/settings: add missing 480p video quality 2024-06-19 23:42:52 +06:00
wukko
3b2178fd1a
web/api: full api request with user preferences 2024-06-19 23:29:26 +06:00
wukko
00cdb2121d
web: data-driven switcher & save mode switcher
also:
- disabled ssr to enable localstorage
- removed the workaround for hover, as it looks bad
2024-06-19 23:04:09 +06:00
wukko
009a2cc863
web: implement settings core
this was a torture
2024-06-19 21:12:51 +06:00
wukko
068af6a965
web/types/api: add trailing commas 2024-06-19 15:28:36 +06:00
wukko
8ec4a528ef
web/save: fix terms note padding on mobile 2024-06-17 19:41:45 +06:00
wukko
838cc508de
web/save: reduce meowbalt padding 2024-06-17 19:10:10 +06:00
wukko
ddb52cfef7
web/save: dynamic paste text & component clean up 2024-06-17 19:03:26 +06:00
wukko
9aa2de9bfd
web/save: scale terms note on mobile screen 2024-06-17 18:52:18 +06:00
wukko
b97fd24bba
web: improve button text legibility 2024-06-17 18:46:52 +06:00
wukko
eaf63fdd45
web: reduced omnibox & button sizes 2024-06-17 18:46:21 +06:00
wukko
f2bacc703a
web/omnibox: import only one tabler icon 2024-06-17 01:18:39 +06:00
wukko
5390415aa7
web: use hover effects only when supported 2024-06-17 01:12:59 +06:00
wukko
95aeec3380
web: tab bar pagination effect & smooth scroll 2024-06-17 01:00:18 +06:00
wukko
2ea3ca1a07
web/sidebar: automatically scroll to active tab 2024-06-17 00:31:07 +06:00
wukko
65c14d41fa
web: make tab focus blue for better visibility 2024-06-16 23:30:10 +06:00
wukko
ea830974b6
web: fix DownloadButton tab focus glow 2024-06-16 23:06:30 +06:00
wukko
5ba3231a1e
web: consistent tab bar style with rounded corners 2024-06-16 22:59:16 +06:00
wukko
7679b84b2e
web/sidebar: optimize tab bar for mobile 2024-06-16 22:26:06 +06:00
wukko
3fc7b99d05
web: add manifest, more icons, and some metadata 2024-06-16 22:00:26 +06:00
wukko
66a1e9e953
web/omnibox: prevent password manager autofill 2024-06-16 21:54:02 +06:00
wukko
f8f248f399
web: dark theme & coloring, border, focus fixes 2024-06-16 21:45:24 +06:00
wukko
2080a3e1ae
web/sidebar: fix grid on mobile 2024-06-16 20:39:23 +06:00
wukko
72ac4c8f5a
web/placeholder: more padding 2024-06-16 20:34:24 +06:00
wukko
382c6e1cd8
web: reusable meowbalt component & page placeholders 2024-06-16 20:32:09 +06:00
wukko
597320cb17
web: fix content padding 2024-06-16 20:15:17 +06:00
wukko
598ffc52b6
web/sidebar: fix scrolling one more time 2024-06-16 20:15:09 +06:00
wukko
1325c3516c
web: move border radius into a variable 2024-06-16 19:51:02 +06:00
wukko
3a57c7165f
web/sidebar: scroll only in one direction on overflow 2024-06-16 19:50:42 +06:00
wukko
f4485e2af0
web/html: update viewport rules 2024-06-16 19:46:15 +06:00
wukko
2549699a88
web/layout: hide all scrollbars 2024-06-16 19:25:30 +06:00
wukko
1fad4816b2
web: use static svelte adapter instead of auto 2024-06-16 19:21:26 +06:00
wukko
3c1a69063d
web/sidebar: disable scrollbars 2024-06-16 19:11:44 +06:00
wukko
1c9d604326
web/sidebar: import individual files for icons 2024-06-16 19:10:58 +06:00
wukko
3554222f42
web: add api response types & clean up DownloadButton 2024-06-16 18:53:45 +06:00
wukko
1f2c28bd02
web: basic api interaction & downloading
download button now acts the way it should with various states
2024-06-16 18:22:44 +06:00
wukko
324729eb21
web: basic switcher component & mute mode button 2024-06-16 15:30:14 +06:00
wukko
bf26988cde
web/save: add paste button & dummy mode buttons
tuned default button look, moved custom icons to lib for easy access
2024-06-15 20:39:34 +06:00
wukko
e6ffa4864c
web: omnibox base with meowbalt 2024-06-14 21:48:57 +06:00
wukko
7cab37fc30
web: disable tap highlighting & user selection 2024-06-14 17:34:14 +06:00
wukko
92cccd720d
web: mobile navigation 2024-06-14 17:33:33 +06:00
wukko
5399ee9a4c
web: make sidebar scrollable on vertical overflow 2024-06-14 16:47:13 +06:00
wukko
b831dc8236
web: space out css 2024-06-14 16:38:10 +06:00
wukko
38d7add0a9
web: navigation & sidebar 2024-06-14 16:33:01 +06:00
wukko
8cc11367ef
web: project skeleton 2024-06-13 15:32:17 +06:00