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

DLP: Add "Protocols" card #2103

Merged
merged 7 commits into from
Dec 19, 2024
Merged

DLP: Add "Protocols" card #2103

merged 7 commits into from
Dec 19, 2024

Conversation

yarikoptic
Copy link
Member

Closes #2071

There seems to be a little design gotcha -- a space from prior section which I do not know framework well enough to see where to add anything to make it not indent itself.

image

@yarikoptic yarikoptic added the UX Affects usability of the system label Dec 9, 2024
Copy link
Member

@waxlamp waxlamp left a comment

Choose a reason for hiding this comment

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

My suggested changes are visible at the deploy preview for a dummy PR I opened against this branch.

As for the padding issue around the protocols card, I looked into it briefly but could not come up with anything immediately. We will need @mvandenburgh or @jjnesbitt's expertise.

web/src/components/DLP/OverviewTab.vue Outdated Show resolved Hide resolved
web/src/components/DLP/OverviewTab.vue Outdated Show resolved Hide resolved
@yarikoptic yarikoptic requested a review from waxlamp December 16, 2024 21:28
@mvandenburgh
Copy link
Member

As for the padding issue around the protocols card, I looked into it briefly but could not come up with anything immediately. We will need @mvandenburgh or @jjnesbitt's expertise.

It seems that the issue isn't that the protocols card has this padding, but that the Contributors card does not. i.e. every card seems to have this padding except the Contributors one. See #2112 for the fix.

@mvandenburgh
Copy link
Member

Ah, the "Assets Summary" card has the same issue as "Contributors". I'll update my PR.

The `MetadataCard` wraps its contents in a `v-row` and `v-col`, which
adds some additional padding around the card. The "Contributors" card,
however, is the only DLP card that doesn't use the `MetadataCard`
component. Prior to this change, the "Contributors" card didn't use
`v-row` and `v-col`, so it didn't have the same padding as the other
cards.
See previous commit about `Contributors` card, this is the same issue.
@yarikoptic
Copy link
Member Author

FTR: here is how layout looks like -- with @mvandenburgh changes all good

image

NB there is those imho unnecessary horizontal margins, but that is a separate unrelated to this PR issue (filed #2113)

@waxlamp waxlamp merged commit c467f07 into master Dec 19, 2024
4 checks passed
@waxlamp waxlamp deleted the enh-protocols branch December 19, 2024 19:01
@dandibot
Copy link
Member

🚀 PR was released in v0.4.2 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released. UX Affects usability of the system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"protocol" is not displayed on DLP
4 participants