feat: add ProgressBar component #3321

Merged
konrad merged 4 commits from dpschen/frontend:add-progressbar-component into main 2024-02-07 10:53:49 +00:00
Member

Cherry picked and rebased from #3180

Full rebase coming in follow up PR

Cherry picked and rebased from https://kolaente.dev/vikunja/frontend/pulls/3180 Full rebase coming in follow up PR
dpschen added 1 commit 2023-03-28 11:46:56 +00:00
continuous-integration/drone/pr Build is passing Details
5643dfc000
feat: add ProgressBar component
dpschen requested review from konrad 2023-03-28 11:47:25 +00:00
konrad was assigned by dpschen 2023-03-28 11:47:30 +00:00
konrad reviewed 2023-03-28 11:51:26 +00:00
@ -0,0 +70,4 @@
@each $name, $pair in $colors {
$color: nth($pair, 1);
&.is-#{$name} {
&::-webkit-progress-value {

Why the different rules instead of something like

&::-webkit-progress-value,
&::-moz-progress-bar,
&::-ms-fill {
	--progress-value-background-color: var(--#{$name}, #{$color}); 
}
Why the different rules instead of something like ``` &::-webkit-progress-value, &::-moz-progress-bar, &::-ms-fill { --progress-value-background-color: var(--#{$name}, #{$color}); } ```
Author
Member

This would be dropped by some browsers because prefixed selectors need individual rules, because invalid rules might make the whole selector invalid.

This would be dropped by some browsers because prefixed selectors need individual rules, because invalid rules might make the whole selector invalid.

yeah okay that makes sense

yeah okay that makes sense
konrad marked this conversation as resolved
@ -107,7 +90,6 @@ button.table {
.color-bubble {
display: inline-block;
border-radius: 100%;
margin-right: 4px;

Isn't this still used?

Isn't this still used?
Author
Member

Yes. Right now. Will remove here and instead move to follow up pr

Yes. Right now. Will remove here and instead move to follow up pr
Member

Hi dpschen!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://3321-add-progressbar-component--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi dpschen! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://3321-add-progressbar-component--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
Author
Member

Maybe let's wait with the merge until I finish the follow up. I thought that component might be compatible alone. But seems like I need to adjust singletaskinproject – which is coming in the second part.

Maybe let's wait with the merge until I finish the follow up. I thought that component might be compatible alone. But seems like I need to adjust singletaskinproject – which is coming in the second part.
Owner

Maybe let's wait with the merge until I finish the follow up. I thought that component might be compatible alone. But seems like I need to adjust singletaskinproject – which is coming in the second part.

Sounds like a good idea.

> Maybe let's wait with the merge until I finish the follow up. I thought that component might be compatible alone. But seems like I need to adjust singletaskinproject – which is coming in the second part. Sounds like a good idea.
konrad force-pushed add-progressbar-component from 5643dfc000 to 7bb110b20e 2024-02-07 10:17:22 +00:00 Compare
konrad added 1 commit 2024-02-07 10:24:27 +00:00
konrad added 2 commits 2024-02-07 10:37:03 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
a0c5a464a5
feat(progress): less rounding
konrad approved these changes 2024-02-07 10:38:16 +00:00
konrad scheduled this pull request to auto merge when all checks succeed 2024-02-07 10:38:23 +00:00
konrad merged commit a0c5a464a5 into main 2024-02-07 10:53:49 +00:00
konrad deleted branch add-progressbar-component 2024-02-07 11:02:36 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.