Skip to content
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

Add display of colours in concept hierarchy and object page #89

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

edmondchuc
Copy link
Collaborator

This PR adds colour indicators to some parts of prez-ui.


  1. If a concept returns schema:color when rendering the concept hierarchy, it will display a small colour indicator just like how colour indicators are shown in the vocabulary listing page.

Screenshot 2023-08-07 at 11 22 57 am


  1. If an object page contains a schema:color predicate, it will display the value along with a colour indicator next to it.

Screenshot 2023-08-07 at 11 23 13 am

jamiefeiss
jamiefeiss previously approved these changes Aug 7, 2023
Copy link
Collaborator

@jamiefeiss jamiefeiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@edmondchuc edmondchuc merged commit af4e806 into main Aug 8, 2023
@edmondchuc edmondchuc deleted the edmond/feature/bgs branch August 8, 2023 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants