From cd1897393eaefad73a4703aa13e04e46e39f82a7 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 25 Jun 2023 04:22:55 +0200 Subject: [PATCH 1/4] feat: improve visual feedback --- src/routes/patches/PatchItem.svelte | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/routes/patches/PatchItem.svelte b/src/routes/patches/PatchItem.svelte index 7dbff17..a462f99 100644 --- a/src/routes/patches/PatchItem.svelte +++ b/src/routes/patches/PatchItem.svelte @@ -85,6 +85,10 @@ padding: 0.25rem 0.5rem; border: 1px solid var(--grey-three); border-radius: 8px; + + &:hover { + background-color: var(--grey-two); + } } a { @@ -146,6 +150,10 @@ .option { padding: 1rem; + + &:hover { + background-color: var(--grey-two); + } } /* thanks piknik */ From 46d89d64b73ab82b60c73fcc010ea97e577e9adb Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 25 Jun 2023 04:23:16 +0200 Subject: [PATCH 2/4] fix: remove hardcoded friendly names --- src/util/friendlyName.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/util/friendlyName.ts b/src/util/friendlyName.ts index f8f5319..91d0ab6 100644 --- a/src/util/friendlyName.ts +++ b/src/util/friendlyName.ts @@ -1,15 +1,9 @@ export function friendlyName(text: string): string { return text .replace(/-/g, ' ') - .replace(/revanced\/revanced/g, '') + .replace(/revanced\/revanced/g, 'ReVanced') .replace(/revanced/g, 'ReVanced') .replace(/\bcli\b/g, 'CLI') .replace(/api/g, 'API') - .replace(/microg/g, 'MicroG') - .replace(/hdr/g, 'HDR') - .replace(/sponsorblock/g, 'SponsorBlock') - .replace(/tiktok/g, 'TikTok') - .replace(/vr/g, 'VR') - .replace(/url/g, 'URL') .replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase()); -} \ No newline at end of file +} From e8e5b6e25cf0509f308a213dc579a68fa91cb760 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 25 Jun 2023 04:25:33 +0200 Subject: [PATCH 3/4] ci: deploy on any branch --- .github/workflows/deploy.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2434008..de875ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,6 @@ name: Deploy -on: - pull_request: - push: - branches: - - main +on: [pull_request, push] jobs: deploy: From ad5893f8bd0d04a444ae2b3ddde878d9e683d5d7 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 25 Jun 2023 04:58:05 +0200 Subject: [PATCH 4/4] fix: make settings description provider agnostic --- src/layout/Navbar/NavHost.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/Navbar/NavHost.svelte b/src/layout/Navbar/NavHost.svelte index c67f252..c384722 100644 --- a/src/layout/Navbar/NavHost.svelte +++ b/src/layout/Navbar/NavHost.svelte @@ -112,7 +112,7 @@ Settings Configure the website's API. Defaults to ReVanced.Configure the API for this website.