Skip to content

chore(): add updated snapshots - #28278

Merged
brandyscarney merged 13 commits into
FW-4905from
FW-4905-screenshots
Oct 17, 2023
Merged

brandyscarney merged 13 commits into
FW-4905from
FW-4905-screenshots

Conversation

@brandyscarney

Copy link
Copy Markdown
Member

This PR contains the screenshots for #28146. I separated them out because there is already a lot going on in that PR.

@brandyscarney
brandyscarney marked this pull request as ready for review October 3, 2023 21:59
@brandyscarney
brandyscarney requested a review from a team October 3, 2023 21:59

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is the control wrapping when the item has a start slot icon intentional? I do think the wrapping looks optically better here.

Does it wrap because the modern form controls have a 100% width?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes this change was intentional. There isn't enough room for them to fit on the same line unless you increase the screen size:

localhost_3333_src_components_item_test_highlight

It does seem to be caused by the input being 100% width. I could apply the following to ion-input:

width: 0;
min-width: fit-content;

That results in the input staying expanded a bit longer before wrapping (note that this CSS is applied to the top row middle input):

screen width current with width: 0
845px current full width full
532px current shrink width shrink
495px current wrap width wrap

I'm not sure what issues this might cause elsewhere though. It would probably need to target inputs inside of items only like I did with select: 6804aea

@brandyscarney brandyscarney Oct 4, 2023 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is expected as the text is now wrapping, but I could add the ion-text-nowrap class to the label if we don't want the diffs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is expected behavior. Checkbox + Range now wraps instead of an ellipsis.

@sean-perkins sean-perkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Screenshot changes look good to me. I think the datetime month/year toggle wrapping will be easier to solve once we figure out how to rip ion-item out of that implementation. I don't see that as a blocker here.

We have sprint work for that coming up, so it could all fall into place well before 7.6 is released.

@brandyscarney
brandyscarney merged commit bc54c66 into FW-4905 Oct 17, 2023
@brandyscarney
brandyscarney deleted the FW-4905-screenshots branch October 17, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants