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

Austenem/CAT-883, CAT-914, CAT-870, CAT-868 #3552

Merged
merged 6 commits into from
Oct 1, 2024

Conversation

austenem
Copy link
Collaborator

Summary

Four minor/style bug fixes on the search, detail, and home pages.

Design Documentation/Original Tickets

CAT-868: Adjust size of "summary" view in entity headers dynamically based on the length of the content.

CAT-870: Update unified datasets link in "What’s New" section on homepage to point to an example dataset detail page.

CAT-883: Fix positioning of dropdown order menu on the tile view of the search page

CAT-914: Fix tabs moving around in bulk data transfer section on detail pages.

Testing

Manually tested all bugs, confirmed with screenshots.

Screenshots/Video

CAT-868

Issue (excess whitespace):

Screenshot 2024-09-30 at 10 42 30 AM

Fix:

Screenshot 2024-09-30 at 10 43 18 AM Screenshot 2024-09-30 at 10 43 32 AM
CAT-870

Issue (previous redirect):

Screenshot 2024-09-30 at 10 38 48 AM

Fix (updated redirect):

Screenshot 2024-09-30 at 10 39 07 AM
CAT-883

Issue:

Screenshot 2024-09-27 at 10 51 50 AM

Fix:

Screenshot 2024-09-27 at 10 51 42 AM

CAT-914

Issue:

Screen.Recording.2024-09-30.at.10.36.02.AM.mov

Fix:

Screen.Recording.2024-09-27.at.11.09.02.AM.mov

Checklist

  • Code follows the project's coding standards
    • Lint checks pass locally
    • New CHANGELOG-your-feature-name-here.md is present in the root directory, describing the change(s) in full sentences.
  • Unit tests covering the new feature have been added
  • All existing tests pass
  • Any relevant documentation in JIRA/Confluence has been updated to reflect the new feature
  • Any new functionalities have appropriate analytics functionalities added

Copy link
Collaborator

@NickAkhmetov NickAkhmetov 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 to me, nicely done!

Just a few small non-blocking suggestions.

@@ -41,6 +43,8 @@ export const createEntityStore = ({ springs }: { springs: ReturnType<typeof useS
summaryEntry: entry,
},
}),
summaryHeight: 0,
setSummaryHeight: (val: number) => set({ summaryHeight: val }),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Non-blocker, just an idea:

Suggested change
setSummaryHeight: (val: number) => set({ summaryHeight: val }),
setSummaryHeight: (summaryHeight: number) => set({ summaryHeight }),

@@ -41,6 +43,8 @@ export const createEntityStore = ({ springs }: { springs: ReturnType<typeof useS
summaryEntry: entry,
},
}),
summaryHeight: 0,
setSummaryHeight: (val: number) => set({ summaryHeight: val }),
view: 'narrow' as const,
setView: (val) => set({ view: val }),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similarly, could have the arg be named "view" here 😄

@austenem austenem merged commit 5f8c0bc into main Oct 1, 2024
8 checks passed
@austenem austenem deleted the austenem/many-minor-bug-fixes branch October 1, 2024 13:27
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.

2 participants