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

feat: [M3-7841] - Add the capability to search for a Linode by ID using the main search tool. #11112

Merged
merged 44 commits into from
Oct 17, 2024

Conversation

cpathipa
Copy link
Contributor

@cpathipa cpathipa commented Oct 16, 2024

Description 📝

This PR add's capability to the main search tool to search linode by ID, example id: 1234 should show the matching result.
Also fixes the issue of rendering correct icon for the buckets in the results list.

Target release date 🗓️

10/28

Preview 📷

Before After
image image
image image

How to test 🧪

Verification steps

(How to verify changes)

  • Checkout and run locally
  • Use main search tool to search any linode by typing its id example (1234 or id:1234)
  • Verfrify and confirm on bucket icon for storage bucket search result.
  • Verify the results and no regression in main search functionality .

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@cpathipa cpathipa self-assigned this Oct 16, 2024
@cpathipa cpathipa requested review from a team as code owners October 16, 2024 13:55
@cpathipa cpathipa requested review from AzureLatte, mjac0bs and hana-akamai and removed request for a team October 16, 2024 13:55
Copy link

github-actions bot commented Oct 16, 2024

Coverage Report:
Base Coverage: 87.06%
Current Coverage: 87.06%

@cpathipa cpathipa added the Add'tl Approval Needed Waiting on another approval! label Oct 16, 2024
@@ -158,7 +158,7 @@ export const bucketToSearchableItem = (
cluster: bucket.cluster,
created: bucket.created,
description: readableBytes(bucket.size).formatted,
icon: 'bucket',
icon: 'storage',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This results rending bucket icon for storage bucket search

Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

✅ Used main search tool to search any linode by typing its id, both by itself and prefixed by id:
✅ Verified bucket icon for storage bucket search result instead of the linode icon
✅ Tested existing search functionality and didn't see regressions

Looks good, thanks Chandra! Left some very minor nits for grammar.

@mjac0bs mjac0bs added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Oct 16, 2024
cpathipa and others added 2 commits October 17, 2024 08:44
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
@cpathipa cpathipa merged commit cf8823a into linode:develop Oct 17, 2024
22 of 23 checks passed
@cpathipa cpathipa deleted the M3-7841 branch October 17, 2024 16:40
Copy link

cypress bot commented Oct 17, 2024

Cloud Manager E2E    Run #6696

Run Properties:  status check passed Passed #6696  •  git commit cf8823adbd: feat: [M3-7841] - Add the capability to search for a Linode by ID using the main...
Project Cloud Manager E2E
Run status status check passed Passed #6696
Run duration 29m 31s
Commit git commit cf8823adbd: feat: [M3-7841] - Add the capability to search for a Linode by ID using the main...
Committer cpathipa
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 9
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants