-
Notifications
You must be signed in to change notification settings - Fork 166
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
Feat: Rich vertical list pattern #5306
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the combined demo link doesn't work
@@ -0,0 +1,127 @@ | |||
# Params | |||
# title (string) (required): Title of the rich vertical list | |||
# flipped (boolean) (optional): Whether the list items are flipped so image is on the left and the text is on the right. Defaults to false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably change this to the new variant
param as discussed, to allow for more flexibility in the future if new layouts are designed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for clarification, are you looking for the integer variant approach as explored in #5304 ? If so, I think we should have a wider team discussion on this approach before committing to it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - still a bit hesitant to merge this until we have a conclusion there, because I suspect we're going to have to change the way we handle variants/variant params, and I'd like to figure that out before we add any new macros to the codebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to be blocking this on the decision. We already have couple patterns merged that use flags for variants, so this follows existing convention.
Obviously, it would be good to have a conclusion before we officially publish macros (not to change API later), but I think we are fine doing any changes if needed before that.
templates/docs/examples/patterns/rich-list/vertical/default.html
Outdated
Show resolved
Hide resolved
Fixed, it was just pointing to the wrong url :) |
looks great overall! 1 small glitch I noticed: some blurry logos - can you please use the official ones uploaded here https://assets.ubuntu.com/manager?tag=variable-width-logos-july-2024 docs suggestions:
|
The only Intel logo I found here doesn't look quite right - it has a dotted border and is too wide. Do you have a better one? Also, the mockup uses Intel logo twice in the same logo section - it doesn't really matter for the example's sake, but I figured I'd mention it in case there is another logo we could use Your other comments have been addressed! |
4401179
to
f12c469
Compare
f12c469
to
00befe2
Compare
demo not working |
@lyubomir-popov I've requested the demo to restart in Jenkins, it should be up in a few minutes if things are working properly update: demo is now up |
@@ -0,0 +1,127 @@ | |||
# Params | |||
# title (string) (required): Title of the rich vertical list | |||
# flipped (boolean) (optional): Whether the list items are flipped so image is on the left and the text is on the right. Defaults to false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - still a bit hesitant to merge this until we have a conclusion there, because I suspect we're going to have to change the way we handle variants/variant params, and I'd like to figure that out before we add any new macros to the codebase
Tomorrow I'll update the images on this to use the new responsive image container. They get quite tall on smaller screens, so we can take advantage of a wider aspect ratio in those cases to make things look better. |
00befe2
to
4401179
Compare
6b17330
to
cdf54f7
Compare
6d57a8c
to
206fd9e
Compare
ecb6a79
to
859b960
Compare
Namespace rich vertical list with vf_ Rename `numbered` -> `ordered` for rich vertical list Rename `flipped` param to `is_flipped` tweak rich list release notes for capitalization consistency
859b960
to
a01e567
Compare
Done
Builds macro, examples, and documentation for the rich vertical list pattern per design
Fixes WD-14038
QA
Check if PR is ready for release
If this PR contains Vanilla SCSS code changes, it should contain the following changes to make sure it's ready for the release:
Feature 🎁
,Breaking Change 💣
,Bug 🐛
,Documentation 📝
,Maintenance 🔨
.package.json
should be updated relative to the most recent release, following semver convention:Screenshots