-
Notifications
You must be signed in to change notification settings - Fork 8
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
1889 As editors we see a need to have text promotion cards to link to other pages #1943
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.
Left some comments
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.
Few comments:
- title vs text content. Do we really need 2 fields? And it looks like only title is being used:
- without space between components: space is there, what does it mean to be without? with space between components: space is applied to the cards, in which doesn't make sense to me specially on mobile view.
- Design issues: Text is too small. Inner paddings of cards are too small.
- Feature is missing "11. Consider component to be hidden under access control"
- Feature is missing "13. Should be possible to create with option not to have a link"
- Not in the specification but I'd assume it has to be done: text should be always aligned left on mobile view
this will be done later, not now. As discussed with @NickHaggerty1 |
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.
-
This description is a bit confusing: '
Toggle button text
This will add the text to link'. I did not understand what this does, and assume editors will also get confused. -
Component name is Promo tiles array, I think Promo text tiles would be more descriptive for editors
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.
the component is still not looking as it should, label is not being displayed, arrow is on the center when text is to the left, and a lot of empty space between text and arrow:
Make sure to test all functionalities / screen resolutions and use cases when working on these kind of features. I recommend dragging the window to resize it instead of testing in fixed res, to ensure it looks good regardless of the screen resolution
I haven't reviewed the css part yet since the component is not working as it should |
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.
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 super picky all the time, so I suggest checking with Nick if the way this is implemented is good enough. But if we are to follow the design suggested, there are a few discrepancies:
-
Action (arrow) on mobile should be left aligned, not center aligned:
-
Line break doesn't work
-
I honestly don't see why we should limit this to 100 characters, or limit it at all. It is too few IMO, we can't even replicate the example card:
-
Spacing between text and action is a bit strange when comparing to the design
-
If it is a single card, text should be centered, it is aligned to left:
No description provided.