-
Notifications
You must be signed in to change notification settings - Fork 885
fix: Show correct 'no results' message on workspace filters #2103
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
Conversation
</TableCell> | ||
</TableRow> | ||
<> | ||
{query === "owner:me" || query === "" ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: I'd make these constants and re-use those constants here and in the form menu. Maybe in utils/workspaces.ts
Suggestion: Can we adjust the storybook so that there's a case for each the paths? See what I mean here: https://www.chromatic.com/test?appId=624de63c6aacee003aa84340&id=629e690bcbc710004ad776c9 |
Will need some guidance on the story stuff, I'm looking at https://github.com/coder/coder/blob/main/site/src/pages/WorkspacesPage/WorkspacesPageView.stories.tsx and I'm pretty lost on how to add my query stuff. |
@f0ssel happy to get on discord sometime today and figure out the storybook stuff |
Probably some of these conflicts are related to this PR #2097 basically what I made to cause this was to move all the logic from WorkspacePage to the WorkspacePageView so we could easily test that using Storybook. Please, let me know if you need help to solve the conflict. |
2b69691
to
b0d1bb0
Compare
Fixes #2042.
Open to suggestions on what to display here, right now there's currently no description text.