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 Widgets for Compatibility with Sonoma #160

Open
winsmith opened this issue Jul 23, 2023 · 4 comments
Open

Update Widgets for Compatibility with Sonoma #160

winsmith opened this issue Jul 23, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@winsmith
Copy link
Contributor

No description provided.

@winsmith winsmith added the enhancement New feature or request label Jul 23, 2023
@JayFiDev
Copy link
Contributor

I got a first step for Sonoma widgets working, but have a problem now, which I can't solve myself.
The current mock data for the widgets is out of date:

.map { try! JSONDecoder.telemetryDecoder.decode(DTOv2.InsightCalculationResult.self, from: $0) }

is not working - resulting in black widgets when adding them. Can you update the data for the newest model? I think some data is missing.

Bildschirmfoto 2024-01-18 um 22 18 21

@winsmith
Copy link
Contributor Author

winsmith commented Jan 20, 2024

I updated the mocks but I'm unsure how to properly test this, so I didn't merge the commit yet. Could you check out PR #165 and see if it does what you need?

Alternatively, could you describe how you to got to this screen so I can test it? When I launch the TelemetryDeckMacWidgetExtension target directly, I don't get this dialog (and the widgets don't show up in the widget picker). When I run the TelemetryViewer (macOS) target, they don't show up either in the widget picker.

(What does show up is the iPhone app widgets -- or did you mean those?)

@JayFiDev
Copy link
Contributor

had to delete my previous comment - the mock data was working, but I ran into multiple other problems - from memory leak to hard crashes. I think that problem is a little bit over my head. Sorry!

@JayFiDev
Copy link
Contributor

Bildschirmfoto 2024-01-21 um 07 59 22

work in progress - just can't login at the moment in the app when running. Neither macOS nor macOS local let me login.

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

No branches or pull requests

2 participants