Commit Graph

38 Commits

Author SHA1 Message Date
google-labs-jules[bot]
2f08a951b4 Refactor kantine.js into modular ES6 structure
Moved `kantine.js` into a `src/` directory with multiple modularized files:
- `api.js`: All API calls and constants
- `state.js`: State management (auth, cache, theme, tags, etc.)
- `utils.js`: Helpers for UI and Date formatting
- `ui.js`: DOM manipulation logic
- `events.js`: Initial DOM event listeners and logic hooks
- `actions.js`: Data fetching actions, local processing logic
- `ui_helpers.js`: UI helper functions (rendering modals, handling DOM injections)

Updated the `build-bookmarklet.sh` to compile with Webpack via newly created `webpack.config.js`. Updated all relevant test scripts to use the new output `dist/kantine.bundle.js` and modified logic to work within Webpack scopes.

Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com>
2026-03-10 11:55:36 +00:00
Kantine Wrapper
e514f42dbe feat: minify bookmarklet javascript via terser 2026-03-06 09:55:54 +01:00
Kantine Wrapper
498b400033 style: scale header logo to 40x40px 2026-03-06 08:46:46 +01:00
Kantine Wrapper
f29ecd4b79 style: remove past ordered borders and swap header icon 2026-03-06 08:38:17 +01:00
Kantine Wrapper
12c55ef883 feat: Add a collapsing video banner to the installation page. 2026-03-04 11:41:58 +01:00
Kantine Wrapper
a902732d4b style: replace logo unicode char with dynamic favicon image in installer 2026-02-26 17:13:51 +01:00
Kantine Wrapper
10ffbd8c68 build: automatically generate favicon.png from favicon_base.png if present 2026-02-26 12:43:03 +01:00
Kantine Wrapper
614f498d11 fix: defer favicon injection with setTimeout for htmlpreview compat (v1.4.29) 2026-02-26 10:01:17 +01:00
Kantine Wrapper
7d5beedfbb feat: build-time favicon injection from favicon.png via placeholder (v1.4.27) 2026-02-26 09:50:17 +01:00
Kantine Wrapper
c5e236e095 feat: favicon switched to PNG file served via raw GitHub URL (v1.4.26) 2026-02-26 09:15:10 +01:00
Kantine Wrapper
284f3d9a32 fix: dynamic favicon injection + push main to GitHub (v1.4.25) 2026-02-26 09:03:07 +01:00
Kantine Wrapper
566410eea5 feat: custom favicon for bookmarklet (triangle + fork & knife) v1.4.19 2026-02-24 21:20:30 +01:00
Kantine Wrapper
c2e3282131 fix(ui): restore highlight modal toggle event & add dom test suite (v1.4.17) 2026-02-24 20:40:54 +01:00
Kantine Wrapper
432bbcb6f2 build: separate release logic into release.sh 2026-02-24 13:05:46 +01:00
Kantine Wrapper
cda74e65db dist files for v1.4.7 built 2026-02-24 12:32:44 +01:00
Kantine Wrapper
08ee2a2d0f dist files for v1.3.1 built 2026-02-17 21:33:09 +01:00
Kantine Wrapper
ea4e0d151f dist files for v1.3.1 built 2026-02-17 21:25:55 +01:00
Kantine Wrapper
9b1f0e2fd3 v1.3.1: Smart Cache vereinfacht (KW-Check + 1h Alter), Build-Script auto-commit+push 2026-02-17 21:17:34 +01:00
Kantine Wrapper
05bc06660c docs: Add warning about force-pushing when moving an existing git tag. 2026-02-17 21:04:11 +01:00
fe86e68aca v1.3.1: Smart Cache Strategy + REQUIREMENTS.md überarbeitet
- Feature: isCacheFresh() – initialer API-Refresh nur wenn Cache >1h alt oder <5 Arbeitstage abgedeckt (FR-024)
- REQUIREMENTS.md komplett überarbeitet: lösungsneutral, alle Features dokumentiert, Versions-Spalte
- Build-Script: Git-Tag wird bei Rebuild auf aktuellen Commit verschoben (git tag -f)
- Neue Regel 7: Requirements-Konsistenz im Implementation Plan
- test_logic.js: statischer Check für isCacheFresh
2026-02-17 20:38:53 +01:00
ad4cfaf4ec feat: GitHub Release Management v1.3.0 - Version menu, dev-mode, downgrade support 2026-02-16 23:39:41 +01:00
5ae43e92de fix(installer): prevent click on bookmarklet button (drag-only) 2026-02-16 23:05:39 +01:00
f9b29254f9 fix(ui): clickable update icon and build-time unit tests (v1.2.3) 2026-02-16 22:13:37 +01:00
876da1a2de feat(ui): collapsible changelog in installer (v1.2.2) 2026-02-16 21:54:51 +01:00
587a37884e feat(ui): add tagline and footer to installer page (v1.2.1-polish) 2026-02-16 21:50:11 +01:00
1040828d7f fix(ui): v1.2.1 – highlights integration, mock data, CSS polish 2026-02-16 21:33:18 +01:00
bab54fdf2d feat(ui): release v1.2.0 with improved installer UX, build tests, and docs update 2026-02-16 21:01:38 +01:00
efdb50083e fix(build): url-encode bookmarklet payload to prevent URI malformed error (v1.1.2) 2026-02-16 19:14:21 +01:00
d6a2236a5b feat: release v1.1.0 (countdown, highlight tags, changelog) 2026-02-16 18:52:07 +01:00
d002e6a900 feat: add auto-update check (v1.0.1) 2026-02-13 11:40:45 +01:00
c58b54faf6 chore: bump version to v1.0.0 for initial release 2026-02-13 11:20:13 +01:00
6864838999 feat: show version number in app header (v1.8.6) 2026-02-13 11:13:34 +01:00
6f2a34ae0e feat: inject version number into installer and bookmarklet (v1.8.5) 2026-02-13 11:11:46 +01:00
3d185140cc docs: revert to dark theme with teal accents (v1.8.2) 2026-02-13 09:36:35 +01:00
35e59a15a0 docs: theme installer with Knapp colors (v1.8.1) 2026-02-13 09:33:28 +01:00
57d9e2e2b2 docs: update readme and installer content (v1.8.0) 2026-02-13 09:23:16 +01:00
89100e2c9c chore: remove legacy server files and organize project structure 2026-02-12 11:31:12 +01:00
5f961403d0 feat: complete bookmarklet implementation (v1.7.0) 2026-02-12 10:06:42 +01:00