Commit graph

1603 commits

Author SHA1 Message Date
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
dumbmoron
31e1fa5c5c
run-an-instance: remove slash from end of CORS_URL example
it's somewhat misleading, since this specifies the origin
(https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-tuple) and not a full URL
2024-07-20 12:53:59 +02: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
d68ce2f490
stream/types: only use nice if parsed processingPriority is a number
for some reason, isNaN(true) -> false, which is technically correct,
but what the fuck...
2024-07-12 00:01:18 +00:00
dumbmoron
2f4e43f78f
youtube: client_id/client_secret is optional in session data 2024-07-11 07:56:13 +00:00
jj
c1f364929c
merge/youtube: bump youtubei.js to v10.1.0, update token format (#626)
to be in line with the structure youtubei.js expects when initializing
a session, the `expires` value of the stored tokens has been renamed
to `expiry_date`. if you have sessions that are stored in the cookies
file, cobalt ad-hoc transforms them into this new format.
2024-07-10 18:53:14 +02:00
dumbmoron
20c409cdb3
generate-youtube-tokens: update response format 2024-07-10 16:44:16 +00:00
dumbmoron
404cad711f
youtube: bump youtubei.js to v10.1.0 2024-07-10 14:13:56 +00:00
dumbmoron
33fa653ee5
package: bump version to 7.14.6 2024-07-09 13:55:38 +00:00
ihatespawn
bcb8ab101f
tests: fix broken links, correct expected responses (#618) 2024-07-09 15:17:09 +02:00
hyperdefined
cfce04bbd0
tests: fix broken twitter links (#604) 2024-07-09 00:03:03 +02:00