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

PEAR-1900 expand files table search #1122

Merged
merged 1 commit into from
May 17, 2024

Conversation

wteouchicago
Copy link
Contributor

Description

  • allow users to search in the Cart and Repository tables for case id and case submitter_id.
  • updated search tooltip

Checklist

  • [N/A] Added proper unit tests
  • [N/A] Left proper TODO messages for any remaining tasks
  • [N/A] Scanned for web accessibility with aXe, and mitigated or documented
    flagged issues

Screenshots/Screen Recordings (if Appropriate)

Screenshot 2024-05-14 at 10 32 17 PM Screenshot 2024-05-14 at 10 32 38 PM Screenshot 2024-05-14 at 10 33 29 PM Screenshot 2024-05-14 at 10 33 44 PM

@@ -483,7 +493,7 @@ const FilesTables: React.FC = () => {
search={{
enabled: true,
tooltip:
"e.g. HCM-CSHL-0062-C18.json, 4b5f5ba0-3010-4449-99d4-7bd7a6d73422",
"e.g. HCM-CSHL-0062-C18.json, 4b5f5ba0-3010-4449-99d4-7bd7a6d73422, HCM-CSHL-0062-C18",
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: I'm not sure how often this will change or how many places will use it. If we make this a constant and import it, we can easily update it in one place later if needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so this specific text will be used in 2 files table. each search "tooltip" will have different text depending on what search is possible. not sure if 2 is sufficient to make a const out of it. 🤷‍♀️ any idea? @paribartandhakal

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay it makes sense if that's the case. We can leave as is.

@craigrbarnes craigrbarnes merged commit 7493a68 into develop May 17, 2024
4 checks passed
@craigrbarnes craigrbarnes deleted the PEAR-1900_expand_table_search branch May 17, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants