-
Notifications
You must be signed in to change notification settings - Fork 130
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
Creating shipping label: Total card #12831
Merged
atorresveiga
merged 6 commits into
trunk
from
issue/12281-creating-shipping-label-total-card
Oct 25, 2024
Merged
Creating shipping label: Total card #12831
atorresveiga
merged 6 commits into
trunk
from
issue/12281-creating-shipping-label-total-card
Oct 25, 2024
Conversation
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
atorresveiga
added
type: task
An internally driven task.
feature: shipping labels
Related to creating, ordering, or printing shipping labels.
labels
Oct 25, 2024
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
android:viewportWidth="20" | ||
android:viewportHeight="19"> | ||
<path | ||
android:pathData="M4.771,18.163C3.872,18.163 3.186,17.931 2.712,17.467C2.244,17.008 2.009,16.329 2.009,15.431V5.316H3.306V15.482C3.306,16.454 3.794,16.939 4.771,16.939H15.222C15.686,16.939 16.045,16.815 16.299,16.566C16.553,16.317 16.68,15.955 16.68,15.482V5.316H17.983V15.431C17.983,16.329 17.747,17.008 17.273,17.467C16.804,17.931 16.118,18.163 15.215,18.163H4.771ZM6.836,9.688C6.65,9.688 6.499,9.63 6.382,9.513C6.27,9.395 6.213,9.239 6.213,9.044V8.758C6.213,8.563 6.27,8.409 6.382,8.297C6.499,8.18 6.65,8.121 6.836,8.121H13.157C13.347,8.121 13.498,8.18 13.611,8.297C13.728,8.409 13.787,8.563 13.787,8.758V9.044C13.787,9.239 13.728,9.395 13.611,9.513C13.498,9.63 13.347,9.688 13.157,9.688H6.836ZM2.317,5.909C1.775,5.909 1.357,5.75 1.064,5.433C0.776,5.116 0.632,4.688 0.632,4.151V2.708C0.632,2.352 0.701,2.042 0.837,1.778C0.974,1.515 1.167,1.312 1.416,1.17C1.67,1.024 1.97,0.951 2.317,0.951H17.676C18.218,0.951 18.633,1.109 18.921,1.427C19.214,1.744 19.36,2.171 19.36,2.708V4.151C19.36,4.688 19.214,5.116 18.921,5.433C18.633,5.75 18.218,5.909 17.676,5.909H2.317ZM2.617,4.686H17.383C17.622,4.686 17.795,4.63 17.903,4.518C18.01,4.4 18.064,4.22 18.064,3.976V2.877C18.064,2.638 18.01,2.462 17.903,2.35C17.795,2.232 17.622,2.174 17.383,2.174H2.617C2.378,2.174 2.202,2.232 2.09,2.35C1.982,2.462 1.929,2.638 1.929,2.877V3.976C1.929,4.22 1.982,4.4 2.09,4.518C2.202,4.63 2.378,4.686 2.617,4.686Z" |
Check warning
Code scanning / Android Lint
Long vector paths Warning
Very long vector path (1369 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector.
WooCommerce/src/main/res/drawable/ic_shipping_label_shipping_line.xml
Dismissed
Show dismissed
Hide dismissed
atorresveiga
deleted the
issue/12281-creating-shipping-label-total-card
branch
October 25, 2024 18:40
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature: shipping labels
Related to creating, ordering, or printing shipping labels.
type: task
An internally driven task.
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.
Part of: #12281
Description
This PR includes the total card implementation and some margin adjustments. Its changes are focused on UI, and the data used in the screens is mocked. I will connect this UI with real data in a different PR.
Testing information
The tests that have been performed
Images/gif
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: