feat: Implement ErrorBoundary class for global error handling

feat: Refactor Session class to use LocalStorageService for session management

feat: Enhance BasicButton component with configuration options and event handling

style: Update SASS variables to CSS custom properties for better theming support

style: Modify app.sass to include Bootstrap with legacy import

chore: Update settings.ts to handle session initialization and error notifications

fix: Improve buttonType definition for better readability

chore: Refactor parse.ts for cleaner file handling and keyword replacement

chore: Enhance syncConfig.ts with TypeScript interfaces and async file operations

chore: Update v2.ts to modify manifest.json for compatibility with manifest version 2

chore: Revise tsconfig.json for stricter type checking and improved module resolution

chore: Refactor vite.config.ts for better build configuration and asset management
This commit is contained in:
JonasPfalzgraf 2025-07-11 16:53:48 +02:00
parent 8f99895c88
commit 482151f980
24 changed files with 1321 additions and 418 deletions

View file

@ -15,12 +15,27 @@
"default_popup": "popup.html"
},
"options_ui": {
"page": "options.html"
"page": "options.html",
"open_in_tab": false
},
"permissions": [
"storage",
"notifications"
],
"background": {
"service_worker": "background.js"
}
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; style-src 'self' 'unsafe-inline';"
},
"web_accessible_resources": [
{
"resources": [
"icons/*.png"
],
"matches": [
"<all_urls>"
]
}
]
}

View file

@ -1,22 +1,22 @@
<!DOCTYPE html>
<html lang="">
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="./favicon.ico">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="./favicon.ico" />
<title>{{BET}} Options</title>
</head>
<body>
<noscript>
<strong>We're sorry but {{BET}} doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong>
<strong
>We're sorry but {{BET}} doesn't work properly without JavaScript enabled. Please enable it
to continue.</strong
>
</noscript>
<div id="app">
<img src="./icons/icon128.png" class="logo" />
<img src="./icons/icon128.png" alt="Logo" class="logo" />
<h1>Settings</h1>
<div id="settings">
</div>
<div id="settings"></div>
</div>
<footer>
<script type="module" src="./settings.js"></script>

View file

@ -1,22 +1,22 @@
<!DOCTYPE html>
<html lang="">
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="./favicon.ico">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="./favicon.ico" />
<title>{{BET}}</title>
</head>
<body>
<noscript>
<strong>We're sorry but {{BET}} doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong>
<strong
>We're sorry but {{BET}} doesn't work properly without JavaScript enabled. Please enable it
to continue.</strong
>
</noscript>
<div id="app">
<img src="./icons/icon128.png" class="logo" />
<img src="./icons/icon128.png" alt="Logo" class="logo" />
<h1>{{BET}}</h1>
<div id="content">
</div>
<div id="content"></div>
</div>
<footer>
<script type="module" src="./app.js"></script>