pyvelm v0.5.0¶
Release date: 2026-05-23
Company-branded UI, declarative dashboards, richer date/time forms, and a Feedback Signals demo module.
Highlights¶
Per-company theme¶
- Set Primary color on each company (
res.company.primary_color). - The shell, login page, and module pages that use the main layout pick up a generated primary palette (sidebar accent, buttons, brand tokens).
- Sync the base module to 0.19.0 so the column exists.
Declarative dashboards¶
- Define dashboards in Python with
dashboard_viewand widget helpers (stat_widget,chart_widget,table_widget,link_widget). - Grid column count, full-width tiles (
colspan='full'), embedded graph views, and list snippets with optional column subsets. - Routed like other views; see
pyvelm/modules/admin/views/dashboard.pyandexamples/modules/feedback_signals/views/dashboard.py.
Date / datetime / time¶
- Date — inline Flowbite calendar on forms.
- Datetime — single popup with calendar + time (no nested floating card).
- Time — styled time input via the new
Timefield type.
List UX¶
- Hide columns by default with
field(..., visible=False). - Users restore columns from the Columns menu; choices persist per list view.
Account profile¶
- Top bar → My Profile (
/web/account/profile) for name, email, and password.
Feedback Signals (example)¶
- Install from the example app: narrative intake, verification step, analytics dashboard; optional Ollama or OpenRouter for analysis (lexicon fallback).
Upgrade¶
- Apps → Base → Sync (or install) to apply base 0.19.0 (
primary_color). - Set a primary color on each company you brand.
- Optional: Apps → Feedback Signals → Install when using
examples/serve.py. - Custom module routes should call
pyvelm.request_env.apply_request_scopein theirget_envso company theme and record rules match the main app.
New dependency: heroicons[jinja] (pulled in automatically on upgrade).