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
Update empty state for product attributes tab #38126
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
941b56b
Remove empty state HTML
mattsherman a41644f
Add empty attribute when product has no attributes
mattsherman bf620fa
Remove unused woocommerce_admin_meta_boxes.has_local_attributes
mattsherman 4eb68c2
Remove unused toggle_add_global_attribute_layout
mattsherman f66cc9a
Remove unused button.add_attribute click handling (button doesn't exi…
mattsherman a789196
Fix positioning of Expand / Close
mattsherman ba44be0
Remove unnecessary add-attribute-container div
mattsherman b566c0c
Refactor attribute search selection handling
mattsherman 91eca92
Remove empty attribute if adding an existing attribute
mattsherman edefe04
Update e2e test clicking of "Add new" attribute button
mattsherman 10f32ed
Update Tracks handling for "Add new" attribute button
mattsherman 5ff5ba4
Changelog
mattsherman 7cdfc90
Fix action recorded when "Add new" button is clicked
mattsherman e00ac15
Remove console.log statements
mattsherman 6e07d0a
Allow propagation of click event on "Create value" button
mattsherman e1f6bdd
Move Tracks wcadmin_product_attributes_buttons action: 'add_existing'…
mattsherman 190820c
Make function names more descriptive. Add comment to clarify why even…
mattsherman File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: update | ||
|
||
Update empty state for product attributes tab. |
This file contains 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 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 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.
This function doesn't necessarily need to be named, especially if it's only being used in this one place.
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.
Naming functions is very helpful when you are looking at an outline of the code in an editor, debugging a stack trace, and to help document what the code is doing.