-
Notifications
You must be signed in to change notification settings - Fork 256
feat(dev-validation): apply shared validation helpers across all Gen2 components #6510
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
Open
rubencarvalho
wants to merge
23
commits into
ruben/feat-dev-warning-validation-foundation
Choose a base branch
from
ruben/feat-dev-warning-validation-components
base: ruben/feat-dev-warning-validation-foundation
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4f2a314
feat(dev-validation): retrofit Badge, Tabs, IllustratedMessage onto h…
rubencarvalho 2dc721c
refactor(badge): drop constructor lookup for the non-abstract static
rubencarvalho dc7b09e
Revert "refactor(badge): drop constructor lookup for the non-abstract…
rubencarvalho 85b6e8f
feat(dev-validation): retrofit ProgressCircle, LinearProgressMixin, M…
rubencarvalho 51af7cf
feat(dev-validation): retrofit Button, Card, Tooltip, ActionButton
rubencarvalho eaebb05
feat(dev-validation): retrofit Asset, AlertBanner, StatusLight, Popover
rubencarvalho a0fa407
feat(dev-validation): retrofit Divider, Avatar, ButtonGroup
rubencarvalho 96b4d20
feat(dev-validation): add missing density enum check to Accordion
rubencarvalho 653c133
Merge branch 'ruben/feat-dev-warning-validation-foundation' into rube…
rubencarvalho 017ab27
Merge branch 'ruben/feat-dev-warning-validation-foundation' into rube…
rubencarvalho 45b1e85
Merge branch 'ruben/feat-dev-warning-validation-foundation' into rube…
miwha-adobe 83af7fe
fix(dev-warning): fix the import path for helpers
miwha-adobe f4bef58
Merge branch 'ruben/feat-dev-warning-validation-foundation' into rube…
miwha-adobe 9931fe1
Merge branch 'ruben/feat-dev-warning-validation-foundation' into rube…
miwha-adobe 814d725
chore(dev-warning): add instances of isDebug
miwha-adobe 9944fee
test(status-light): name the warning message in the variant assertion
miwha-adobe 93b36cc
Merge branch 'ruben/feat-dev-warning-validation-foundation' of https:…
miwha-adobe b04ddb6
fix(dev-warning): restore dropped level
miwha-adobe 121b9e0
test(illustrated-message): add slot warnings
miwha-adobe 5c8b610
refactor(dev-validation): retrofit Dropzone and modernize style-guide…
miwha-adobe 453e87c
fix(dev-warning): return warnMissingAccessible name, and add debug check
miwha-adobe 48b8604
Merge branch 'ruben/feat-dev-warning-validation-foundation' of https:…
miwha-adobe c97829f
Merge branch 'ruben/feat-dev-warning-validation-foundation' of https:…
miwha-adobe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still trying to make sure I follow the docs correctly, but
super.update(changedProperties)is called first, then the check. Per the docs the check should run beforesuper.update()?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is that it depends on when we want to call the warning. This one is on hasIcon, which are slot derived and so they aren't reliable until the slot is rendered, which is why it is after super.update()