-
Notifications
You must be signed in to change notification settings - Fork 31
feat: support png, jpg, jpeg, gif for icon auto-detection #509
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
23afd93
fix: add assets/icon.png fallback for icon auto-detection
srtaalej 5176129
feat: support png, jpg, jpeg, gif for icon auto-detection
srtaalej c9abb30
refactor: extract icon resolution to internal/icon package
srtaalej 14c811f
Merge branch 'main' into ale-icon-assets-fallback
srtaalej 8df3140
Merge branch 'main' into ale-icon-assets-fallback
srtaalej 54ad801
Merge branch 'main' into ale-icon-assets-fallback
srtaalej 66ccad2
Update internal/icon/icon.go
srtaalej ed8d700
Update internal/icon/icon_test.go
srtaalej b097019
Update internal/shared/types/slack_yaml.go
srtaalej c4cb471
Update internal/shared/types/slack_yaml.go
srtaalej af619c9
fix: address review feedback on icon resolution
srtaalej 19ca439
Merge branch 'main' into ale-icon-assets-fallback
srtaalej 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
fix: address review feedback on icon resolution
- Move supportedExtensions to local var inside ResolveIconPath - Add test for manifest icon taking priority over magic files - Remove unused hasValidIconPath and Verify methods from SlackYaml - Remove corresponding slack_yaml_test.go (coverage lives in icon pkg) Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
- Loading branch information
commit af619c93578bdcae4b0ebea9517b449e2fccc33f
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 was deleted.
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.
🧪 suggestion: Can we include a test that manifest icon is found before magic icons too?
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.
yes good catch!