Skip to content

[Sharing NG] Add remix icon to share roles #8844

Closed

Description

@JammingBen

Description

Add icons for roles in the themes.json in the common section.

We add key>value pairs of name->path/to/icon.svg

The icons are basically strings representing an icon from https://remixicon.com/.

  • All viewer roles: eye
  • All editor roles: pencil
  • Space manager role: user-star
  • Secure view role: shield-fill

cc @micbar @rhafer

Activity

  1. moved this from Qualification to Backlog in Infinite Scale Team Boardon Apr 12, 2024
  2. self-assigned this
    on Apr 12, 2024
  3. assigned and unassigned on Apr 17, 2024
  4. moved this from Backlog to In progress in Infinite Scale Team Boardon Apr 17, 2024
  5. fschade commented on Apr 19, 2024

    @fschade
    Contributor

    Done statically in the theme json, no server is involved

  6. kulmann commented on Apr 20, 2024

    @kulmann
    Contributor

    Done statically in the theme json, no server is involved

    Why did you go with the theme.json instead of returning the iconnames from the server? Please document the reasoning here.

    Solution seems to be suboptimal to me. We have customers with a custom theme. They will need to adapt thir theme with the next release, which doesn't feel right.

  7. fschade commented on Apr 20, 2024

    @fschade
    Contributor

    since the icon is something visually we’ve decided to ship that via the theme.json.

    Currently a manual change is needed, we also discussed if the server should take care of injecting the icons there, for the moment we’ve decided to not do that. But I’m absolutely fine implementing such a thing (theme pre processing).

    Let me know what you think, even if we decide to have something else, in my opinion it’s great to give the user the ability to have it in the theme since it’s for me the single source of truth for everything that’s visually

  8. kulmann commented on Apr 21, 2024

    @kulmann
    Contributor

    As long as we don't support exchanging the entire icon set (I don't see that coming!) it's fine for the server to return the icon names. That's by far the simplest solution I can think of. Having a path in the theme even contradicts the way web currently loads its icons (which is.... by name, not by path).

    I don't have a current status on the cross client compatibility (i.e. are the remixicons available in all clients). IMO that should be the case but I doubt that we followed through with it.

    What you describe sounds like a cool thing to have in the future (theme preprocessing makes a lot of sense) but theming is not our current product focus so for what we currently have it sounds overengineered. 🙈

  9. fschade commented on Apr 21, 2024

    @fschade
    Contributor

    Let’s revisit that topic tomorrow after the standup, I’m sure we find a way to make it wow 🤩

  10. kulmann commented on Apr 22, 2024

    @kulmann
    Contributor
  11. fschade commented on Apr 24, 2024

    @fschade
    Contributor

    we decided to add a follow up issue which adds a theme processor and ensures defaults.
    closed

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

Metadata

Metadata

Assignees

Labels

Category:Enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions