Skip to content

fix/button variant primary#7815

Merged
mejo- merged 3 commits into
mainfrom
fix/button-variant-primary
Oct 23, 2025
Merged

fix/button variant primary#7815
mejo- merged 3 commits into
mainfrom
fix/button-variant-primary

Conversation

@max-nextcloud
Copy link
Copy Markdown
Collaborator

  • chore(update): use variant rather than type
  • chore(update): rename state.type to actionType

@max-nextcloud max-nextcloud requested a review from mejo- as a code owner October 21, 2025 17:55
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 21, 2025

Codecov Report

❌ Patch coverage is 90.90909% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.68%. Comparing base (db14bea) to head (76baa06).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/components/Menu/BaseActionEntry.js 50.00% 1 Missing ⚠️
src/helpers/filePicker.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7815      +/-   ##
==========================================
+ Coverage   52.89%   59.68%   +6.79%     
==========================================
  Files         500      500              
  Lines       43278    38350    -4928     
  Branches     1062     1062              
==========================================
- Hits        22890    22889       -1     
+ Misses      20282    15355    -4927     
  Partials      106      106              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this! Code changes look good to me, prettier is unhappy though.

@max-nextcloud max-nextcloud force-pushed the fix/button-variant-primary branch from dad7d9a to e063c47 Compare October 22, 2025 17:29
NcButton and NcActions now use the variant prop.

Signed-off-by: Max <[email protected]>
This way the type is not passed as a prop on `v-bind=state` binding.

Signed-off-by: Max <[email protected]>
@mejo- mejo- force-pushed the fix/button-variant-primary branch from 45d2170 to a271cd8 Compare October 23, 2025 06:40
@mejo- mejo- force-pushed the fix/button-variant-primary branch from a271cd8 to 76baa06 Compare October 23, 2025 07:02
@mejo- mejo- enabled auto-merge October 23, 2025 07:14
@mejo- mejo- merged commit b9b942f into main Oct 23, 2025
63 of 64 checks passed
@mejo- mejo- deleted the fix/button-variant-primary branch October 23, 2025 07:23
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