-
Notifications
You must be signed in to change notification settings - Fork 24
feat(bolt-install): added --experiment=bolt-install #88
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,18 +26,18 @@ View more samples | |
|
|
||
| You will then be prompted to choose between **Bolt for JavaScript** or **Bolt for Python**. Choose your favorite flavor. | ||
|
|
||
| Your app will be cloned from the respective [JavaScript](https://github.com/slack-samples/bolt-js-starter-template) or [Python](https://github.com/slack-samples/bolt-python-starter-template) project template on our Slack Platform Sample Code repository, and its project dependencies will be installed. Then, `cd` into your project folder. | ||
| Your app will be cloned from the respective [JavaScript](https://github.com/slack-samples/bolt-js-starter-template) or [Python](https://github.com/slack-samples/bolt-python-starter-template) project template on our Slack Platform Sample Code repository, and its project dependencies will be installed. Then, `cd` into your project folder. | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: Editor auto-removed trailing whitespace. |
||
|
|
||
| :::info | ||
|
|
||
| For Bolt for Python projects, automatic project dependency installation is currently unsupported, and will need to be done manually. For more information, refer to [Getting started with Bolt for Python](https://tools.slack.dev/bolt-python/getting-started). | ||
|
|
||
| ::: | ||
|
|
||
| To run your new app, use the `slack run` command with the experiment flag as follows: | ||
| To run your new app, use the `slack run` command as follows: | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: I think this was left over from when we had
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for reviewing these pages as part of this change 👾 ✨ |
||
|
|
||
| ``` | ||
| slack run | ||
| ``` | ||
|
|
||
| You'll be prompted to choose your team/workspace, and then your app should let you know that it's up and running. 🎉 | ||
| You'll be prompted to choose your team/workspace, and then your app should let you know that it's up and running. 🎉 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: Editor auto-added a newline to end of file. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,5 @@ The Slack CLI has an experiment flag, behind which we put features under develop | |
|
|
||
| The following is a list of currently available experiments. We may remove an experiment once the feature is released. | ||
|
|
||
| * `read-only-collaborators`: enables creating and modifying collaborator permissions via the `slack collaborator` commands. | ||
| * `bolt-install`: enables creating, installing, and running Bolt projects that manage their app manifest on app settings (remote manifest). | ||
| * `read-only-collaborators`: enables creating and modifying collaborator permissions via the `slack collaborator` commands. | ||
|
Comment on lines
+9
to
+10
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: How does this look for documenting the new experiment?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like how an overall goal of the experiment is here to start!
This is also a good idea IMO! Were you thinking of these as copied commit messages or more complete blurbs on the change? You've been writing nice
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Keeping all of these notes in It's seeming like this experiment will span multiple commands which could be confusing without reading all of the help pages otherwise?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This was my thought as well. The bullet point list written for the developers using the feature will help them follow along and know what's available. We can also link to the PR that implements the features 🤔 When we release the feature, the bullet point list will help us draft a release announcement. If we need extra details, we can find them in the PRs by searching for the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mwbrooks Oh, wow! Linking to PRs I guess is now an option. I like this idea a lot 😌 🟩 |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,11 @@ type Experiment string | |
| const ( | ||
| // BoltFrameworks experiment adds CLI support for Bolt JavaScript & Bolt Python. | ||
| // These frameworks will be introducing remote function support. | ||
| BoltFrameworks = "bolt" | ||
| BoltFrameworks Experiment = "bolt" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: Updated to be cast as an
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Woah great catch... At first I thought this was an extra space 😴 |
||
|
|
||
| // BoltInstall experiment enables developerInstall to work with Bolt projects that | ||
| // manage their app manifest on app settings (remote manifest). | ||
| BoltInstall Experiment = "bolt-install" | ||
|
|
||
| // The ReadOnlyAppCollaborators experiment enables creating and modifying collaborator | ||
| // permissions via the `collaborator` commands. | ||
|
|
@@ -46,6 +50,7 @@ const ( | |
| // AllExperiment is a list of all available experiments that can be enabled | ||
| var AllExperiments = []Experiment{ | ||
| BoltFrameworks, | ||
| BoltInstall, | ||
| ReadOnlyAppCollaborators, | ||
| Placeholder, | ||
| } | ||
|
|
||
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.
note: Side effect of updating
BoltFrameworksto be anExperiment.