Changelog¶
0.4.2¶
Merge of staging tag v0.4.1 with related-records building blocks (0.4.0).
Added¶
- Everything in 0.4.0 and 0.4.1 below, combined on one branch.
ChildOf"New" button script preserved in the mergedlayout.html.
0.4.1¶
Tagged release on staging (v0.4.1).
Added¶
- List UI: overridden
layout.html,list.html, and_macros.htmlfor breadcrumbs, page title bar, pinned sidebar logout, and client-side per-column header filters (cf_<column>=<text>). - Column filters:
column_filters.pywith automaticRBACModelView.list_query()integration and auto-sortable plain columns inRBACModelView.__init__.
Changed¶
- Sidebar/list-table polish: dedupe single-segment breadcrumb, fix collapsed-sidebar content gap, column show/hide toggle, lighter header/selected-row colors, darker sidebar, tighter column widths and row height, selected-row link contrast fix.
0.4.0¶
Added¶
- Related records:
ChildOf,Related,RelatedRecordsMixinfor parent/child admin tables with multi-select parent filters, related links (optional counts) on the parent list, single-id parent prefill on create, and Save redirect back to a filtered list (sqladmin 0.31 query preservation + layout "New" button script). - Custom page RBAC:
RBACBaseViewwith automaticis_accessible/is_visiblegating andKloudmint.register()support;get_all_actions()for permission grid extras likeuse. - Filters:
MultiSelectForeignKeyFilter,MultiSelectValueFilter,ExactValueFilterwith kloudmint filter templates. - Mixins:
SoftDeleteMixin,DynamicChoicesMixin,FileUploadMixin+FileSpec. - Storage:
StorageBackendprotocol,LocalStorage,S3Storage(optionals3extra);Kloudmint(..., storage=)propagates to upload mixins. - Formatters:
kloudmint.formattersfactories (badge,bool_badge,date,pre,json_pretty,link,action_links,file_preview,expiry_badge). - Audit:
create_activity_log_model,KloudmintAuditBackend,AuditDiffMixin,ActivityLogAdminBase. - Detail pages:
DetailPage,Section, auto-mounted fromdetail_pages=on a model view. - Engine:
hide_empty_categories,audit_backend,activity_log_model;register()handlesRBACBaseViewand detail pages. - Docs: docs/BuildingBlocks.md.
Changed¶
- Requires sqladmin>=0.31,<0.32 (was
>=0.16.0). RelatedRecordsMixin.get_list_valueis async (matches sqladmin 0.31 async templates).AuditDiffMixin.after_model_changereturnssuper()'s result (preserves future redirect hooks).- Sidebar empty categories are hidden by default (
hide_empty_categories=True).
Known limitations¶
ChildOfdoes not prefill when the filter query carries multiple ids.- "Save and add another" on a filtered child create opens an unfiltered create form.
can_exportstill cannot be gated per-role (sqladmin has no async export hook).