Skip to content

UI: Fix error message in zone wizard#8721

Merged
yadvr merged 1 commit intoapache:4.18from
shapeblue:ui-fixup-message
Feb 28, 2024
Merged

UI: Fix error message in zone wizard#8721
yadvr merged 1 commit intoapache:4.18from
shapeblue:ui-fixup-message

Conversation

@vishesh92
Copy link
Copy Markdown
Member

Description

This PR changes the error message in zone wizard as mentioned here: #8625 (comment)

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

Comment thread ui/public/locales/en.json
"message.request.failed": "Request failed.",
"message.required.add.least.ip": "Please add at least 1 IP Range",
"message.required.traffic.type": "All required traffic types should be added and with multiple physical networks each network should have a label.",
"message.required.traffic.type": "All required traffic types should be added and with multiple physical networks each traffic type should have a label.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but @andrijapanicsb , is this really what the message should say?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we stick to the grammar wording (should (don't have to) vs. must (have to)) - then yes. The problem was that it said each network should have a label, while actually, traffic types are having labels (not networks) - that is why this change is there @DaanHoogland

See this comment (where this comes from #8625 (comment) )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so ltgy, @andrijapanicsb ?

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 13.16%. Comparing base (4e34e6b) to head (a8677c3).
Report is 2 commits behind head on 4.18.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.18    #8721      +/-   ##
============================================
- Coverage     13.16%   13.16%   -0.01%     
  Complexity     9203     9203              
============================================
  Files          2724     2724              
  Lines        258130   258137       +7     
  Branches      40232    40235       +3     
============================================
  Hits          33989    33989              
- Misses       219833   219840       +7     
  Partials       4308     4308              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes lgtm

@yadvr yadvr merged commit 9bd359a into apache:4.18 Feb 28, 2024
@yadvr yadvr deleted the ui-fixup-message branch February 28, 2024 13:30
@yadvr yadvr added this to the 4.18.2.0 milestone Feb 28, 2024
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants