-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Add content block empty states for Projects and improve Category labels #15292
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
Add content block empty states for Projects and improve Category labels #15292
Conversation
- Update subheading to clarify categorization purpose - Refine copy text to better explain categories as high-level labels
- Implement empty state with heading, subheading, and copy when no projects exist - Use asset-management pictogram for visual representation - Conditionally show content block only when no search is active - Add translation strings for all content block text - Match CategoryBundle empty state pattern for consistency
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 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.
Looks good
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.
A couple of small suggestions here too @andersonjeccel - thanks for the PR!
Co-authored-by: Ruth Cheesley <ruth@ruthcheesley.co.uk>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 7.x #15292 +/- ##
=========================================
Coverage 66.64% 66.64%
Complexity 35046 35046
=========================================
Files 2299 2299
Lines 141372 141372
=========================================
Hits 94221 94221
Misses 47151 47151 🚀 New features to boost your workflow:
|
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.
No issues in the code changes 👍
@RCheesley can you please re-review? I cannot merge this when you've requested changes. |
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.
Good to go!
|
Description
This PR improves the empty state experience for Projects and Categories by implementing content blocks that provide clear guidance to users when no items exist.
Changes Made:
Projects Bundle:
Category Bundle:
The implementation follows the existing CategoryBundle pattern for consistency and ensures proper internationalization support.
📋 Steps to test this PR: