Skip to content

UI improvement: make edit and delete buttons visible for custom AI provider#1535

Merged
wwwillchen merged 2 commits into
dyad-sh:mainfrom
princeaden1:improve-custom-ai-provider-ui
Oct 14, 2025
Merged

UI improvement: make edit and delete buttons visible for custom AI provider#1535
wwwillchen merged 2 commits into
dyad-sh:mainfrom
princeaden1:improve-custom-ai-provider-ui

Conversation

@princeaden1

@princeaden1 princeaden1 commented Oct 14, 2025

Copy link
Copy Markdown
Contributor
  • Move edit and delete actions from hidden popover to visible buttons
  • Restructure card layout: status badge and action buttons at top, title below
image

closes #1358


Summary by cubic

Made edit and delete always visible on custom provider cards and restructured the card layout for clearer actions and status. Improves discoverability and aligns with #1358.

  • Refactors
    • Replaced popover menu with visible Edit and Delete icon buttons (data-testid: edit-custom-provider, delete-custom-provider).
    • Moved status badge and actions to the top; title now sits below; badges don’t wrap.
    • Updated e2e tests to use new buttons and adjusted selectors for the updated heading.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

@wwwillchen wwwillchen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Overall, definitely an improvement UX-wise.

Two comments:

  1. Can you add tooltips to the edit and delete button? This makes it more obvious what they do before having to click on it.
  2. Can you look at why the e2e tests are failing? looks like quite a lot are failing so not sure if this changed the test hooks or something

@princeaden1

Copy link
Copy Markdown
Contributor Author

Thanks @wwwillchen, I have updated the PR

@wwwillchen wwwillchen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thx

@wwwillchen wwwillchen merged commit d76f428 into dyad-sh:main Oct 14, 2025
9 checks passed
DisciplesofLove pushed a commit to DisciplesofLove/JoyCreate that referenced this pull request Apr 28, 2026
…ovider (dyad-sh#1535)

- Move edit and delete actions from hidden popover to visible buttons
- Restructure card layout: status badge and action buttons at top, title
below

<img width="1029" height="414" alt="image"
src="https://github.com/user-attachments/assets/60497f87-254e-4f4d-9f8c-ea73b8f2526e"
/>

closes dyad-sh#1358


    
<!-- This is an auto-generated description by cubic. -->
---

## Summary by cubic
Made edit and delete always visible on custom provider cards and
restructured the card layout for clearer actions and status. Improves
discoverability and aligns with dyad-sh#1358.

- **Refactors**
- Replaced popover menu with visible Edit and Delete icon buttons
(data-testid: edit-custom-provider, delete-custom-provider).
- Moved status badge and actions to the top; title now sits below;
badges don’t wrap.
- Updated e2e tests to use new buttons and adjusted selectors for the
updated heading.

<!-- End of auto-generated description by cubic. -->
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.

Make it obvious how to access more AI provider details after setup

2 participants