hubmapconsortium / hra-ui

HRA UIs Monorepo (includes HRA Portal, EUI, RUI, ASCT+B Reporter, and more)
https://hubmapconsortium.github.io/hra-ui/
MIT License
3 stars 2 forks source link

Component updates: Sample metadata vs. user generated metadata #490

Open LibbyUX opened 6 days ago

LibbyUX commented 6 days ago

Currently, in example visualizations, the metadata fields are mostly empty. Ideally, every section in the sample metadata area is filled out, to make our examples more useful. This shows users what they can do with this web app.

@J-Yash - Is it possible to provide development with this information for each of the two sample datasets? If we don't have this information, can you let me know?

Information needed for 2D & 3D visualizations sample metadata:

Mentioning @bherr2 for visibility.

I am considering specifying functionality hiding or consolidating empty fields in the metadata module.

image

LibbyUX commented 6 days ago

Please note, this is how we specified the sample files verbiage in the sample metadata tooltip:

image

bherr2 commented 5 days ago

I would assume creation date/time is when the visualization was actually created, not when they opened the existing visualization. We can definitely capture date/time when they hit the create visualization button and put that in the metadata. For the pre-existing ones we need to just put a date/time (we can look at commit logs to determine an appropriate one).

bherr2 commented 5 days ago

And yeah, you should spec out what it looks like to hide the empty metadata fields

LibbyUX commented 5 days ago

Thank you for the notes on creation date/time, @bherr2! This all sounds good.

I will work to get empty fields spec'd before EOB today. I am making cosmetic and responsive adjustments to the Vis App in a new iteration here.

image

LibbyUX commented 5 days ago

@J-Yash, I've worked through this further with Bruce, so I have a few asks:

2D Intestine

3D Skin

If you are curious, view my progress as I work to specify improved UX for the metadata modules in both sample visualizations and user-generated visualizations here/

image

J-Yash commented 4 days ago

@LibbyUX , below are the details. Note that the link to the intestine sample data Google Sheet is different. I deleted the old Google Sheet since that contained a different intestine dataset than what is shown in the sample visualization. I also added links to the published papers for the two datasets for "URL to public dataset." We do not have the Sex/Age info for these datasets.

2D Intestine Title: Sample 2D Visualization (Intestine): colon-cycif-sorgerlab / CRC01002 URL to public dataset (if possible): https://www.sciencedirect.com/science/article/pii/S0092867422015719?via%3Dihub Source Data (link to Google Sheet): https://docs.google.com/spreadsheets/d/1oy8U8ot7DX8ZZ2M8tz07EUHEbgzy5i2rmr09g5BrRmg/edit?usp=sharing Organ: Intestine Technology: CODEX Sex: Age: Thickness: 5 Pixel Size: 0.65 3D Skin Title: Sample 2D Visualization (Skin): skin-celldive-ge / region_6 URL to public dataset (if possible): https://www.nature.com/articles/s42003-023-04991-z Source Data (link to Google Sheet): https://docs.google.com/spreadsheets/d/1sBnCiggPjo6S7FBIbP6rdSK-TCSmOPBVfQcMcfgvehM/edit?gid=0#gid=0 Organ: Skin Technology: Cell DIVE Sex: Age: Thickness: 5 Pixel Size: 0.325

Let me know if anything else is needed!

LibbyUX commented 4 days ago

Thank you so much @J-Yash, this is perfect!!!

LibbyUX commented 4 days ago

@bherr2, can you please feasibility check this QoL component-specific design? Let me know what you think about this direction for the metadata module differences.

image

bherr2 commented 4 days ago

Looks good

LibbyUX commented 4 days ago

Logic + aesthetic updates for the metadata modules are ready for development, thanks so much! Note that the two samples have real metadata and links in Figma.

Design Notes & Resources

Component building blocks

image