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

1094 reorganize featured variables #1120

Merged
merged 8 commits into from
Jul 29, 2024
Merged

Conversation

chowington
Copy link
Member

@chowington chowington commented Jun 25, 2024

Resolves #1094

New version in context:

image

@chowington chowington requested a review from bobular June 25, 2024 17:23
@chowington chowington requested a review from dmfalke July 2, 2024 20:39
Copy link
Member

@dmfalke dmfalke left a comment

Choose a reason for hiding this comment

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

The code looks good, but I'm not able to test since the data isn't currently available. I will try again over the weekend or on Monday.

@bobular
Copy link
Member

bobular commented Jul 8, 2024

I thought because qa.clinepidb.org was up (qa.vectorbase.org has been down for a few days), I'd be able to test, but it seems that no studies are available on the qa back end :-(

@dmfalke
Copy link
Member

dmfalke commented Jul 10, 2024

I was able to play with this a little, using the prod site as a backend. I think it might look a little better if the entity names were indented to the same level as the variable names... and then indent the variable names by another space. I would also use semantic tags for the entity names and replace the <span> with <h4>. It will require some additional styling to make it work in this context.

@bobular
Copy link
Member

bobular commented Jul 16, 2024

Looking at this now! I know it's out of the remit of this ticket but we have some serious entity diagram label overflow going on.

image

@dmfalke
Copy link
Member

dmfalke commented Jul 16, 2024

Looking at this now! I know it's out of the remit of this ticket but we have some serious entity diagram label overflow going on.

image

Perhaps we can make the width of the boxes based on the longest entity name, on a per-study basis.

Copy link
Member

@bobular bobular left a comment

Choose a reason for hiding this comment

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

All the nuts and bolts look good.
As for styling, I don't think indenting more is a great use of space. I'd probably remove the 🔻 and show/hide from the "Featured variables" heading (but make that stronger?)

Probably not best to rely on my design skills though!

As for the semantic headings, maybe it should be nested <ul>s like the main variable tree?

Either way, I'd be happy for this to go out!

@dmfalke
Copy link
Member

dmfalke commented Jul 18, 2024

As for the semantic headings, maybe it should be nested <ul>s like the main variable tree?

That's fine, too. I'm also okay with keep the indentation as-is.

@chowington chowington merged commit 6b9bba0 into main Jul 29, 2024
1 check passed
@chowington chowington deleted the 1094-reorganize-featured-variables branch July 29, 2024 19:18
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.

EDA - Featured variables styling
3 participants