Repository navigation
Conversation
SimpleMenuAction only took an icon CSS class, which needs the generated icons.css and an invert filter on the primary button. setIconSvgInline() takes SVG markup colored with currentColor. The icon class argument is deprecated. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
IIconWidget::getIconUrl() replaces it. Legacy panels now also show the icon URL when a widget provides one, like API widgets already do. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
Adds typeIconSvg and OCP.Collaboration.getIconSvg(). typeIconClass and getIcon() are deprecated. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
Workflow operation iconClass and icon classes in SearchResultEntry are deprecated in favor of icon URLs. TemplateFileCreator::setIconClass() now points to setIconSvgInline(). Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The generated
icon-*classes (dist/icons.css) still leak through a few public APIs. This deprecates them so we can drop the file later.New:
SimpleMenuAction::setIconSvgInline()for public page header actions, andtypeIconSvg/getIconSvg()onOCP.Collaboration. Both render throughNcIconSvgWrapperwithcurrentColor, so the primary button doesn't need the invert filter for them. The public share page uses them already.Deprecated with existing replacements:
IWidget::getIconClass()(useIIconWidget::getIconUrl()), workflowiconClass(useicon), and icon classes inSearchResultEntry(pass a URL). Legacy dashboard panels now showiconUrllike API widgets do.Nothing is removed. nc-vue's
NcCollectionListstill readsgetIcon(), so files keeps registering its class for now.TODO
upgrade_to_36.rst)Checklist
3. to review, feature component)stable32)AI (if applicable)
👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.