Skip to content

feat(NcIcon): provide component to render Nextcloud icons#8264

Draft
susnux wants to merge 2 commits intomainfrom
feat/nc-icon
Draft

feat(NcIcon): provide component to render Nextcloud icons#8264
susnux wants to merge 2 commits intomainfrom
feat/nc-icon

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 28, 2026

☑️ Resolves

This component is intended to render Nextcloud icons, those icons are provided by the Nextcloud server so that the design is consistent across the same server release.
This also should reduce duplicated icons shipped by various apps and inconsistent design (filled / outlined or MDI vs Material Symbols...).

The icon names are standarized so they can be returned by APIs.

The component API is similar to NcIconSvgWrapper which would then no longer be needed for standard icons.

🖼️ Screenshots

grafik

🚧 Tasks

  • Server side merge

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 2️⃣ Backport to stable8 for maintained Vue 2 version or not applicable

@susnux susnux added this to the 9.6.0 milestone Feb 28, 2026
@susnux susnux added enhancement New feature or request 3. to review Waiting for reviews component Component discussion and/or suggestion labels Feb 28, 2026
@susnux susnux marked this pull request as draft February 28, 2026 14:56
- Implementation of nextcloud/standards#16

This component is intended to render Nextcloud icons,
those icons are provided by the Nextcloud server so that the design is
consistent across the same server release.
This also should reduce duplicated icons shipped by various apps and
inconsistent design (filled / outlined or MDI vs Material Symbols...).

The icon names are standarized so they can be returned by APIs.

The component API is similar to `NcIconSvgWrapper` which would then no
longer be needed for standard icons.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.84%. Comparing base (95c37c8) to head (2063656).
⚠️ Report is 58 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8264   +/-   ##
=======================================
  Coverage   52.84%   52.84%           
=======================================
  Files         103      103           
  Lines        3351     3351           
  Branches      977      977           
=======================================
  Hits         1771     1771           
  Misses       1332     1332           
  Partials      248      248           

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews component Component discussion and/or suggestion enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant