Forbid setting dashboard name to empty#4092
Draft
johannaengland wants to merge 3 commits into
Draft
Conversation
|
Warning 5 of 93 new test names are missing convention keywords (
Why am I seeing this?Test names should follow a loose given/when/then pattern with keywords like Examples:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 5.18.x #4092 +/- ##
==========================================
+ Coverage 64.15% 64.16% +0.01%
==========================================
Files 628 628
Lines 46553 46553
Branches 43 43
==========================================
+ Hits 29867 29873 +6
+ Misses 16676 16670 -6
Partials 10 10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
johannaengland
force-pushed
the
bugfix/empty-dashboard-name
branch
from
July 10, 2026 13:42
7daad10 to
7ce970a
Compare
Name cannot be empty string or whitespace only
johannaengland
force-pushed
the
bugfix/empty-dashboard-name
branch
from
July 10, 2026 13:49
7ce970a to
f6ebd4f
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Scope and purpose
Fixes #4061. In draft since only added constraint and tests for now. It is still lacking actually updating
add_dashboardandrename_dashboardto empty string/whitespace and showing the user an error message when they try to set it to empty.Contributor Checklist
Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to NAV can be found in the
Hacker's guide to NAV.
<major>.<minor>.x). For a new feature or other additions, it should be based onmaster.