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

feature(Lists): APPS-6771 Icon changes #31

Merged
merged 5 commits into from
Nov 20, 2020
Merged

Conversation

pbartolome
Copy link
Contributor

Lists will now have three different types of icons:

Small icon 24x24:
Screenshot 2020-11-17 at 14 49 17

Large Icon 40x40, a circle with an inner icon of 24x24:
Screenshot 2020-11-17 at 14 49 09

Image 40x40, any image clipped to a circle:
Screenshot 2020-11-17 at 14 49 24

Zeplin

BREAKING CHANGE: Lists API changed
@pbartolome pbartolome requested review from a team, victorpimentel, JulianAlonso and jmpg93 and removed request for a team November 17, 2020 15:02
victorpimentel
victorpimentel previously approved these changes Nov 17, 2020
BREAKING CHANGE: Lists API changed
Comment on lines 27 to 28
containerView.heightAnchor.constraint(equalToConstant: assetType.viewSize).isActive = true
containerView.widthAnchor.constraint(equalToConstant: assetType.viewSize).isActive = true
Copy link
Contributor

Choose a reason for hiding this comment

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

These constraints should be declared as lazy, so we can just change the constant value here.
Otherwise, we could potentially keep creating new constraints whenever CellAssetType is changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

my mistake!, fixed in 94eebc9

jmpg93
jmpg93 previously approved these changes Nov 19, 2020
BREAKING CHANGE: Lists API changed
@pbartolome
Copy link
Contributor Author

@victorpimentel @jmpg93 @JulianAlonso please take a look

@pbartolome pbartolome merged commit 70c6d96 into master Nov 20, 2020
@pbartolome pbartolome deleted the apps/list-icons branch November 20, 2020 15:21
tuentisre pushed a commit that referenced this pull request Nov 30, 2020
# [6.0.0](v5.0.0...v6.0.0) (2020-11-30)

### Bug Fixes

* **Mistica:** Remove unnecessary bundle resources ([#48](#48)) ([97e7540](97e7540))

### Features

* **Lists:** APPS-6771 Icon changes on lists ([#31](#31)) ([70c6d96](70c6d96))

### BREAKING CHANGES

* **Lists:** Lists assets API changed
@tuentisre
Copy link
Collaborator

🎉 This PR is included in version 6.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants