-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[core] Simplify docs feedback interaction #39075
Conversation
Netlify deploy previewhttps://deploy-preview-39075--material-ui.netlify.app/ Bundle size report |
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.
👍
type: 'plain_text', | ||
text: 'Save', | ||
}, | ||
action_id: 'save_message', |
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.
I feel I will stop using this action. But it sounds fair to keep both, at the very least for the sake of continuity & experimenting with GitHub issues.
Co-authored-by: Jan Potoms <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
message, | ||
} = body; | ||
|
||
const { quote, links } = getQuoteAndLinks(message); |
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.
Just a suggestion, but I quickly skimmed this doc
I may be misunderstanding it, but it looks like you can specify a value
to pass along as payload when clicking the delete button. If so, that could offer a more structured way of passing along this information?
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.
I did not use it because it only accepts a string and I need multiple values.
But now I see it could be used with JSON.stringify({ quote, links })
and JSON.parse
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 to me, I added one suggestion where you could look into to improve a bit passing data from the original slack message to the delete action. I could be wrong though. If you feel like looking deeper into it, happy to rereview your changes, otherwise good to merge.
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.
👍
Co-authored-by: Olivier Tassinari <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
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.
this is much neater, great improvement!
Co-authored-by: Jan Potoms <[email protected]> Co-authored-by: Olivier Tassinari <[email protected]>
The goal is to add actions directly into messages, such that with a single click, you can: