-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor(badge, emoji-tabset, empty-state): remove DtIcon #481
refactor(badge, emoji-tabset, empty-state): remove DtIcon #481
Conversation
Some tests are failing. Seems like importing the icons this way it doesn't add the |
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.
Looks good, I only have the question about the iconSize prop.
Wouldn't they just pass the size of the icon via the component they pass into the slot? Don't think the prop is necessary. Should we instead have a scoped slot for default size? |
You're right, I was thinking on making "easier" to handle both icon sizes with a default size of '200' but makes no sense to have a prop, will remove it. |
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.
The changes look pretty good to me, however we will need to update the docsite examples to reflect the new changes.
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.
Looks good, you can merge this. Regarding the doc I mentioned you can do it in another PR if you wish.
Updated docs, don't want to forgot to do it later haha |
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.
Thanks!
✔️ Deploy previews ready! |
# [9.73.0-beta.1](dialtone/v9.72.1...dialtone/v9.73.0-beta.1) (2024-09-05) ### Bug Fixes * NO-JIRA merge staging into beta ([#478](#478)) ([09f1165](09f1165)) * **Rich Text Editor:** DLT-2017 emojis positioning ([#486](#486)) ([b857386](b857386)) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon ([#466](#466)) ([6ef90db](6ef90db)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13))
# [2.159.0-beta.1](dialtone-vue2/v2.158.0...dialtone-vue2/v2.159.0-beta.1) (2024-09-05) ### Bug Fixes * NO-JIRA merge staging into beta ([#478](#478)) ([09f1165](09f1165)) * **Rich Text Editor:** DLT-2017 emojis positioning ([#486](#486)) ([b857386](b857386)) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13))
# [3.152.0-beta.1](dialtone-vue3/v3.151.0...dialtone-vue3/v3.152.0-beta.1) (2024-09-05) ### Bug Fixes * NO-JIRA merge staging into beta ([#478](#478)) ([09f1165](09f1165)) * **Rich Text Editor:** DLT-2017 emojis positioning ([#486](#486)) ([b857386](b857386)) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon ([#466](#466)) ([6ef90db](6ef90db)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13))
# [9.77.0-beta.1](dialtone/v9.76.0...dialtone/v9.77.0-beta.1) (2024-09-23) ### Bug Fixes * NO-JIRA merge staging into beta ([#478](#478)) ([09f1165](09f1165)) * **Tokens:** DLT-2053 android tokens color value ([#504](#504)) ([368c9db](368c9db)) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon ([#466](#466)) ([6ef90db](6ef90db)) * **Avatar:** DLT-1916 remove dt-icon from Avatar vue 2 ([#474](#474)) ([e8600c3](e8600c3)) * **Feed Item Pill:** DLT-1916 remove dt-icon from Feed Item Pill ([#489](#489)) ([bde73c8](bde73c8)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13)) * **Message Input:** DLT-1916 remove dt-icon from message input ([#490](#490)) ([3215116](3215116))
# [2.162.0-beta.1](dialtone-vue2/v2.161.0...dialtone-vue2/v2.162.0-beta.1) (2024-09-23) ### Bug Fixes * NO-JIRA merge staging into beta ([#478](#478)) ([09f1165](09f1165)) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon from Avatar vue 2 ([#474](#474)) ([e8600c3](e8600c3)) * **Feed Item Pill:** DLT-1916 remove dt-icon from Feed Item Pill ([#489](#489)) ([bde73c8](bde73c8)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13)) * **Message Input:** DLT-1916 remove dt-icon from message input ([#490](#490)) ([3215116](3215116))
# [3.155.0-beta.1](dialtone-vue3/v3.154.0...dialtone-vue3/v3.155.0-beta.1) (2024-09-23) ### Bug Fixes * NO-JIRA merge staging into beta ([#478](#478)) ([09f1165](09f1165)) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon ([#466](#466)) ([6ef90db](6ef90db)) * **Avatar:** DLT-1916 remove dt-icon from Avatar vue 2 ([#474](#474)) ([e8600c3](e8600c3)) * **Feed Item Pill:** DLT-1916 remove dt-icon from Feed Item Pill ([#489](#489)) ([bde73c8](bde73c8)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13)) * **Message Input:** DLT-1916 remove dt-icon from message input ([#490](#490)) ([3215116](3215116))
# [9.77.0](dialtone/v9.76.3...dialtone/v9.77.0) (2024-10-01) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon ([#466](#466)) ([6ef90db](6ef90db)) * **Avatar:** DLT-1916 remove dt-icon from Avatar vue 2 ([#474](#474)) ([e8600c3](e8600c3)) * **Feed Item Pill:** DLT-1916 remove dt-icon from Feed Item Pill ([#489](#489)) ([bde73c8](bde73c8)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13)) * **Message Input:** DLT-1916 remove dt-icon from message input ([#490](#490)) ([3215116](3215116))
# [2.162.0](dialtone-vue2/v2.161.2...dialtone-vue2/v2.162.0) (2024-10-01) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon from Avatar vue 2 ([#474](#474)) ([e8600c3](e8600c3)) * **Feed Item Pill:** DLT-1916 remove dt-icon from Feed Item Pill ([#489](#489)) ([bde73c8](bde73c8)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13)) * **Message Input:** DLT-1916 remove dt-icon from message input ([#490](#490)) ([3215116](3215116))
# [3.155.0](dialtone-vue3/v3.154.2...dialtone-vue3/v3.155.0) (2024-10-01) ### Code Refactoring * **Badge, Emoji Tabset, Empty State:** remove DtIcon ([#481](#481)) ([0fa1280](0fa1280)) ### Features * **Avatar:** DLT-1916 remove dt-icon ([#466](#466)) ([6ef90db](6ef90db)) * **Avatar:** DLT-1916 remove dt-icon from Avatar vue 2 ([#474](#474)) ([e8600c3](e8600c3)) * **Feed Item Pill:** DLT-1916 remove dt-icon from Feed Item Pill ([#489](#489)) ([bde73c8](bde73c8)) * **Keyboard Shortcut To Unread Pill:** DLT-1916 remove dt-icon ([#482](#482)) ([277ae13](277ae13)) * **Message Input:** DLT-1916 remove dt-icon from message input ([#490](#490)) ([3215116](3215116))
Remove DtIcon usage on Badge, Emoji Tabset and Empty State components
Obligatory GIF (super important!)
🛠️ Type Of Change
These types will increment the version number on release:
📖 Jira Ticket
https://dialpad.atlassian.net/browse/DLT-1916
📖 Description
💡 Context
We're making dialtone-vue fully tree-shakeable
📝 Checklist
For all PRs:
For all Vue changes:
./scripts/dialtone-vue-sync.sh
script. Read docs here: Dialtone Vue Sync Script🔮 Next Steps