8000 feat(MultipleFileUpload): apply tokens by wise-king-sullyman · Pull Request #6214 · patternfly/patternfly · GitHub
[go: up one dir, main page]

Skip to content

feat(MultipleFileUpload): apply tokens#6214

Merged
mcoker merged 6 commits intopatternfly:v6from
wise-king-sullyman:multi-file-upload-tokens
Jan 17, 2024
Merged

feat(MultipleFileUpload): apply tokens#6214
mcoker merged 6 commits intopatternfly:v6from
wise-king-sullyman:multi-file-upload-tokens

Conversation

@wise-king-sullyman
Copy link
Collaborator
@wise-king-sullyman wise-king-sullyman commented Jan 11, 2024

@patternfly-build
Copy link
Collaborator
patternfly-build commented Jan 11, 2024

@wise-king-sullyman wise-king-sullyman marked this pull request as ready for review January 11, 2024 20:45
@wise-king-sullyman wise-king-sullyman requested review from a team, andrew-ronaldson, lboehling, mattnolting and thatblindgeye and removed request for a team January 11, 2024 20:46
@wise-king-sullyman wise-king-sullyman linked an issue Jan 11, 2024 that may be closed by this pull request
Copy link
Collaborator
@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Great work. Couple little things.

  1. On the progress bars there is an icon button with fa-times-alt instead of fa-times
  2. In the examples the file name in the progress bar looks like a link? Should we update the Figma component to be a link. Wasn't sure if that title sends them to the file when it is fully uploaded.

@wise-king-sullyman
Copy link
Collaborator Author

@andrew-ronaldson I don't think it should be a link, I just missed updating the text color in the progress. Updated the icon as well.

Copy link
Collaborator
@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Nailed it. Thanks

Copy link
Contributor
@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Will take another look pending any updates following discussion that was had about icon/font sizes etc

Copy link
Contributor
@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

Looks like we need to make sure the title text is using the heading font-family, size, and weight tokens, and they match what's in the design.

Copy link
Contributor
@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

Just a few comments, the title size tokens would be good to verify prior to merging.

Also a note for design, it should be easy enough to adjust this close button position if we wanted it to align with the content. Here's what it looks like now:

Screenshot 2024-01-17 at 2 15 41 PM

If we just push the button up by the value of its top padding:

Screenshot 2024-01-17 at 2 11 58 PM Screenshot 2024-01-17 at 2 12 30 PM Screenshot 2024-01-17 at 2 12 09 PM

// title text
--#{$multiple-file-upload}__title-text--Color: var(--pf-t--global--text--color--regular);
--#{$multiple-file-upload}__title-text--FontFamily: var(--pf-t--global--font--family--heading);
--#{$multiple-file-upload}__title-text--FontSize: var(--pf-t--global--font--size--lg);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should use the small heading token?

Suggested change
--#{$multiple-file-upload}__title-text--FontSize: var(--pf-t--global--font--size--lg);
--#{$multiple-file-upload}__title-text--FontSize: var(--pf-t--global--font--size--heading--sm);

--#{$multiple-file-upload}--m-horizontal__title--Gap: var(--#{$pf-global}--spacer--xs);
--#{$multiple-file-upload}--m-horizontal__title--Gap: var(--pf-t--global--spacer--sm);
--#{$multiple-file-upload}--m-horizontal__title-icon--FontSize: var(--pf-t--global--font--size--md);
--#{$multiple-file-upload}--m-horizontal__title-text--FontSize: var(--pf-t--global--font--size--md);
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like this should use the xs heading token?

Suggested change
--#{$multiple-file-upload}--m-horizontal__title-text--FontSize: var(--pf-t--global--font--size--md);
--#{$multiple-file-upload}--m-horizontal__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);

--#{$multiple-file-upload}__title--Gap: var(--#{$multiple-file-upload}--m-horizontal__title--Gap);
--#{$multiple-file-upload}__title-icon--FontSize: var(--#{$multiple-file-upload}--m-horizontal__title-icon--FontSize);
--#{$multiple-file-upload}__title-text--FontSize: var(--#{$multiple-file-upload}--m-horizontal__title-text--FontSize);
--#{$multiple-file-upload}__title-text-separator--FontFamily: var(--#{$multiple-file-upload}--m-horizontal__title-text-separator--FontFamily);
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be a follow up, but I wonder if this text belongs outside of the title text element. That would allow us to not have to reset these font styles for just that element.

Copy link
Contributor
@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

L🐢TM

@mcoker mcoker merged commit a0197d7 into patternfly:v6 Jan 17, 2024
@patternfly-build
Copy link
Collaborator

🎉 This PR is included in version 6.0.0-alpha.65 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update multiple file upload to use tokens

5 participants

0