Skip to content

Add static showcase deployment and GitHub Pages support#4

Open
moritzbrantner wants to merge 1 commit into
mainfrom
feature/static-showcase-deploy
Open

Add static showcase deployment and GitHub Pages support#4
moritzbrantner wants to merge 1 commit into
mainfrom
feature/static-showcase-deploy

Conversation

@moritzbrantner

Copy link
Copy Markdown
Owner

Summary

  • Reworks the Angular app into a localized, static-first showcase modeled after the next-template reference.
  • Adds new feature routes, shared content/data repositories, and updated UI shells for home, templates, showcase, docs, contact, auth, uploads, and reporting flows.
  • Introduces Playwright e2e coverage plus unit and integration test scripts to verify the main user journeys.
  • Adds GitHub Pages and server build workflows, static 404 fallback handling, and deployment scripts for browser-only hosting.

Testing

  • npm run test:unit
  • npm run test:integration
  • npm run test:e2e
  • npm run build
  • npm run build:github-pages
  • npm run build:server
  • Not run locally in this environment

- Replace the old static-first shell with localized en/de routes
- Add hotkeys, theme, consent, auth, upload, table, blog, and report flows
- Update static/server providers, tests, and docs for the new app surface

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7683991758

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/app.ts
Comment on lines +68 to +72
if (!event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) {
return;
}

const entry = this.hotkeyService.findEntry(this.groups(), event.key);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Ignore global hotkeys while focus is in editable controls

This handler runs for every window:keydown event and currently processes Alt+<key> without checking whether the user is typing in an editable element. In forms (login/register/report/details textareas), pressing Alt-based character combinations or browser/menu shortcuts can trigger route navigation and lose in-progress input. Add an early return when the event target is input, textarea, select, or contenteditable before resolving hotkeys.

Useful? React with 👍 / 👎.

Comment on lines +100 to +104
.pipe(finalize(() => {
this.submitting.set(false);
this.form.enable();
}))
.subscribe((result) => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Handle login request failures in subscription

The login submit flow subscribes with only a success callback, so in API mode any HTTP/network failure from AuthRepository.login() propagates as an unhandled observable error and no user-facing error message is set. That leaves users without feedback on failed sign-in attempts. Add an error handler here (similar to the contact form flow) to set hasSubmissionError and a failure message.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant