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

Add Settings menu item #47

Open
10 of 18 tasks
igrybkov opened this issue Jan 29, 2019 · 0 comments
Open
10 of 18 tasks

Add Settings menu item #47

igrybkov opened this issue Jan 29, 2019 · 0 comments
Milestone

Comments

@igrybkov
Copy link
Owner

igrybkov commented Jan 29, 2019

Add ability to change workflow settings through Alfred interface

Events

This action would require several events:

Used to show menu

  • ShowSettingsItems
  • ShowSettingOptions

Used to manipulate with settings

  • AddConfigurationValueToSet
  • RemoveConfigurationValueFromSet
  • RemoveConfigurationValue
  • SetConfigurationValue

CLI Commands

  • menu:settings - prints all settings
  • menu:setting-options <settings-menu-item> - prints options for chosen configuration
  • settings:set <path> <value> - sets value to the configuration
  • settings:add <path> <value> - adds value to the set of values in the configuration
  • settings:remove <path> - removes value from the configuration
  • settings:remove-from-set <path> <key> - removes value from the configuration

Menu items

For each item:

  • Icon of a module which added an item or a default config item icon (TBD)

ShowSettingsItems

Environment variables

  • settingPath - a path of the setting

ShowSettingOptions

  • settingPath - path of the setting
  • settingValue - chosen value
  • settingAction - either set, add or remove action. If ommited, add used by default

Improvements

  • If possible, route a flow to some point of the next event by adding nextAction environment variable
@igrybkov igrybkov added this to the v1.0.0 milestone Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant