Skip to content

Add search bar on rules of roles#10822

Merged
DaanHoogland merged 2 commits intoapache:4.20from
scclouds:adds-search-bar-on-rules-of-roles
May 8, 2025
Merged

Add search bar on rules of roles#10822
DaanHoogland merged 2 commits intoapache:4.20from
scclouds:adds-search-bar-on-rules-of-roles

Conversation

@vits-hugs
Copy link
Copy Markdown
Contributor

Adds search bar on the rules of roles

Description

When editing a role's rules, you'll need to scroll until the specific rule you're looking for appears. To make this process easier, a search bar has been added to the role's permissions tab.

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
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Screenshots (if appropriate):

image

How Has This Been Tested?

For different roles:

  • Tested the search, to verify if the results were consistent with the search values.
  • Made alterations on the roles from the searched results.
  • Tested if the alterations on the rules of the roles are working.

@boring-cyborg
Copy link
Copy Markdown

boring-cyborg bot commented May 6, 2025

Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
Here are some useful points:

@bernardodemarco bernardodemarco added this to the 4.20.1 milestone May 6, 2025
@bernardodemarco
Copy link
Copy Markdown
Member

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@bernardodemarco a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10822 (QA-JID-612)

Copy link
Copy Markdown
Member

@bernardodemarco bernardodemarco left a comment

Choose a reason for hiding this comment

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

lgtm, verified in the QA environment

image

@vits-hugs
Copy link
Copy Markdown
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@vits-hugs a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10822 (QA-JID-614)

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.

looks good, I intended to say the search bar and the export button would look nice side-by-side instead of on top of each other. no biggy

@codecov
Copy link
Copy Markdown

codecov bot commented May 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.13%. Comparing base (f6d0590) to head (0c31df1).
Report is 4 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #10822      +/-   ##
============================================
- Coverage     16.13%   16.13%   -0.01%     
+ Complexity    13220    13216       -4     
============================================
  Files          5651     5651              
  Lines        496740   496749       +9     
  Branches      60183    60184       +1     
============================================
- Hits          80148    80127      -21     
- Misses       407674   407705      +31     
+ Partials       8918     8917       -1     
Flag Coverage Δ
uitests 4.00% <ø> (-0.01%) ⬇️
unittests 16.98% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

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

LGTM didn't test it though

@DaanHoogland DaanHoogland merged commit f4ca706 into apache:4.20 May 8, 2025
21 of 26 checks passed
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg bot commented May 8, 2025

Awesome work, congrats on your first merged pull request!

dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
Co-authored-by: Vitor Hugo Homem Marzarotto <vitor.marzarotto@scclouds.com.br>
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