Skip to content

Config based approach to commands - #60

Merged
timja merged 17 commits into
mainfrom
config-based-approach-to-commands
Jul 29, 2022
Merged

Config based approach to commands#60
timja merged 17 commits into
mainfrom
config-based-approach-to-commands

Conversation

@timja

@timjatimja commented Jul 26, 2022

Copy link
Copy Markdown
Owner

Fixes#54
Fixes#33
Fixes#56

Introduces configuration to allow enabling and disabling of commands
This is the basis that permissions will be added on top of.

Comment threadapp/router.js
Comment threadapp/router.js Outdated
Comment threadapp/router.js Outdated
@timja

Copy link
Copy Markdown
OwnerAuthor

Config based approach seems to be working good, tested at org level and repo level, it doesn't do any merging by default but i've added some in after trying a few different approaches

Comment threadapp/router.js Outdated
Comment threadapp/default-config.js Outdated
Comment threadapp/commands.js Outdated
Comment threadapp/commands.js Outdated
Comment threadapp/router.js Outdated
Comment threadapp/commands.js Outdated
Comment threadapp/default-config.js Outdated
@timjatimja added the enhancement New feature or request label Jul 29, 2022

@jetersenjetersen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great so far, a few linter errors and we are almost there! 👏

Comment threadapp/commands.js
Co-authored-by: Joseph Petersen <josephp90@gmail.com>
Comment threadapp/router.js Outdated
@timjatimja mentioned this pull request Jul 29, 2022
@timja
timja marked this pull request as ready for review July 29, 2022 13:39
@timja
timja enabled auto-merge (squash) July 29, 2022 13:40
@timja
timja merged commit cab2070 into mainJul 29, 2022
@timja
timja deleted the config-based-approach-to-commands branch July 29, 2022 13:40
@jetersen

Copy link
Copy Markdown
Contributor

@timja great job!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: protected labels Provide an "opt-out" at repository level

2 participants

@timja@jetersen