Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

AungKoKoLin1997
Copy link
Contributor

Based on #3308
The module adds configurable banners for backend form views. Define rules per model
(and optionally per view) to show context-aware alerts with a chosen severity (info/warning/danger).

Messages can be plain text with ${placeholders} or fully custom HTML; visibility,
severity, and values are computed server-side via a safe Python expression.

Banners are injected just before or after a target node (default: //sheet) and refresh
on form load/save/reload.

@qrtl QT5747

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-mig-web_form_banner branch from 81e8a66 to 6f32005 Compare October 8, 2025 07:06
@AungKoKoLin1997
Copy link
Contributor Author

AungKoKoLin1997 commented Oct 9, 2025

For some reason, the demo data are not being loaded in runboat and CI tests.

@yostashiro
Copy link
Member

@AungKoKoLin1997 Can we switch to not relying on demo data for tests?

- Fix not updating banner when pager is update or duplicate or create
- Fix presentation of help in web form banner rule
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-mig-web_form_banner branch 2 times, most recently from 1dcf04d to e728acd Compare October 16, 2025 09:40
Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

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

Code review and functional test. LGTM. 👍

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.

2 participants