Commit Graph

15 Commits

Author SHA1 Message Date
Kevin Veen-Birkenbach
a42930a699 build(make): run e2e without act, lint yaml, js and shell
test-e2e drove Cypress through act, which fails to start where it cannot
resolve a host address for its artifact server. It now starts Flask and
Cypress in one shell via scripts/run-e2e.sh, so both share a network
namespace; the act path stays available as test-e2e-act.

The script guards the cases that made the old target lie: it aborts when
something already serves the port instead of testing that server, checks
that its own Flask is alive before trusting a response, pins Cypress to
the same origin Flask binds, and drops ELECTRON_RUN_AS_NODE, which VS Code
exports and which makes Cypress' bundled Electron reject its own flags.

30 YAML and 18 JavaScript files had no linter. yamllint runs correctness
rules only, because the repository predates it and its cosmetic findings
would be noise; key-duplicates is the one that earns its keep, since
PyYAML keeps the last of two identical keys without complaining. eslint
runs the recommended set and already found a dead getBoundingClientRect()
call in navigation.js. Both get a CI job so make lint and the workflows
stop diverging.

flask>=3.1 because app.config["TRUSTED_HOSTS"] arrived in 3.1 and an older
Flask accepts the key and ignores it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 01:18:27 +02:00
Kevin Veen-Birkenbach
f3c15e3e1c fix(navigation): unclip dropdowns and flip toward the side with more space
- Move <header> overflow:hidden into body.fullscreen scope and drop the
  implicit-vertical-clip overflow-x:auto from .navbar-nav so dropdown
  menus can escape the navbar.
- Drive top-level dropdowns through bootstrap.Dropdown (popperConfig
  strategy:'fixed'), and add a chooseDirection() helper that toggles
  .dropup/.dropdown on the .nav-item based on space above vs below
  before each show. Split the navigation.css rules to position the menu
  with top:100% or bottom:100% accordingly.
- Mark the dropdown toggle with data-bs-toggle="dropdown" in the
  template; cover that with a Jinja-rendered unit test and add Cypress
  specs for the header (opens downward) and footer (flips to .dropup)
  cases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 02:26:02 +02:00
Kevin Veen-Birkenbach
ae775916b0 Replaced German by English comments 2025-03-18 14:27:07 +01:00
Kevin Veen-Birkenbach
120465b46a Optimized for mobile 2025-01-15 13:47:51 +01:00
Kevin Veen-Birkenbach
69fabafd9a Refactored code and implemented that menüs open to the top 2025-01-15 13:07:02 +01:00
Kevin Veen-Birkenbach
9f143e39b4 Removed link opening bug 2025-01-15 02:19:33 +01:00
Kevin Veen-Birkenbach
c24e35c4e8 final solving of menu hover bug 2025-01-14 21:05:26 +01:00
Kevin Veen-Birkenbach
b74ff2da78 Implemented reinitialisation of event listeners 2025-01-14 20:01:48 +01:00
Kevin Veen-Birkenbach
066f10edfc Solved menu open too top bug 2025-01-14 19:33:13 +01:00
Kevin Veen-Birkenbach
abdaf54147 refaktored 2025-01-14 19:25:07 +01:00
Kevin Veen-Birkenbach
ac0b1e9a14 Refactored code 2025-01-14 19:12:43 +01:00
Kevin Veen-Birkenbach
f9d5a90f94 Optimized menu bug. now distance from main menu to submenu of 1 item exist 2025-01-14 18:47:03 +01:00
Kevin Veen-Birkenbach
00e0096f8a Optimized menu bug 2025-01-14 17:52:31 +01:00
Kevin Veen-Birkenbach
f017cacebe Optimized logic in which direction menus open 2025-01-14 17:34:30 +01:00
Kevin Veen-Birkenbach
7c51ac6bbc Refactored navigation code 2025-01-14 17:19:09 +01:00