mattermost-developer-documentation
mattermost-developer-documentation copied to clipboard
Apps documentation - Dynamic form example
Summary
This PR adds an example of using App forms, and covers these topics:
- How to render an item in the post dot menu
- How to open a modal when the post menu item is clicked
- How to create a form with:
- Text fields
- Static select fields
- Dynamic autocomplete select fields
- How to redefine the form based on user interaction
- How to access the associated post after interacting with the post menu using
expand
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-36974
TODO
- Make screenshots of each step of the guide
Newest code from mickmister has been published to preview environment for Git SHA 95d2e6cc7e8a511eb29b2c6979bebd2c513c8c1d
@mickmister Is there anything specific I should review here? There are plenty of people taking a look at this PR right now and I'm not an export in apps interactivity.
Newest code from justinegeffen has been published to preview environment for Git SHA b151c079dab5596b91dbb7895f63ab956469a554
Newest code from hanzei has been published to preview environment for Git SHA b151c079dab5596b91dbb7895f63ab956469a554
@hanzei Thanks for applying the Awaiting Submitter Action
label. FYI I'm waiting to revisit this once all the breaking changes around forms are merged, since a lot of this will need to be modified for those changes.
Newest code from justinegeffen has been published to preview environment for Git SHA aac871d62a773d532e6a02afefa1fb80c888ec3d
Newest code from hanzei has been published to preview environment for Git SHA 9825f9cea34f9a064e96823f85325e2c7e3b14ca
Newest code from justinegeffen has been published to preview environment for Git SHA bbf9ec92161a69cb096cb02b8adeabdbf8657e27
@mickmister - Friendly reminder on this PR.
@mickmister - The dev docs site has seen a lot of changes recently. Given the age of this PR, would you be open to reviewing the changes proposed in this PR against content available in production to confirm whether we want to move ahead with this PR?
This PR is mostly or completely covered by #1161.
Thanks @neflyte, are you thinking we should close this PR?
@mickmister - Are you open to a quick review of what changed and merged via https://github.com/mattermost/mattermost-developer-documentation/pull/1161 and identify any gaps present in this PR that should move forward?
Closing this, as the content is outdated and we have much more descriptive docs now. We may revisit this to include similar content in the current docs.