linode / manager

Akamai's Cloud Manager is an open-source, single-page application designed as the primary frontend interface for interacting with the Linode API. It is entrusted by hundreds of thousands of customers with the management of their Linode services.
https://cloud.linode.com
Apache License 2.0
691 stars 361 forks source link

upcoming: [DI-20934] - Configurable Max limit on resource selection component #11252

Open ankitaakamai opened 1 day ago

ankitaakamai commented 1 day ago

Description πŸ“

Introduction of configurable Max limit on resource selection component and other enhancements.

Changes πŸ”„

  1. SELECT_ALL option in resources list component will not be available if number of resources are higher than the maximum resources selection limit set in launchDarkly.
  2. In resource selection autocomplete, user will be able to select resources up to maximum resource selection limit, all other resources(options) will be disabled after reaching this limit.
  3. Text 'Select up to limit label' is introduced under resource selection autocomplete.

Target release date πŸ—“οΈ

12-12-2024

Preview πŸ“·

Before After
image image
image image

How to test πŸ§ͺ

Verification steps

  1. Login as a mock user.
  2. Select any resource type - linode or databases, and the relevant filters.
  3. If you have resources > max resource selection limit, you will not see any 'Select All' tab in resource selection autocomplete.
  4. Try selecting any resource after you have already selected resources up to max limit, you will not be able to select any additional resource as they are disabled after reaching max selection limit.

As an Author, I have considered πŸ€”


As an Author, before moving this PR from Draft to Open, I confirmed βœ…

github-actions[bot] commented 20 hours ago

Coverage Report: βœ…
Base Coverage: 87.37%
Current Coverage: 87.37%

linode-gh-bot commented 19 hours ago

Cloud Manager UI test results

:tada: 445 passing tests on test run #5 β†—οΈŽ

:x: Failing:white_check_mark: Passing:arrow_right_hook: Skipped:clock1: Duration
0 Failing445 Passing2 Skipped94m 15s