Skip to content

feat(desktop): use segmented controls for channel creation (#6845) - #2

Merged
shivchander merged 1 commit into
shivchander:mainfrom
block:main
Aug 31, 2026
Merged

feat(desktop): use segmented controls for channel creation (#6845)#2
shivchander merged 1 commit into
shivchander:mainfrom
block:main

Conversation

@shivchander

Copy link
Copy Markdown
Owner

Summary

  • replace the two-option Type and Visibility dropdowns in the Create channel dialog with single-click segmented controls
  • keep Expires after as a dropdown and preserve the existing dropdown controls in edit and management dialogs
  • update channel creation end-to-end coverage for the direct controls

Before

Default Ongoing/Public state:

Create channel before - default Ongoing and Public

Type dropdown open, showing the extra selection click:

Create channel before - Type dropdown open

After

Default Ongoing/Public state:

Create channel after - default Ongoing and Public

Temporary/Private state with the Expires after row visible:

Create channel after - Temporary and Private

Verification

  • Biome and TypeScript checks pass
  • 5,508 desktop unit tests pass
  • 88 channel smoke tests pass
  • source guards pass

Summary

Related issue

Testing

## Summary

- replace the two-option Type and Visibility dropdowns in the Create
channel dialog with single-click segmented controls
- keep Expires after as a dropdown and preserve the existing dropdown
controls in edit and management dialogs
- update channel creation end-to-end coverage for the direct controls

## Before

Default Ongoing/Public state:

![Create channel before - default Ongoing and
Public](https://d24qwcpro867f5.cloudfront.net/repos/buzz/prs/6845/before-default.png)

Type dropdown open, showing the extra selection click:

![Create channel before - Type dropdown
open](https://d24qwcpro867f5.cloudfront.net/repos/buzz/prs/6845/before-type-dropdown.png)

## After

Default Ongoing/Public state:

![Create channel after - default Ongoing and
Public](https://d24qwcpro867f5.cloudfront.net/repos/buzz/prs/6845/after-default-reversed.png)

Temporary/Private state with the Expires after row visible:

![Create channel after - Temporary and
Private](https://d24qwcpro867f5.cloudfront.net/repos/buzz/prs/6845/after-temporary-private-reversed.png)

## Verification

- Biome and TypeScript checks pass
- 5,508 desktop unit tests pass
- 88 channel smoke tests pass
- source guards pass

---------

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@shivchander
shivchander merged commit fca1dcd into shivchander:main Aug 31, 2026
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.

2 participants