Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1240

Derive icon from service when not provided

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.12.0
    • Component/s: Core
    • Labels:
      None

      Description

      If no iconName method is provided for a service Isis searches for an icon equal to the service name. Additional to this behavior we could extend this search by stripping off know service suffixes like "Service, Menu and Repository". As an example: the "PersonMenu" service will use the "Person" icon if no icon has been specified.

      If annotated as a repository (@DomainService(repositoryFor=...) then that could also be used.

        Activity

        Hide
        danhaywood Dan Haywood added a comment -

        the icon is already derived from @DomainService(repositoryFor=...). I think that ought to suffice.

        I've updated the docs to say this.

        Show
        danhaywood Dan Haywood added a comment - the icon is already derived from @DomainService(repositoryFor=...). I think that ought to suffice. I've updated the docs to say this.

          People

          • Assignee:
            danhaywood Dan Haywood
            Reporter:
            jcvanderwal Jeroen van der Wal
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development