-
- Downloads
[IMP] utm: Add kanban examples for UTM campaigns
Inspired by what is done in the task kanban of the project module, add examples of kanban stage setups for UTM campaigns, and allow users to load them. There have also been some minor changes to the campaigns view: - The helper message when there are no UTM campaigns has been changed to a more descriptive message. - All stages that existed by default (hardcoded in the data XML) have been removed except default New one. An user with a fresh database will have no stages in their kanban. The old hardcoded stages have been moved to the demo data instead, so they will still be added by default if the user installs demo data. - The ghost columns that appear in the kanban when no stages exist have been renamed to match the old stages that were hardcoded. - When the user opens the view to create a column, the 'See examples' link will appear below the 'Column title', just like in the project addon, and clicking it will open some examples specifically made for UTM campaigns. Clicking on the 'Use This For My Kanban' button will load the stages of the selected example. - A min-height property has been given to the example modal view so that the view does not change size depending on the number of rows in the ghost columns. Task ID: 2047369 PR #48299
Showing
- addons/utm/data/utm_data.xml 2 additions, 12 deletionsaddons/utm/data/utm_data.xml
- addons/utm/data/utm_demo.xml 38 additions, 24 deletionsaddons/utm/data/utm_demo.xml
- addons/utm/static/src/js/utm_campaign_kanban_examples.js 34 additions, 0 deletionsaddons/utm/static/src/js/utm_campaign_kanban_examples.js
- addons/utm/views/assets.xml 3 additions, 0 deletionsaddons/utm/views/assets.xml
- addons/utm/views/utm_campaign_views.xml 1 addition, 1 deletionaddons/utm/views/utm_campaign_views.xml
- addons/utm/views/utm_views.xml 4 additions, 1 deletionaddons/utm/views/utm_views.xml
- addons/web/static/src/scss/kanban_examples_dialog.scss 1 addition, 0 deletionsaddons/web/static/src/scss/kanban_examples_dialog.scss
Please register or sign in to comment