Skip to content
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

NAS-133723 / 25.10 / Adds "Enable VLAN" checkbox and sends null when disabled #11495

Merged
merged 7 commits into from
Feb 12, 2025

Conversation

RehanY147
Copy link
Contributor

Changes:

Adds an "Enable VLAN" checkbox to the ipmi form. If the checkbox is unchecked, UI should send null value in the "vlan" field when calling middleware endpoint. When the checkbox is checked, the vlan id field is required.

Testing:

Check that vlan id is disabled, enabled and set correctly.

@RehanY147 RehanY147 requested a review from a team as a code owner February 5, 2025 22:49
@RehanY147 RehanY147 requested review from AlexKarpov98 and removed request for a team February 5, 2025 22:49
@bugclerk
Copy link
Contributor

bugclerk commented Feb 5, 2025

@bugclerk bugclerk changed the title NAS-133723: Adds "Enable VLAN" checkbox and sends null when disabled NAS-133723 / 25.10 / Adds "Enable VLAN" checkbox and sends null when disabled Feb 5, 2025
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.27%. Comparing base (fa3c7fe) to head (251a312).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11495   +/-   ##
=======================================
  Coverage   83.27%   83.27%           
=======================================
  Files        1654     1654           
  Lines       59091    59092    +1     
  Branches     6353     6353           
=======================================
+ Hits        49207    49211    +4     
+ Misses       9884     9881    -3     

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

Copy link
Contributor

@AlexKarpov98 AlexKarpov98 left a comment

Choose a reason for hiding this comment

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

It works 👍
Screenshot 2025-02-07 at 14 55 23

@RehanY147 RehanY147 enabled auto-merge (squash) February 12, 2025 23:10
@RehanY147 RehanY147 merged commit 82a36fe into master Feb 12, 2025
11 checks passed
@RehanY147 RehanY147 deleted the NAS-133723 branch February 12, 2025 23:39
@bugclerk
Copy link
Contributor

JIRA ticket https://ixsystems.atlassian.net/browse/NAS-133723 is targeted to the following versions which have not received their corresponding PRs: 25.04-RC.1

@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Feb 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants