Skip to content
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

Function cleanup #3

Open
FletcherAU opened this issue Nov 4, 2021 · 0 comments
Open

Function cleanup #3

FletcherAU opened this issue Nov 4, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@FletcherAU
Copy link
Collaborator

Functions should be split up into several categories:

  1. Utility functions - These functions return data or perform an action not related to slack.
  2. Block constructors - These functions return a list of blocks. Output from these functions can be assigned to blocks directly or concatenated with other block constructors.
  3. Slack entry points - Slack only lets bots open modals etc in response to particular entry points to prevent bots harassing users.
  4. Slack actions - These functions respond to events from Slack using data from Utility and Block constructors.
  5. Slack data - These functions respond to app.options calls. Speed optimisation here will directly affect load times of input boxes.

TODO: function names/folders

@FletcherAU FletcherAU added the enhancement New feature or request label Nov 4, 2021
@FletcherAU FletcherAU added this to the v0.2 milestone Nov 4, 2021
@FletcherAU FletcherAU modified the milestones: v0.2, v0.3 Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant