Problem/Motivation
Varbase 10.1.x gave editors a useful dashboard from varbase_dashboards: a user card, Add content, the editor's drafts, all content and scheduled content. Varbase 11 sites land on the Drupal CMS welcome dashboard instead, which shows announcements and generic lists.
Editors should land on a Varbase dashboard again, built with configuration only (no custom code), using the Dashboard module that Varbase already installs.
Steps to reproduce
- Install a Vardot site template on Varbase 11.
- Log in as an editor and open the dashboard.
- It shows the Drupal CMS welcome dashboard, with announcements and generic lists.
Proposed resolution
In Varbase Admin Base, lay out the welcome dashboard like varbase_dashboards:
- A welcome card on top of the left column: the user's picture with "Welcome" and their name beside it (a 128×128 WebP avatar image style), from a small view of the current user.
- Left column: Add content (the Create menu), Top tasks and Drupal Events.
- Right column: My drafts, Recent content, Recent pages and accessibility alerts.
- Scheduled content underneath. No Announcements block.
- Apply core's
user_picturerecipe, which the welcome card needs.
Depends on #3629379: Carry the admin UI from the removed drupal_cms_admin_ui, as the welcome dashboard comes with it. My drafts and Scheduled content become visible to editors, and list Varbase workflow drafts, through a follow-up to #3629373: Allow Tagify 2 and carry the content basics from the removed drupal_cms_content_type_base in Varbase Content Base (branch 3629373-publishing-content-view), which should land first.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix (merge request)
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support
- ➖ User Guide Documentation support
- ❌ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ✅ Credit contributors
- ❌ Review with the product owner
- ❌ Update Release Notes
- ✅ Release Varbase Admin Base 1.0.4
- ❌ Merge after #3629379: Carry the admin UI from the removed drupal_cms_admin_ui
User interface changes
- Yes. The welcome dashboard gets the Varbase layout. A screenshot will be in the MR.
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Released in Varbase Admin Base 1.0.4.
AI-Generated: Yes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | dashboard-super-admin-full-page.png | 292.08 KB | rajab natshah |
| #4 | dashboard-super-admin.png | 189.84 KB | rajab natshah |
| #4 | dashboard-site-admin.png | 166.32 KB | rajab natshah |
| #4 | dashboard-seo-admin.png | 157.49 KB | rajab natshah |
| #4 | dashboard-content-admin.png | 162.02 KB | rajab natshah |
Issue fork varbase_admin_base-3629449
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajab natshahSuperseded by the updated screenshots in #comment-16801133.
Comment #4
rajab natshahUpdated screenshots for MR !36 after the latest changes: the Drupal Events block is removed, and the picture is bigger with the name beside it. Fresh Drupal CMS 2.2.3 install of Varbase Starter with the Varbase testing users and some sample drafts and accessibility alerts. The pictures are Varbase demo photos set on the test users; the recipe ships none. The Varbase logo in the navigation was set by hand on the test site.
Editor
Welcome card, Add content, Top tasks (Edit top tasks only), My drafts, Recent content, Recent pages, Scheduled.
Content admin
The same as Editor.
SEO admin
The same, without Recent pages (that needs the Canvas page permission).
Site admin
The same as Editor, plus Invite users to collaborate in Top tasks.
Super admin
Everything, including all Top tasks links and Pages with accessibility alerts.
Super admin, full page
AI-Generated: Yes
Comment #6
rajab natshahReleased in varbase_admin_base 1.0.4.
Comment #8
rajab natshahComment #9
rajab natshah