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 the ability to group lighthouses #7

Closed
19 tasks done
jeroen1602 opened this issue Jul 18, 2020 · 1 comment · Fixed by #98
Closed
19 tasks done

Add the ability to group lighthouses #7

jeroen1602 opened this issue Jul 18, 2020 · 1 comment · Fixed by #98
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jeroen1602
Copy link
Owner

jeroen1602 commented Jul 18, 2020

Every users always has at least 2 lighthouses that all have to change power state at the same time. In order to make this task easier.

Add an option to group lighthouses together to change their states all at once.

  • Add table to database
    • Create migration for the database
    • Create dao object
    • Create debug page for the new dao
  • Create group widget which holds multiple lighthouses
    • Create widget for ungrouped lighthouses.
    • Show known, but offline lighthouses.
  • Create mechanism for adding lighthouses to a group
    • Add warning for adding lighthouses with the same frequency
    • Add warning (maybe error) for adding 2 different type of lighthouses
    • Rename/ delete a group.
  • Add button for turning on/ off/ asking what to do
    • Do the opposite of the current state if all lighthouses have the same state.
    • Ask the user what to do if not all states are the same or some/ all states are unknown.
  • Add info to help page
  • Add custom icons for the actions
    • Add icon for change group
    • Add icon for delete group
    • Add icon for rename group
@jeroen1602
Copy link
Owner Author

#6 should be implemented first.

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

Successfully merging a pull request may close this issue.

1 participant