Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Update Widgets for Compatibility with Sonoma #160

Description

@winsmith
No description provided.

Activity

  1. Finch-Ing commented on Jan 18, 2024

    @Finch-Ing
    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

  2. winsmith commented on Jan 20, 2024

    @winsmith
    ContributorAuthor

    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?)

  3. Finch-Ing commented on Jan 20, 2024

    @Finch-Ing
    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!

  4. Finch-Ing commented on Jan 21, 2024

    @Finch-Ing
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions