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

Update notification attachment handling, add error images #1301

Merged
merged 2 commits into from Dec 18, 2020
Merged

Conversation

zacwest
Copy link
Member

@zacwest zacwest commented Dec 18, 2020

Summary

  • Refactors notification attachment into smaller units. Adds tests.
  • Adds an image attachment with whatever the error reason is when an attachment fails to download.
  • Adds a Shared framework scheme which can run just its tests. It's a bit faster than doing the whole app which has a lot of extensions and watchOS targets.

Screenshots

Image

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

This does not (yet?) create the error images for the service timeout. Not sure how relevant that may end up. I haven't yet come across a case of this happening in logs and being confusing.

- Refactors notification attachment into smaller units. Adds tests.
- Adds an image attachment with whatever the error reason is when an attachment fails to download.

This does not (yet?) create the error images for the service timeout. Not sure how relevant that may end up. I haven't yet come across a case of this happening in logs and being confusing.
@zacwest zacwest merged commit 8ed37f0 into master Dec 18, 2020
@zacwest zacwest deleted the error-image branch December 18, 2020 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants