Skip to content

feat: full message text with attachments, and one design across clients - #12

Merged
CsPS0 merged 3 commits into
mainfrom
feat/pala-2-design
Nov 18, 2026
Merged

CsPS0 merged 3 commits into
mainfrom
feat/pala-2-design

Conversation

@CsPS0

@CsPS0 CsPS0 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

The 2.0 release blockers: messages now show their full text and attachments download, and every client shares one look.

Messages

  • The inbox list only carries the first 100 characters of each body. Every client (app, TUI, the CLI's web UI, extension) now loads the message itself with getMessage when it is opened.
  • Attachments come from e-Ügyintézés (/api/v1/dokumentumok/uzenetek/{id}). The old files.e-kreta.hu route does not exist. Expired tokens are renewed once, file names are made safe, and existing files are never overwritten.
  • Phones open attachments with the system viewer (open_filex, storage permissions stripped). The desktop app saves them to Downloads and offers to open the folder, and never opens the file itself.
  • Demo mode says attachments cannot be downloaded and makes no request.

Design

  • Kréta Web (the CLI's web UI) is the reference look, using the app's colour tokens. It also gains a light theme and the app's seven pages.
  • The extension shares extension/shared/tokens.css across its three pages.
  • The desktop app uses Kréta Web's sidebar, top bar and tables. Phones keep the bottom bar.
  • test/design_tokens_test.dart keeps the three token copies equal.

Website

  • Hero previews are recaptured with the new design.
  • The link preview (OG image) now shows the front-page headline next to the desktop app's grades page, instead of a text-only card. It no longer calls the GitHub API at build time.

Checks (after rebasing onto #11)

  • dart analyze --fatal-infos lib bin test: clean
  • dart test: all pass
  • node --test extension/test/*.test.mjs: 54 pass
  • flutter test in app/: all pass
  • flutter analyze in app/: only the 43 known material.dart deprecation infos from Flutter 3.50. CI is pinned to 3.47.9 until the material_ui migration lands.

Not checked against a live Kréta account.

🤖 Generated with Claude Code

CsPS0 and others added 2 commits November 18, 2026 21:03
Messages
- The inbox list only carries the first 100 characters of each body, so
  every client now loads the message itself (getMessage) when it is opened:
  app, TUI, the CLI's web UI and the extension.
- Attachments are downloaded from e-Ügyintézés
  (/api/v1/dokumentumok/uzenetek/{id}); the old files.e-kreta.hu route does
  not exist. Expired tokens are renewed once, file names are made safe and
  existing files are never overwritten.
- The app opens attachments with the system viewer on Android and iPhone
  (open_filex, storage permissions stripped) and saves them to Downloads on
  desktop. Failures show Hungarian errors; demo mode says attachments
  cannot be downloaded.
- htmlToText drops style/script blocks and tags cut in half, and keeps
  link addresses.

Design
- Kréta Web (the CLI's web UI) is the reference look, with the app's
  colour tokens: 10 px cards, 6 px controls, orange gradient primary
  button, one grade scale (4 is green everywhere).
- Kréta Web gains a light theme and the app's seven pages.
- The extension shares extension/shared/tokens.css across its three pages.
- The app's desktop uses Kréta Web's sidebar, top bar and tables
  (dashboard, grades, inbox); phones keep the bottom bar.
- test/design_tokens_test.dart keeps the three token copies equal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Recaptured the app (desktop and phone) and the extension popup in demo
mode, dark and light, per docs/DEV.md. The OG image is built from
desktop-jegyek-dark.webp, so it picks up the new look as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pala Ready Ready Preview Nov 18, 2026 8:09pm UTC

The OG image now uses the front page's headline and tagline next to the
desktop app's grades page (desktop-jegyek-dark.webp, converted to PNG with
sharp because ImageResponse cannot decode WebP). The headline is drawn in
bold Geist from Google Fonts at build time, and falls back to the built-in
regular weight when that cannot be reached. It no longer calls the GitHub
API for the release tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CsPS0
CsPS0 merged commit f7b8c21 into main Nov 18, 2026
6 checks passed
@CsPS0
CsPS0 deleted the feat/pala-2-design branch November 18, 2026 20:16
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