[PR #21399] Improve App Icon Picker: Stable Modal Height & Collapsible Emoji Style Section #29650

Closed
opened 2026-02-21 20:45:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/21399

State: closed
Merged: Yes


Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

This PR improves the user experience of the App Icon Picker modal by:

  • Preventing modal height jitter when switching between the Emoji and Image tabs, ensuring a smoother visual transition.
  • Adding a collapsible "Choose Style" section in the Emoji tab. By default, this section is collapsed, allowing more space for emoji selection and reducing visual clutter.

These changes provide a more stable and user-friendly interface for selecting app icons.

I removed the opacity effect for the "Choose Style" section when no emoji is selected, as it could make the UI appear less clear or interactive. This change ensures a more consistent and straightforward user experience.

Screenshots

Before After
img_v3_02ni_e898c227-50a0-478a-8daf-818cbeefbd5l img_v3_02ni_fd1e402e-e949-4fba-bf63-512bfd73e5el

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/21399 **State:** closed **Merged:** Yes --- > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 2. Ensure there is an associated issue and you have been assigned to it > 3. Use the correct syntax to link this PR: `Fixes #<issue number>`. ## Summary <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> This PR improves the user experience of the App Icon Picker modal by: - Preventing modal height jitter when switching between the Emoji and Image tabs, ensuring a smoother visual transition. - Adding a collapsible "Choose Style" section in the Emoji tab. By default, this section is collapsed, allowing more space for emoji selection and reducing visual clutter. These changes provide a more stable and user-friendly interface for selecting app icons. I removed the opacity effect for the "Choose Style" section when no emoji is selected, as it could make the UI appear less clear or interactive. This change ensures a more consistent and straightforward user experience. ## Screenshots | Before | After | |--------|-------| | ![img_v3_02ni_e898c227-50a0-478a-8daf-818cbeefbd5l](https://github.com/user-attachments/assets/c78607a7-b6a3-4bf6-bbfc-70521c58befe) | ![img_v3_02ni_fd1e402e-e949-4fba-bf63-512bfd73e5el](https://github.com/user-attachments/assets/fb5b2f54-d2ac-461f-b148-4e74965fba3f) | ## Checklist - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:45:58 -05:00
yindo closed this issue 2026-02-21 20:45:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#29650