Kantine Wrapper
e62f0f03f3
chore: update build artifacts for v1.7.2
v1.7.2
2026-03-12 15:35:46 +01:00
Kantine Wrapper
16fe0884aa
feat: Implement secure logout functionality, add theme toggle, week navigation, and update version to 1.7.2.
2026-03-12 15:35:09 +01:00
Kantine Wrapper
b93f1000be
chore: update build artifacts for v1.7.1
v1.7.1
2026-03-12 13:13:42 +01:00
Kantine Wrapper
32c1e1e383
feat: Remove guest token usage, enhance highlight tag management with validation and improved UI, and add security tests.
2026-03-12 13:13:32 +01:00
Kantine Wrapper
877f0f3649
chore: update build artifacts for v1.6.25
v1.6.25
2026-03-12 11:28:51 +01:00
Kantine Wrapper
b5568c964b
perf: Refactor menu item height synchronization to prevent layout thrashing and introduce a debounced resize listener.
2026-03-12 11:28:32 +01:00
Kantine Wrapper
d1d355d3c2
chore: update build artifacts for v1.6.23
v1.6.23
2026-03-12 10:54:54 +01:00
Kantine Wrapper
e33ec3eb1a
style: Refine UI/UX with color and spacing adjustments, enhance accessibility and mobile responsiveness, and update the application version.
2026-03-12 10:51:05 +01:00
Kantine Wrapper
a9ec4ff8f6
feat: Replaced inline language selection with a dropdown menu and removed the weekly cost display.
2026-03-12 10:32:03 +01:00
Kantine Wrapper
38b6ad503f
chore: update build artifacts for v1.6.19
v1.6.19
2026-03-11 13:05:34 +01:00
Kantine Wrapper
570b0674b7
refactor: Adjust card and menu item styling for improved layout and spacing, and update the client version.
2026-03-11 13:05:26 +01:00
Kantine Wrapper
36770f62b0
chore: update build artifacts for v1.6.18
v1.6.18
2026-03-11 11:39:35 +01:00
Kantine Wrapper
9989cb687f
fix: Adjust card glow styling by removing negative horizontal margins and update client version to v1.6.18.
2026-03-11 11:39:28 +01:00
Kantine Wrapper
368696b0b7
chore: update build artifacts for v1.6.17
v1.6.17
2026-03-11 10:50:00 +01:00
Kantine Wrapper
8960a7f0b3
feat: Enhance layout density and responsiveness with tighter spacing and flex-wrap, and resolve scrolling conflicts in the bookmarklet.
2026-03-11 10:49:37 +01:00
Kantine Wrapper
4c253f4162
chore: update build artifacts for v1.6.16
v1.6.16
2026-03-11 10:15:46 +01:00
Kantine Wrapper
9fddf74eb2
feat: implement internationalization for UI text, refactor localStorage keys, and add input validation for state setters.
2026-03-11 10:14:59 +01:00
Michael
00015007d8
Merge pull request #12 from TauNeutrino/fix-xss-render-history-904859585010159921
...
🔒 Fix XSS Vulnerability in renderHistory
2026-03-10 19:47:13 +01:00
google-labs-jules[bot]
856f0dc2be
Fix Cross-Site Scripting (XSS) via innerHTML assignment in renderHistory
...
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 16:51:23 +00:00
Kantine Wrapper
d7eba6114e
chore: update build artifacts for v1.6.14
v1.6.14
2026-03-10 15:49:46 +01:00
Kantine Wrapper
d05812dbb2
feat: Add manual refresh for flagged items triggered by the alarm bell, including UI feedback and toast notifications.
2026-03-10 15:49:38 +01:00
Kantine Wrapper
a4dff30bb5
chore: update version and changelog to v1.6.12
2026-03-10 15:33:42 +01:00
Michael
10aead6507
Merge pull request #11 from TauNeutrino/update-build-script-webpack-9538198198077337082
...
build: Integrate webpack into build script
2026-03-10 15:30:06 +01:00
google-labs-jules[bot]
c253588390
build: Integrate webpack into build script
...
- Add `webpack` as a devDependency in `package.json`.
- Update `build-bookmarklet.sh` to run `npm install --silent` and `npx webpack` automatically, ensuring the required `dist/kantine.bundle.js` is generated before packaging.
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 14:29:42 +00:00
Michael
0b5eb1406d
Merge pull request #10 from TauNeutrino/perf-optimization-ui-helpers-15631658617322624464
...
⚡ Optimize tag and badge concatenation loops
2026-03-10 15:20:52 +01:00
google-labs-jules[bot]
6129b3fb13
Optimize UI render loops with reduce in ui_helpers.js
...
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 14:17:20 +00:00
Michael
029bcf012c
Merge pull request #9 from TauNeutrino/performance-optimization-2237739564462318710
...
⚡ optimize menu data load to fetch concurrently
2026-03-10 15:06:18 +01:00
google-labs-jules[bot]
d365b71ee6
⚡ performance optimization: batch fetch availableDates
...
Removed the 100ms artificial delay in `loadMenuDataFromAPI` and switched from sequentially awaiting fetch requests to concurrently awaiting requests in batches of 5 using `Promise.all`. Preserved original chronological ordering of array elements.
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 14:00:03 +00:00
Michael
1eb2034c61
Merge pull request #8 from TauNeutrino/fix-alarm-bell-polling-time-1222270318181314730
...
Fix alarm bell tooltip showing overall refresh time instead of polling time
2026-03-10 14:47:09 +01:00
google-labs-jules[bot]
e1cad2ffd8
Fix alarm bell tooltip showing overall refresh time instead of polling time
...
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 13:40:41 +00:00
Michael
a28e8be326
Merge pull request #7 from TauNeutrino/perf/optimize-innerhtml-ui-helpers-10114409197181701939
...
⚡ Optimize DOM Manipulation in ui_helpers.js
2026-03-10 14:11:34 +01:00
google-labs-jules[bot]
b75d5f88a5
perf: optimize innerHTML with insertAdjacentHTML
...
Replaced an inefficient `.innerHTML +=` operation with `.insertAdjacentHTML('beforeend', ...)` in `src/ui_helpers.js`.
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 13:09:35 +00:00
Michael
dd1ab415d2
Merge pull request #6 from TauNeutrino/perf-optimize-tags-7950496920454073492
...
⚡ Optimize tag badge generation with for...of
2026-03-10 13:52:12 +01:00
google-labs-jules[bot]
cbbb2f4073
perf: optimize tag badge generation in ui_helpers.js
...
Replaced redundant Array traversal (map().join('')) with a for...of loop
to construct the tagsHtml string. This avoids allocating a new array
for each item being rendered, reducing memory pressure and improving
rendering performance for menus with many tags.
Benchmark results (100,000 iterations):
- 0 tags: 13.3ms -> 4.0ms (~70% improvement)
- 1 tag: 60.9ms -> 46.7ms (~23% improvement)
- 10 tags: 489ms -> 411ms (~16% improvement)
- 50 tags: 2286ms -> 1942ms (~15% improvement)
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 12:51:57 +00:00
Michael
1e9cde0ce0
Merge pull request #5 from TauNeutrino/remove-console-logs-2603846512127419944
...
🧹 [code health] remove leftover console.log statements
2026-03-10 13:40:13 +01:00
google-labs-jules[bot]
f192de5feb
chore: remove leftover console.log statements
...
Removed informational and debug console.log statements from src/index.js, src/actions.js, and src/ui_helpers.js to improve code health and user experience. Refactored src/index.js to avoid empty blocks.
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 12:39:59 +00:00
Michael
7759491395
Merge pull request #4 from TauNeutrino/fix-xss-vulnerability-2050985831484711700
...
🔒 security: fix XSS vulnerabilities in UI helpers and actions
2026-03-10 13:38:12 +01:00
google-labs-jules[bot]
a2b2ec227f
security: escape dynamic content in innerHTML to prevent XSS
...
This commit addresses several XSS vulnerabilities by ensuring that
dynamic data from external APIs (GitHub) and error messages are
properly escaped before being rendered via innerHTML.
Affected areas:
- openVersionMenu error handling and version list
- showErrorModal title and button text
- showToast message content
All changes were verified with a reproduction test case.
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 12:37:54 +00:00
Michael
7f413d58f1
Merge pull request #3 from TauNeutrino/add-github-api-header-tests-8413597786677025631
...
🧪 add tests for GitHub API header generation
2026-03-10 13:34:45 +01:00
google-labs-jules[bot]
c20a5fb879
🧪 [testing improvement] add unit tests for GitHub API header generation
...
- Added `tests/test_api.js` to verify header generation in `src/api.js`.
- Included test cases for `githubHeaders` and `apiHeaders`.
- Followed the project's existing testing pattern using Node.js `vm` module.
Co-authored-by: TauNeutrino <1600410+TauNeutrino@users.noreply.github.com >
2026-03-10 12:34:30 +00:00
Michael
adc018d4d3
Merge pull request #1 from TauNeutrino/jules-refactor-kantine-16557872688817970022
...
Refactor kantine.js into a Webpack module structure
2026-03-10 13:11:18 +01:00
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
86e2e51dc3
chore: update build artifacts for v1.6.11
v1.6.11
2026-03-09 14:41:56 +01:00
Kantine Wrapper
12fe759970
refactor: Separate timestamp updates for the main header and notification checks, and update the version to v1.6.11.
2026-03-09 14:41:49 +01:00
Kantine Wrapper
bb5dab64cd
chore: update build artifacts for v1.6.10
v1.6.10
2026-03-09 13:23:04 +01:00
Kantine Wrapper
cbf03ea497
feat: Update to v1.6.10, refactor relative time calculation, persist last updated timestamp, and update DE language stems.
2026-03-09 13:22:55 +01:00
Kantine Wrapper
6b8ac5ca1d
chore: update build artifacts for v1.6.8
v1.6.8
2026-03-06 10:01:16 +01:00
Kantine Wrapper
2964eba88b
chore: dist files update
2026-03-06 10:01:09 +01:00
Kantine Wrapper
089e5375b4
chore: update build artifacts for v1.6.8
2026-03-06 09:55:54 +01:00
Kantine Wrapper
e514f42dbe
feat: minify bookmarklet javascript via terser
2026-03-06 09:55:54 +01:00