-
Notifications
You must be signed in to change notification settings - Fork 4
Create wave modal bug fix #1578
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
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| --- | ||
| created: 2025-10-29 | ||
| id: TKT-0021 | ||
| owner: openai-assistant | ||
| priority: P1 | ||
| status: In-Progress | ||
| title: Restore Discover create wave modal | ||
| --- | ||
|
|
||
| ## Context | ||
|
|
||
| > The Discover page's `Create Wave` CTA should open the modal overlay, but a recent redesign causes the main content to swap to the inline creation form instead. Need to restore the modal behavior without regressing the existing direct message modal or in-app handling. | ||
|
|
||
| ## Plan | ||
|
|
||
| - [ ] Reintroduce the wave modal in `Waves` when running on web while keeping app behavior intact. | ||
| - [ ] Ensure the inline view is only used where appropriate and URL query strings still toggle modal visibility. | ||
| - [ ] Verify both `Create Wave` and `Create DM` buttons behave correctly on Discover. | ||
|
|
||
| ## Acceptance | ||
|
|
||
| - [ ] Clicking `Create Wave` on Discover opens the modal overlay and leaves the list view visible. | ||
| - [ ] Closing/success from the modal clears the `create` query parameter and returns to the list. | ||
| - [ ] `Create DM` button continues to open its modal. | ||
| - [ ] `npm run lint`, `npm run type-check`, and targeted tests succeed when run. | ||
|
|
||
| ## Links | ||
|
|
||
| - Primary PR: _(add when available)_ | ||
| - Follow-ups: _(reference additional tickets or TODO items)_ | ||
|
|
||
| ## Log | ||
|
|
||
| - 2025-10-29T07:06:06Z – Created ticket and triaged regression scope. | ||
| - 2025-10-29T07:08:01Z – Wired `CreateWaveModal` back into `Waves` for web, keeping inline create for app, and ran `npm run lint`. | ||
| - 2025-10-29T07:10:05Z – Confirmed `npm run type-check` and `npm run test:cov:changed` pass (pre-existing console warnings only). | ||
| - 2025-10-29T07:15:11Z – Resolved nested link warning by making the card container a focusable div with keyboard/middle-click routing and re-ran checks. | ||
| - 2025-10-29T07:48:13Z – Restored outer `<Link>` semantics with internal button replacements, updated contributor avatars to use buttons, adjusted tests, and reran lint/type-check/tests. | ||
| - 2025-10-29T08:22:29Z – Added missing `"use client"` directive to `WaveItemDropped` per hook usage guidance. |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.