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

Changing the structure of actions, will be incompatible with older versions of the html #7

Open
mattjoyce opened this issue Nov 2, 2015 · 1 comment

Comments

@mattjoyce
Copy link
Contributor

I wanted to change actions from the current

  • actions
    • name : url
    • name : url

to

  • actions
    • id : str
    • displayname : str
    • url : str

this will allow us to add meta data about the actions, such as the type of parameter. (int / datetime)
I'd like to be able to popup a date picker for schedules, or a slider for countdowns.

  • actions
    • id : str
    • displayname : str
    • url : str
    • argname1 : "start"
    • argtype1 : "date"

This would also allow us to move the 'canceljob' setter to an action, which is better I think.

thoughts?

@Japh
Copy link
Contributor

Japh commented Nov 4, 2015

Definitely something to consider. I'm planning to spend some decent time over the next week developing a more sane replacement for the web interface. Something that would also be compatible with adding in unrelated devices at some point even (such as smart light bulbs, etc.).

This is something for #10 too.

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

2 participants