Skip to content
Draft
Show file tree
Hide file tree
Changes from 116 commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
3906a58
chore: init new SvelteKit project
madkarmaa Nov 10, 2025
1d8ef94
revert: restore deleted files
madkarmaa Nov 10, 2025
175368e
feat: init routes
madkarmaa Nov 11, 2025
22f9fbe
feat: add navbar
madkarmaa Nov 11, 2025
bd50bad
feat: add unplugin icons
madkarmaa Nov 11, 2025
5626ac6
fix: add unplugin icons types
madkarmaa Nov 11, 2025
ea79d5d
feat: complete navbar structure
madkarmaa Nov 11, 2025
11b9365
fix: highlight announcements button
madkarmaa Nov 11, 2025
2b8f2e3
fix: use correct icon set
madkarmaa Nov 12, 2025
1f5122c
fix: remove buttons default bg color
madkarmaa Nov 12, 2025
baea96a
feat: add banner component
madkarmaa Nov 12, 2025
d47c1bf
refactor: simplify logic
madkarmaa Nov 12, 2025
2adca8c
feat: add button component
madkarmaa Nov 13, 2025
e7fc9a8
feat: add modal component
madkarmaa Nov 13, 2025
b02748d
refactor: simplify type
madkarmaa Nov 13, 2025
ab807d6
chore: update deps
madkarmaa Nov 18, 2025
8bd5153
chore: update deps
madkarmaa Nov 19, 2025
6d430b4
feat: keep modal hierarchy
madkarmaa Nov 19, 2025
536c4fe
refactor: move NavBar component to the correct folder
madkarmaa Nov 24, 2025
6aaba56
fix: use correct condition
madkarmaa Nov 24, 2025
8c19165
feat: add theme store
madkarmaa Nov 24, 2025
53b8f02
chore: update deps
madkarmaa Dec 3, 2025
b8313ec
fix: use `PersistedState` for banner IDs
madkarmaa Dec 4, 2025
f003011
chore: update deps
madkarmaa Dec 4, 2025
12ba1f2
fix: don't create a new store for each banner
madkarmaa Dec 4, 2025
7d05784
Added qrious to create a QR code of the wallet addresses in donate pa…
mostafaNazari702 Dec 5, 2025
1ca89a3
Modified a key, it is is for the DMCA badge in footer "DMCA.com Prote…
mostafaNazari702 Dec 5, 2025
32d3cd6
Refering to the API folder that contains API-related stuff
mostafaNazari702 Dec 5, 2025
39c88f9
A small code so i could establish connection with the API without COR…
mostafaNazari702 Dec 5, 2025
bbc0fa5
Added qrious to create a QR code of the wallet addresses in donate pa…
mostafaNazari702 Dec 5, 2025
a20e8ff
Colors to be the same as revanced.app
mostafaNazari702 Dec 5, 2025
9504155
Images and icons that were either moved to a diff. directory or resto…
mostafaNazari702 Dec 5, 2025
7b95276
API-related stuff, such as obtaining data
mostafaNazari702 Dec 5, 2025
cff2816
Rewrote a small part of the frontend, not added admin related stuff y…
mostafaNazari702 Dec 5, 2025
f830a01
use triple-slash reference for unplugin-icons in src/app.d.ts' -m 'Re…
mostafaNazari702 Dec 5, 2025
4221e6b
Removed radial gradient from manager screenshot to avoid color-bandin…
mostafaNazari702 Dec 6, 2025
e3e1651
Removed the shadow surroding the screenshot in main page.
mostafaNazari702 Dec 6, 2025
1a7b237
Removed reset button click animation in settings as well as the typin…
mostafaNazari702 Dec 6, 2025
0870be4
If the API was down and the download link to the app was not cached t…
mostafaNazari702 Dec 6, 2025
6965f91
Handle missing footer text and social links when API is down, replace…
mostafaNazari702 Dec 6, 2025
4016228
Handle missing patches when API was down to replicate the same behavi…
mostafaNazari702 Dec 6, 2025
ea47b0e
implemented the core authentication system
mostafaNazari702 Dec 6, 2025
9d4ff53
Add auth, session-expiry, and announcements admin UI
mostafaNazari702 Dec 6, 2025
22af783
Added all SEO structured data schemas from the old project and added …
mostafaNazari702 Dec 8, 2025
f9646b1
Removed image optimization,.
mostafaNazari702 Dec 9, 2025
e23116c
The announcement system, login dialogs, navigation bar, and settings …
mostafaNazari702 Dec 10, 2025
21e2de2
chore: update deps
madkarmaa Dec 15, 2025
ebd4e25
Token key fix
mostafaNazari702 Dec 17, 2025
c2115a3
401 handler
mostafaNazari702 Dec 17, 2025
78b175e
Initial session check
mostafaNazari702 Dec 17, 2025
211fc62
Storage key
mostafaNazari702 Dec 17, 2025
9824883
Form attributes
mostafaNazari702 Dec 17, 2025
522fbf3
Local state
mostafaNazari702 Dec 17, 2025
a00a81d
URL validation & grammar
mostafaNazari702 Dec 17, 2025
7e1d234
Memory leak fix
mostafaNazari702 Dec 17, 2025
e226843
Reactive updates
mostafaNazari702 Dec 17, 2025
6740a68
Removed global state
mostafaNazari702 Dec 17, 2025
0837cdf
Removed duplicate logic
mostafaNazari702 Dec 17, 2025
089715d
Race condition fix & utilities
mostafaNazari702 Dec 17, 2025
427d33e
Shared utilities
mostafaNazari702 Dec 17, 2025
b3190f9
removed verbose jsdocs, simplified utils, a cleanun bsically
mostafaNazari702 Dec 17, 2025
bf2efba
Updated dependencies
mostafaNazari702 Dec 17, 2025
a9f5839
Fixed some mathematical issues with the date and time calculation.
mostafaNazari702 Dec 17, 2025
a1768fb
Added the library that creates the QR code for wallet addresses.
mostafaNazari702 Dec 18, 2025
07060c7
Restored and rewritten some backend features/logic back.
mostafaNazari702 Dec 18, 2025
1a223de
Restore moment.js for time formatting, add login button tooltip when …
mostafaNazari702 Dec 18, 2025
b4bf56b
unify z-index with CSS variables and clean up stacking order througho…
mostafaNazari702 Dec 18, 2025
63b3450
Improved stacking, fixed mobile menu and banners, made hero and icons…
mostafaNazari702 Dec 19, 2025
f68a198
The announcements are now visually the same
mostafaNazari702 Dec 19, 2025
950b5d4
replace unsafe {} type assertions with null defaults
mostafaNazari702 Dec 20, 2025
b917764
pass AbortSignal to fetchAnnouncementById for better request cancella…
mostafaNazari702 Dec 20, 2025
a214f57
Handle missing data due to API connectivity issues
mostafaNazari702 Dec 21, 2025
b2bac78
Loading spinner appears now after navigating to a page, not before
mostafaNazari702 Dec 21, 2025
e31f970
Restore: SEO meta tags, Button tooltip, theme transitions, hydration,…
mostafaNazari702 Dec 22, 2025
f5a1829
Retrieve tags from the API endpoint in announcements
mostafaNazari702 Dec 23, 2025
ec0ef44
add ESC key handler to close topmost modal
mostafaNazari702 Dec 24, 2025
f88502f
add onclose callback prop for custom close behavior
mostafaNazari702 Dec 24, 2025
ea8dedd
use svelte-meta-tags JsonLd component instead of raw HTML
mostafaNazari702 Dec 24, 2025
2f3cdf1
add case-insensitive icon matching with fallback UI
mostafaNazari702 Dec 24, 2025
d19e7d5
improve socials visibility with RAF throttling and Svelte 5 each key
mostafaNazari702 Dec 24, 2025
21ee9c5
consolidate warning modals and use Button component
mostafaNazari702 Dec 24, 2025
fc7156b
ESC returns to crypto list + Svelte 5 each reconciliation fix
mostafaNazari702 Dec 24, 2025
93e696b
search input reactive loop and use SvelteKit replaceState
mostafaNazari702 Dec 24, 2025
b7c3840
wrap tags each in key block for Svelte 5
mostafaNazari702 Dec 24, 2025
588b5e2
add onclear callback for clear button
mostafaNazari702 Dec 24, 2025
f70a882
wrap each blocks in key to prevent Svelte 5 reconciliation bug
mostafaNazari702 Dec 24, 2025
6684d88
Added a dependency for the case-insensitive icon matching with fallba…
mostafaNazari702 Dec 24, 2025
7ae9d7b
Trap focus on modals/popups when active
mostafaNazari702 Dec 24, 2025
966a9c6
keyboard navigation (Tab button) will show a visible blue outline aro…
mostafaNazari702 Dec 24, 2025
7c2c891
Changed to tab-only sessions and removed the logout button
mostafaNazari702 Dec 24, 2025
56fa09d
Fixed an issue with the "Read more" button in new announcement banner…
mostafaNazari702 Dec 24, 2025
b99626f
When in announcement, the tab title now remains same as root layout, …
mostafaNazari702 Dec 24, 2025
7454a83
Rewrote all admin tools for announcement management
mostafaNazari702 Dec 24, 2025
6299551
Removed the older code that i wrote because it was not replicating th…
mostafaNazari702 Dec 24, 2025
fa1994e
No longer using http based APIs
mostafaNazari702 Dec 24, 2025
61b3eb5
Removed "NEW" label from archeived announcements
mostafaNazari702 Dec 24, 2025
8e6c2a7
Restored the visual look of the consent dialog
mostafaNazari702 Dec 24, 2025
a6e0bba
fallback file for Svelte in build preview
mostafaNazari702 Dec 24, 2025
1aad9e4
Fixed an issue where modals/popups where fully static and uninteractive
mostafaNazari702 Dec 24, 2025
16c635f
Restore delete dialog colors
mostafaNazari702 Dec 24, 2025
a7596d3
Copy static images to the root directory / static folder
mostafaNazari702 Dec 24, 2025
e9eabba
Some tooltips can be hoverable like GPG keys and others like admin bu…
mostafaNazari702 Dec 24, 2025
0e3c95f
Restore colors and styles
mostafaNazari702 Dec 24, 2025
343fca7
Fixed an alignment issue in the inout fields in the announcement crea…
mostafaNazari702 Dec 24, 2025
0e05457
Fixed an issue where unarchieivng an announcement was working
mostafaNazari702 Dec 24, 2025
d33c9cd
Added the relevant dependency for button icons
mostafaNazari702 Dec 24, 2025
1b93057
Restored svelte-material-icons as the standard icon library across al…
mostafaNazari702 Dec 24, 2025
ca06d1d
Imporved API client, dialog, and utility functions for more reliabili…
mostafaNazari702 Dec 24, 2025
3b1a539
add TanStack Query v5 with persistence support
mostafaNazari702 Dec 25, 2025
8dc0fb4
implement TanStack Query v5 for data fetching
mostafaNazari702 Dec 25, 2025
14425bb
implement TanStack Query v5 for data fetching
mostafaNazari702 Dec 25, 2025
253135b
igrate to $state-based queries, add Zod validation, announcement poll…
mostafaNazari702 Dec 25, 2025
9a14ff2
Fixed individual announcements layout for mobile / smaller screens
mostafaNazari702 Dec 25, 2025
9fe2420
Simplified a lot of complex code and consolidated short codes with ow…
mostafaNazari702 Dec 29, 2025
88c5197
Merge branch 'refactor/rewrite' of https://github.com/mostafaNazari70…
mostafaNazari702 Dec 29, 2025
9f9425d
Restore the .gitignore file
mostafaNazari702 Dec 29, 2025
fcc8428
Remove duplicate and unused image assets, align asset usage and struc…
mostafaNazari702 Dec 29, 2025
75bf628
Remove unused skeleton and error components, packages, simplify loadi…
mostafaNazari702 Dec 29, 2025
adc9679
migrate environment variables from VITE_ to PUBLIC_ prefix for Svelte…
mostafaNazari702 Dec 29, 2025
00c01da
Fixed an issue with the login modal and refactored the readAnnounceme…
mostafaNazari702 Dec 31, 2025
8952765
sync modal and settings icon and hover color transitions
mostafaNazari702 Jan 3, 2026
8b64c8b
fix vars
oSumAtrIX Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RV_API_URL=https://api.revanced.app
RV_STATUS_URL=https://status.revanced.app
RV_EMAIL=contact@revanced.app
RV_GOOGLE_TAG_MANAGER_ID=
RV_DMCA_GUID=
VITE_RV_API_URL=https://api.revanced.app
VITE_RV_STATUS_URL=https://status.revanced.app
VITE_RV_EMAIL=contact@revanced.app
VITE_GOOGLE_TAG_MANAGER_ID=
PUBLIC_RV_DMCA_GUID=
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions .eslintrc.cjs

This file was deleted.

25 changes: 19 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
.DS_Store
node_modules
/build
/public
# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/package
/build

# OS
.DS_Store
Thumbs.db

# Env
.env
/_docs_src
/static/docs
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
Comment on lines 1 to +22
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are any of these even generated by our project?

19 changes: 7 additions & 12 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
.DS_Store
node_modules
/build
/public
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
bun.lock
bun.lockb

# Miscellaneous
/static/
10 changes: 9 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"]
"plugins": ["prettier-plugin-svelte"],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
Comment on lines +6 to +14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this necessary?

}
41 changes: 41 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import prettier from 'eslint-config-prettier';
import { fileURLToPath } from 'node:url';
import { includeIgnoreFile } from '@eslint/compat';
import js from '@eslint/js';
import svelte from 'eslint-plugin-svelte';
import { defineConfig } from 'eslint/config';
import globals from 'globals';
import ts from 'typescript-eslint';
import svelteConfig from './svelte.config.js';

const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));

export default defineConfig(
includeIgnoreFile(gitignorePath),
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs.recommended,
prettier,
...svelte.configs.prettier,
{
languageOptions: {
globals: { ...globals.browser, ...globals.node }
},
rules: {
// typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
'no-undef': 'off'
}
},
{
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
languageOptions: {
parserOptions: {
projectService: true,
extraFileExtensions: ['.svelte'],
parser: ts.parser,
svelteConfig
}
}
}
);
Loading