Skip to content

fix(credentials/detail): delete btn style #3132

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SkyeYoung
Copy link
Member

Please answer these questions before submitting a pull request, or your PR will get closed.

Why submit this pull request?

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What changes will this PR take into?

OLD NEW
image image

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adjusts the DeleteResourceBtn on the credentials detail page to use the new “detail” styling mode.

  • Adds a mode="detail" prop to the delete button component.
  • Updates styling behavior for delete actions in detail view.
Comments suppressed due to low confidence (1)

src/routes/consumers/detail.$username/credentials/detail.$id.tsx:137

  • Add or update tests to cover the detail mode of DeleteResourceBtn, ensuring the button renders with the expected styling and behavior.
                mode="detail"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants