Skip to content

Conversation

@NicoHinderling
Copy link
Contributor

Previously in #2879 I added the ability for us to collect multiset icons and have them included in the ParsedAssets folder / assets.json.

There were two problems:

  1. we were only picking up the primary image of the set. For example, for a multiset called AppIcon_Alt_Color_Red, we'd only pick up the first image (red-light-min.png) when really it contains three, all of which we want to consider when analyzing for insights
  2. We were saving the multiset image as the multiset object, rather than as an image, which led us to have to add some undesirable logic in the launchpad service

With these changes, we now get all the images in the multisets and we save them as images

@NicoHinderling NicoHinderling requested review from a team as code owners October 29, 2025 16:51
cursor[bot]

This comment was marked as outdated.

key.perform(Selector(("keyList"))),
to: UnsafeMutableRawPointer.self
)
guard let rendition = createRendition(from: structuredThemeStore, keyList) else {
Copy link
Member

Choose a reason for hiding this comment

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

I think doing this in two passes makes sense, my only concern with this change is the performance since right now our ParsedAssets step is pretty slow. Is calling createRendition() twice expensive to do or should we cache those results?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great suggestion , implemented

@NicoHinderling NicoHinderling merged commit dac9ece into master Oct 29, 2025
27 checks passed
@NicoHinderling NicoHinderling deleted the redo-multiset-icon-parsing branch October 29, 2025 17:59
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.

3 participants