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

Feature/display state manager #838

Merged
merged 18 commits into from Jul 22, 2017
Merged

Feature/display state manager #838

merged 18 commits into from Jul 22, 2017

Conversation

LearnedVector
Copy link
Contributor

@LearnedVector LearnedVector commented Jun 16, 2017

This pull request will implement a persistent clock that is displayed on the MarkI faceplate. It also has a display state manager which allows mycroft core the ability to know which skill currently using the markI faceplate

A few dependencies are needed for this to work

mycroft-core/requirements.txt
pillow==4.1.1

sudo apt-get install python-dev
sudo apt-get install libjpeg-dev

skill-date-time also needs to be merged from dev into masters

MycroftAI/enclosure - need to merge display-update and install-script-fix into the master branch of enclosure and upload code into the arduino

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 38.306% when pulling a2853e2 on feature/display_state_manager into 8e17fe3 on dev.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 38.213% when pulling 09cd00a on feature/display_state_manager into 8e17fe3 on dev.

Copy link
Contributor

@MatthewScholefield MatthewScholefield left a comment

Choose a reason for hiding this comment

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

Looks good. Only found two small problems.

yOffset = event.data.get("yOffset", yOffset)
clearPrevious = event.data.get("clearPrev", clearPrevious)

# clearAfter = int(cleartAfter) # convert clearAfter to 0 or 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Extra code commented



def run():
""" TODO: document
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps rename to initiate_ws or initiate_display_manager_ws (like it was imported as) and make the doc string the comment written near the function ("initiates the web sockets on display manager").

@LearnedVector
Copy link
Contributor Author

Changes made

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 38.177% when pulling eeda583 on feature/display_state_manager into 8e17fe3 on dev.

Copy link
Contributor

@MatthewScholefield MatthewScholefield left a comment

Choose a reason for hiding this comment

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

Looks good now. Should probably get one more set of eyes on this in case I missed something.

@augustnmonteiro augustnmonteiro removed the request for review from jdorleans June 23, 2017 22:34
@augustnmonteiro
Copy link
Contributor

I think that would be better change the initiate_display_manager_ws to a class

@ethanaward
Copy link
Contributor

There's also a git conflict that needs to be resolved.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 39.777% when pulling eb03c35 on feature/display_state_manager into 14df7e6 on dev.

@penrods
Copy link
Contributor

penrods commented Jul 6, 2017

Let's merge this next release (the one after July 6th) along with the changes to Enclosure, etc.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 39.247% when pulling cee542e on feature/display_state_manager into 28c15eb on dev.

@penrods penrods merged commit e8e0853 into dev Jul 22, 2017
@penrods penrods deleted the feature/display_state_manager branch July 22, 2017 00:58
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

Successfully merging this pull request may close these issues.

None yet

6 participants