Skip to content
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

feat(vwc-badge): viv-200 badge volta parity #485

Merged
merged 30 commits into from
Dec 13, 2020
Merged

Conversation

lagjamhero
Copy link
Contributor

No description provided.

@lagjamhero lagjamhero requested a review from yinonov December 4, 2020 11:07
@github-actions
Copy link

github-actions bot commented Dec 4, 2020

PR showcase deployed here.

@yinonov
Copy link
Contributor

yinonov commented Dec 6, 2020

note #488 may reduce code difference

@yinonov
Copy link
Contributor

yinonov commented Dec 6, 2020

@JoelGraham93 can u please break this PR from the badge combined? we aren't planning to support it atm.
extract the badge combined to its own PR. we'll close it and keep for future reference

@lagjamhero lagjamhero changed the title feat: viv-200 badge volta parity and badge-combined feat(vwc-badge): viv-200 badge volta parity Dec 7, 2020
@lagjamhero lagjamhero marked this pull request as ready for review December 7, 2020 14:33
@lagjamhero
Copy link
Contributor Author

@yinon I've replaced translucent with layout='soft' based on the Figma design.
If we go with this is there any team usage we need to inform?

@yinonov
Copy link
Contributor

yinonov commented Dec 8, 2020

@yinon I've replaced translucent with layout='soft' based on the Figma design.

If we go with this is there any team usage we need to inform?

None we are aware of yet

components/badge/src/vwc-badge-base.ts Outdated Show resolved Hide resolved
Comment on lines 27 to 38
if (changes.has('dense')) {
if (this.dense && this.enlarged) {
this.enlarged = false;
}
}

if (changes.has('enlarged')) {
if (this.enlarged && this.dense) {
this.removeAttribute('dense');
this.dense = false;
}
}
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 can now become a decorator, on class or this updated method. let's discuss it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

example added in f5a7cfc

components/badge/src/vwc-badge.scss Outdated Show resolved Hide resolved
@@ -29,14 +31,49 @@
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

can all layout based styles be extracted to a foundation mixin?

components/badge/stories/arg-types.js Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Dec 9, 2020

PR showcase deployed here.

@github-actions
Copy link

github-actions bot commented Dec 9, 2020

PR showcase deployed here.

@github-actions
Copy link

github-actions bot commented Dec 9, 2020

PR showcase deployed here.

@github-actions
Copy link

github-actions bot commented Dec 9, 2020

PR showcase deployed here.

@github-actions
Copy link

github-actions bot commented Dec 9, 2020

PR showcase deployed here.

@github-actions
Copy link

github-actions bot commented Dec 9, 2020

PR showcase deployed here.

@github-actions
Copy link

PR showcase deployed here.

@yinonov yinonov linked an issue Dec 10, 2020 that may be closed by this pull request
@github-actions
Copy link

PR showcase deployed here.

@github-actions
Copy link

PR showcase deployed here.

@github-actions
Copy link

PR showcase deployed here.

@github-actions
Copy link

PR showcase deployed here.

@github-actions
Copy link

PR showcase deployed here.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

PR showcase deployed here.

@yinonov yinonov merged commit d313dfa into master Dec 13, 2020
@lagjamhero lagjamhero deleted the viv-200-badge-parity branch December 14, 2020 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing tests for badge
2 participants