Skip to content

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_view and 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.py and examples/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 Time field 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

pip install -U pyvelm
  1. Apps → Base → Sync (or install) to apply base 0.19.0 (primary_color).
  2. Set a primary color on each company you brand.
  3. Optional: Apps → Feedback Signals → Install when using examples/serve.py.
  4. Custom module routes should call pyvelm.request_env.apply_request_scope in their get_env so company theme and record rules match the main app.

New dependency: heroicons[jinja] (pulled in automatically on upgrade).