-
-
Notifications
You must be signed in to change notification settings - Fork 2k
[17.0][MIG] web_form_banner: Migration to 17.0 #3305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 17.0
Are you sure you want to change the base?
Conversation
Refactor JS: - Switch to the ESM style - Change var to const/let - Remove unused parts (diff, el.dataset.wfbTriggerFields) Miscellaneous improvements: - list view optional - Switch archive box icon to banner Co-authored-by: Yoshi Tashiro <tashiro@quartile.co>
- Add (partial) support for elements inside groups to be a target XPath without distorting the presentation - Remove obsolete bits
Dynamic banner update seems a bit slower than before. Is there room for improvement? |
da0f0d0
to
2cae18e
Compare
@yostashiro I compared between v16 and v17 in runboat with the latest changes and it is like the same. |
ac600ef
to
9883dd7
Compare
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an issue with banner reload with previous/next button. See #3308 (review).
fad1c14
to
3c6f17f
Compare
There was a problem hiding this 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.
Should be used instead of <code | ||
>record</code> when your rule is triggered dynamically by an | ||
update to a trigger field. It doesn't include any values from complex fields | ||
(x2many/reference, etc). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor adjustment.
(x2many/reference, etc). | |
(one2many/reference, etc). |
- Fix not updating banner when pager is update or duplicate or create - Fix presentation of help in web form banner rule
3c6f17f
to
c58f0db
Compare
Based on #3298
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