-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icon and color definitions for dicom-viewer .dcm filetype #10172
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general this is ready to merge. Just one question: where do the flip
icons come from? Did you create them yourself? We need to be clear about licenses. For the FontAwesome icons we have the attribution within the .svg source and in the browser console. If you made the icons yourself, then please add something like this in the svg files:
<!-- MIT License: https://opensource.org/licenses/MIT -->
<!-- author: https://github.com/koebel -->
(of course with whatever license you want to have...)
@kulmann I took some existing icons from your icon set (split-cells-horizontal.svg and split-cells-vertical.svg) as baseline for the flip icon and modified them myself to better fit the context of the dicom viewer functionalities. For the medical data icon, I took a font awesome icon as baseline. |
@kulmann the SVGs above (split-cells-horizontal.svg and split-cells-vertical.svg) which I took as a baseline for the two flip icons from the assets provided in oc web's design-system package, don't have any attribution. Do you know anything about their source? I couldn't find them in font awesome. It looks very much like it's from this source which would have the following credentials: LICENSE: Apache License, AUTHOR: Remix Design
|
@koebel can't you just use the two icons that we already have? All our icons which are not prefixed with Again, I'd prefer if you would only add the fontawesome icon for the medical files, that makes sense. But for the remixicons I'd be more happy if we wouldn't add custom icons. Another option would be to try to get your icons upstream into remixicons, with a PR to https://github.com/Remix-Design/RemixIcon and use the cell icons for now, until remixicons (hopefully) accepts your contribution. |
Thanks for the feedback. I don't think that the original split cell icon would be suitable, however there was already an issue about this in Remix Icon and I've just created a PR with the proposed solution for these icons to be added to Remix Icons. |
I've removed the flip icon here while we're waiting for RemixDesign to approve the upstream PR. |
@koebel I restarted CI. The previous run last week had some error when building stuff in one of the pipelines, probably unrelated to this PR. |
https://drone.owncloud.com/owncloud/web/42123/7/4 |
…p-dicom-viewer to display dcm filetype
…p-dicom-viewer to display dcm filetype
7cf8343
to
6396ccb
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Description
web-app-dicom-viewer is an extension to preview DICOM files (medical images) and their corresponding metadata in the browser. In order to display these .dcm files with a suitable icon in the file list, I've added a new icon.
Also added two icons for the flip image function in the dicom-viewer (flip-vertical, flip-horizontal).In addition, color definitions have been added for the .dcm filetype icon.Related Issue
Motivation and Context
I suggest to add these icons and color definitions to web's design system package in order to have all icons in one place. For all other icons used in the dicom-viewer, I reused other icons that are already part of the design system package, but for these particular cases, I couldn't find any suitable icons in the current collection. The new icons match the other icon set (same style, line type, etc.)
How Has This Been Tested?
icons and color definitions have been tested manually/visually in the browser :)
Screenshots (if appropriate):
suggested icon & color for .dcm filetype in file list
suggested icon for flip function in the dicom viewer
Types of changes
Checklist:
Open tasks: