feat(infield-progress-cirlce): new component, sharing tokens from progress circle#3430
Conversation
🦋 Changeset detectedLatest commit: 79bfc0c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
13e35a1 to
c97dee1
Compare
4d277c7 to
221c244
Compare
marissahuysentruyt
left a comment
There was a problem hiding this comment.
I know I left a barrage of comments! This is moving along nicely, most of comments are just clean up after the rebase.
Now that spectrum-two is up to date, we have all of our test files, so we'll need a brand new infieldprogresscircle.test.js file and tests written 🥳 We should also update the documentation page with the new stories and docs.
There was a problem hiding this comment.
I think the hope for spectrum-two is that there are no more themes! Looks like the rest of the components have had their express.css and spectrum.css files deleted.
aa3e105 to
b4c24e8
Compare
|
🚀 Deployed on https://pr-3430--spectrum-css.netlify.app |
File metricsSummaryTotal size: 2.61 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailsinfieldprogresscircle
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
3748245 to
33da0e2
Compare
marissahuysentruyt
left a comment
There was a problem hiding this comment.
This is getting close- thanks for splitting this off from the other progress circle migration!
My main set of concerns I think is just related to this not being an already-published NPM package. So the ComponentDetails cards don't render at the top of this page since we can't fetch the data from NPM. There's also no metadata.json in the dist output for this component. I'm not sure where to start with that unfortunately (it might be a @castastrophe question)
If I could be really picky, I'd like to request a change to the regular progress circle controls. I noticed that the value control in progresscircle.stories.js doesn't have maybe all of the usual settings, like name, description, etc. Could we update that so it matches the other controls better? This is the same control in progress bar:
value: {
name: "Percent filled",
type: { name: "number" },
table: {
type: { summary: "number" },
category: "Content",
},
control: { type: "range", min: 0, max: 100,},
if: { arg: "isIndeterminate", truthy: false },
},
It's a little more descriptive for users, categorizesvalue into the "Content" set of controls, and adds that conditional, so it won't even show for a default story if you wanted to get real fancy.
| ) | ||
| InfieldProgressCircle({ | ||
| size: size, | ||
| staticColor, |
There was a problem hiding this comment.
What's the reason for removing the testId: "progress-circle" line? Do we no longer need it?
de1cc68 to
5a38f63
Compare
marissahuysentruyt
left a comment
There was a problem hiding this comment.
Excellent work on this! I found a small wording suggestion and then one typo, but overall this is looking really great!
I think there's only one more place we have to update from "progress circle" to infield progress circle.
I only noticed it because the changeset mentioned combobox, but I thought we didn't make any changes to combobox! I think in the combobox template.js file, we should change the customProgressCircleClasses to the customInfieldProgressCircle classes so it gets passed properly to textfield.
|
|
||
| ## Mods | ||
|
|
||
| `--mod-progress-cirlce-stroke-width` |
There was a problem hiding this comment.
Just a typo with "circle"
| `--mod-progress-cirlce-stroke-width` | |
| `--mod-progress-circle-stroke-width` |
There was a problem hiding this comment.
Man I cannot spell circle at all 😅
7916a6f to
6ff7768
Compare
3f5f6a6 to
56c6806
Compare
1f23c20 to
eaeacdc
Compare
f9c9035 to
f9c2e07
Compare
56c6806 to
793571c
Compare
marissahuysentruyt
left a comment
There was a problem hiding this comment.
Nice work on this! It really is looking fabulous 🤩 I have just a few small clean up things I think we could do before I'm good to approve!
-
I think we should remove the mods section of the changeset completely. They're not infield progress circle mods (we're using the regular progress circle mods as passthroughs for this component instead), so I'm not sure they need any specific attention drawn to them in the changeset. Feel free to get a second opinion on that though if you feel differently.
-
I would drop the 56c6806 commit that's listed in the commit history. That work looks like it's already in the
spectrum-twobranch but under a different SHA, so I wouldn't want to introduce duplicate work or commits or anything. (git rebase -i spectrum-twoshould do it)
I think when this branch was merged (as opposed to being rebased) with spectrum-two, it got the older commit SHA. But then when spectrum-two was rebased and pushed up, that's when things got a little off. I almost always (possibly 100% of the time) do rebasing now instead of merging
fb52395 to
1646c16
Compare
feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset
ff15a93 to
f7d1a48
Compare
rise-erpelding
left a comment
There was a problem hiding this comment.
The component looks great! I have only a few changes to request here but they're mostly in the package.json, it looks like components' package.jsons might have changed in the recent rebase so we'd just want to align more closely with those changes.
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)
…gress circle (#3430) * feat(infieldprogress): add new component feat(infieldcircle): new component feat(ifpc): updating template and vrts chore(ifpc): updating story changes chore(ifpc): cleaning up build files feat(ifpc): add infield loader to components feat(infieldprogress): add new component feat(ifpc): updating template and vrts feat(ifpc): updating package, story, template chore(ifpc): spectrum two updates chore(ifpc): adding dist files chore(ifpc): changing button id chore(ifpc): updating bundle chore(ifpc): updating package chore(ifpc): testing out files chore(ifpc): adding missing dist files chore(ifpc): removing index css in dist fix(ifpc): fixing typos fix(ifpc): update mods in changeset chore(ifpc): removing mods from ifpc components in changeset * chore(ifpc): update package json)


Description
The infield progresscirlce is a subcomponent of the progress circle which is used in button, combobox, textfield and picker template files. It's smaller in block size and has its own t-shirt sizing.
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
- [x] Toggle Intedeterminate mode
- [x] Exists in combobox, button, picker components isLoading states
Regression testing
Validate:
Screenshots
To-do list