canonical / charmhub.io

GNU General Public License v3.0
9 stars 23 forks source link

fix: add a chip to integration tabs when required property is set to true in metadata.yaml #1851

Closed chillkang closed 1 week ago

chillkang commented 2 weeks ago

Done

How to QA

Testing

Issue / Card

Fixes #https://warthogs.atlassian.net/browse/WD-9928

Screenshots

Screenshot 2024-06-14 at 9 32 09 PM
webteam-app commented 2 weeks ago

Demo

Jenkins

demos.haus

Lukewh commented 2 weeks ago

We seem to have lost the space between certificates and endpoint?

image

chillkang commented 2 weeks ago

@Lukewh We should have the space back now!

lukasSerelis commented 2 weeks ago

+1 on what Luke said, it's the other way around.

Also, we'll need to put this on hold, apparently charmers don't use optional=true diligently, which would mean that it's not a good source of truth. Will update on this

lukasSerelis commented 2 weeks ago

Current solution is to pretend there is a required=true field in metadata.yaml or charmcraft.yaml and check for that. As we make it a standard it will be displayed in Charmhub.

lukasSerelis commented 1 week ago

Looks good!