-
Notifications
You must be signed in to change notification settings - Fork 12.2k
chore: UX Fixes #26643
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
Merged
chore: UX Fixes #26643
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
87954a0
Copy changes
pumfleet b099cb2
Move search bar inline with new button
pumfleet 89edf29
Get rid of no more results message
pumfleet 54a4129
Change hidden badge to (hidden)
pumfleet c2372d6
Remove Cal.ai badge from sidebar
pumfleet f003cf1
Add dropdown to create button when there is multiple options
pumfleet a8312c0
Fix delete dialog
pumfleet 4d4cbc1
Saved filters updates
pumfleet 220a64a
More string fixes
pumfleet 632e614
Switch members table to use names
pumfleet 2cfe3e4
Fix member spacing
pumfleet 03db1bf
Fix routing form identifier field
pumfleet c7323e7
Fix routing forms stuff
pumfleet 6074e82
Only show SMS hint on SMS options
pumfleet 63d0d15
Make workflow delete button minimal
pumfleet a04432d
Fix padding on workflow steps
pumfleet 6494fc7
Remove min width on workflow title
pumfleet 086f118
Fix delete workflow PR
pumfleet ae09084
Fix org profile buttons
pumfleet aa6303c
Fix org profile screen partially scrolled down
pumfleet 7ad66e8
Improve logos & banner uploads
pumfleet f4e9951
Personal profile fixes
pumfleet 217d092
Fix settings general view stuff
pumfleet cb3442d
Sentence case consistency
pumfleet d4426f2
Merge branch 'main' into ux
pumfleet e1ce807
Fix stuff I broke
pumfleet d03f318
Fix fab
pumfleet 9bf3d22
Fix hidden translation string
pumfleet 7d535b7
Fix text fields
pumfleet 78305c7
Make button small for solo users too
pumfleet 2f1845e
Merge branch 'main' into ux
pumfleet f181940
Merge branch 'main' into ux
pedroccastro 961e211
fix: update E2E tests to match sentence case labels in routing forms
pedroccastro d5df06d
fix: update tests to match sentence case label changes
pedroccastro 4d5ef11
fix: address Cubic AI review feedback (confidence 9+)
devin-ai-integration[bot] b0f3ec3
fix: update E2E tests for sentence case label changes
pedroccastro a1bc518
fix: replace text locator with data-testid in manage-booking-question…
devin-ai-integration[bot] 34de07d
fix: use .last() for multiple location select items
pedroccastro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
apps/web/app/(use-page-wrapper)/(main-nav)/event-types/EventTypesWrapper.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| "use client"; | ||
|
|
||
| import { useDebounce } from "@calcom/lib/hooks/useDebounce"; | ||
| import { useLocale } from "@calcom/lib/hooks/useLocale"; | ||
| import { ShellMainAppDir } from "app/(use-page-wrapper)/(main-nav)/ShellMainAppDir"; | ||
| import type { ReactElement } from "react"; | ||
| import { useState } from "react"; | ||
|
|
||
| import EventTypes, { EventTypesCTA, SearchContext } from "~/event-types/views/event-types-listing-view"; | ||
|
|
||
| type GetUserEventGroupsResponse = Parameters<typeof EventTypesCTA>[0]["userEventGroupsData"]; | ||
|
|
||
| const CTAWithContext = ({ | ||
| userEventGroupsData, | ||
| }: { | ||
| userEventGroupsData: GetUserEventGroupsResponse; | ||
| }): ReactElement => { | ||
| return <EventTypesCTA userEventGroupsData={userEventGroupsData} />; | ||
| }; | ||
|
|
||
| export function EventTypesWrapper({ | ||
| userEventGroupsData, | ||
| user, | ||
| }: { | ||
| userEventGroupsData: GetUserEventGroupsResponse; | ||
| user: { | ||
| id: number; | ||
| completedOnboarding?: boolean; | ||
| } | null; | ||
| }): ReactElement { | ||
| const { t } = useLocale(); | ||
| const [searchTerm, setSearchTerm] = useState(""); | ||
| const debouncedSearchTerm = useDebounce(searchTerm, 500); | ||
|
|
||
| return ( | ||
| <SearchContext.Provider value={{ searchTerm, setSearchTerm, debouncedSearchTerm }}> | ||
| <ShellMainAppDir | ||
| heading={t("event_types_page_title")} | ||
| subtitle={t("event_types_page_subtitle")} | ||
| CTA={<CTAWithContext userEventGroupsData={userEventGroupsData} />}> | ||
| <EventTypes userEventGroupsData={userEventGroupsData} user={user} /> | ||
| </ShellMainAppDir> | ||
| </SearchContext.Provider> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We would have to update the skeleton loader on this page as we moved the search input to the top
Screen.Recording.2026-01-10.at.6.24.10.PM.mov