x-atlas-consortia / data-ingest-board

The UI App for HuBMAP and Sennet Data Publishing Dashboard
MIT License
0 stars 0 forks source link

Make Incomplete Status Yellow on Data Ingest Board #182

Closed bhonick closed 4 months ago

bhonick commented 5 months ago

@shirey @DerekFurstPitt Please change the color of the Incomplete status on the Data Ingest Board from gray to yellow to match the color used on the Ingest UI:

image image

maxsibilla commented 5 months ago

This is something that is defined in the .env file. See SenNet for an example https://github.com/x-atlas-consortia/data-ingest-board/blob/e1bce9be5ec63222a3a08c7c16fd475aef3bcd6f/src/example.sennet.env#L21

yuanzhou commented 5 months ago

@BirdMachine what's the Hex color code of the yellow badge you used for Ingest Portal Incomplete status? @maxsibilla and I can configure with that color when we deploy the Data Ingest Board next time.

DerekFurstPitt commented 5 months ago

@yuanzhou

She shared the css with me. For incomplete she uses

.badge-incomplete { background-color: rgb(255, 193, 7); color: rgb(33, 37, 41); }

yuanzhou commented 5 months ago

Thanks @DerekFurstPitt. @libpitt can we use RGB color in the config or it has to be Hex code?

libpitt commented 5 months ago

@yuanzhou Use the example.env config for HM on the board. https://github.com/x-atlas-consortia/data-ingest-board/blob/e1bce9be5ec63222a3a08c7c16fd475aef3bcd6f/src/example.env#L22

It's up to date with status colors. You should have an entry for incomplete as #ffc107:#212529 just as @maxsibilla noted above.

yuanzhou commented 5 months ago

Thanks @libpitt.

yuanzhou commented 5 months ago

@bhonick we've redeployed on HuBMAP DEV, it'll be reflected on PROD when we release along with other updates.

Screenshot 2024-04-05 at 12 22 53 PM
bhonick commented 5 months ago

Thanks!