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

Fix bug that hid the last project in the list #27

Merged
merged 9 commits into from
Aug 23, 2023

Conversation

weeksling
Copy link
Contributor

@weeksling weeksling commented Aug 8, 2023

https://linear.app/chromaui/issue/AP-3443/project-picker-improvements

This fixes the major UI bug that prevented the last project in a long list being displayed correctly. Automatically selected the first account to make project selection easier.

Second bullet will be split into a separate pr as it requires a change to the public API to support orderBy parameters in the queries for viewers.accounts and viewers.accounts.projects

📦 Published PR as canary version: 0.0.30--canary.27.91e4436.0

✨ Test out this PR locally via:

npm install @chromaui/addon-visual-tests@0.0.30--canary.27.91e4436.0
# or 
yarn add @chromaui/addon-visual-tests@0.0.30--canary.27.91e4436.0

@linear
Copy link

linear bot commented Aug 8, 2023

AP-3443 Project picker improvements

  • Should start with the first account selected (and projects displayed)
  • Projects should be listed in some useful order (most recently built first maybe?)
  • If you have enough projects in the list to need to scroll, you cannot see the last one

@weeksling weeksling changed the title project picker improvements Fix bug that hid the last project in the list Aug 9, 2023
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM in the storybook!

image

@weeksling did you look at scrolling the story in a play function? Not a big deal but a good idea if easy

@weeksling
Copy link
Contributor Author

@tmeasday added the play function to the story. It was easier than I thought

@weeksling weeksling force-pushed the matt/ap-3443-project-picker-improvements branch from c29f6cb to c12e168 Compare August 22, 2023 15:12
@weeksling weeksling merged commit 4b436d7 into main Aug 23, 2023
3 checks passed
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.

3 participants