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: move featured tool catalog to tooltip + make scrollable for smaller viewports #509

Conversation

ryanhopperlowe
Copy link
Contributor

@ryanhopperlowe ryanhopperlowe commented Sep 12, 2024

Make the featured tool catalog more responsive in smaller viewports.

  • Make it shrink with the window
  • Make it scrollable
  • Move to Tooltip instead of absolute-ly positioned div to fix z-index issues
  • Prevents threads container from shrinking with viewport

Copy link
Contributor

@tylerslaton tylerslaton left a comment

Choose a reason for hiding this comment

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

Looks great when testing locally!

Listbox,
ListboxItem,
Tooltip,
useDisclosure,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used?

@ryanhopperlowe ryanhopperlowe merged commit 70e8d02 into gptscript-ai:main Sep 13, 2024
1 check passed
@ryanhopperlowe ryanhopperlowe deleted the fix/484-entries-in-the-tool-list-gets-hidden-when-display-size-for-the-app-is-small branch September 13, 2024 16:22
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