Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kmcgrady
Copy link
Collaborator

Describe your changes

In #10912, I made a change that ensures emojis are verified from the backend and informs the frontend through the emoji: prefix. This inadvertently broke page icons in pages for st.navigation. This change fixes that by detecting the emoji in the navigation call and prefix it accordingly.

This fixes the favicon but is also used in the sidebar nav, so we needed the EmojiIcon to support both emojis with and without the prefix.

Testing Plan

  • JS and Python unit tests updated
  • E2E test should continue to show the same icons

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@kmcgrady kmcgrady added security-assessment-completed Security assessment has been completed for PR change:bugfix PR contains bug fix implementation impact:users PR changes affect end users labels Apr 22, 2025
@snyk-io
Copy link
Contributor

snyk-io bot commented Apr 22, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@github-actions
Copy link
Contributor

github-actions bot commented Apr 22, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-11154/streamlit-1.44.1-py3-none-any.whl
🕹️ Preview app pr-11154.streamlit.app (☁️ Deploy here if not accessible)

Copy link
Collaborator

@mayagbarnes mayagbarnes left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏼

@kmcgrady kmcgrady merged commit 7d48335 into develop Apr 23, 2025
37 checks passed
@kmcgrady kmcgrady deleted the fix/icons-in-navigation branch April 23, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants