Skip to content

Polish Widgets Foundation #936

@ovitrif

Description

@ovitrif

Collection of fixes to be addressed before OS Widgets release in 2.3.0.

Part 1

  • 1.1 Bg Color Issue
    Screen in AppWidgetConfigActivity doesn't have same BG color as the bitkit app, apparently.

    While that's not the main issue, it leads to these visible differences in bg between system bars and app bg:

    Widgets Activity App Activity

    Most likely the fix is to enable edge to edge like we do in MainActivity.kt#L89

     enableAppEdgeToEdge()
     // setContent {
     //
  • 1.2 New Select Option UI Control Jump

    • Fixed meanwhile in one of the widgets PRs.

Part 2

  • 2.1 Crash on back nav from OS widget settings screen #919#issuecomment-4371470367
  • 2.2 if possible consider ordering suggestion of OS widgets on add screen (IMHO price, blocks, weather could be on top if possible)
  • 2.3 in-app small widget preview
    • either support it in app view or remove small preview for now. Otherwise it may be a bit confusing as why only wide version is supported despite saving the small one.
    • will remove (hide + comment) code applying the slide with the small preview – the rest of this work is in scope of actual v61 redesign, scheduled after 2.3.0.

Originally posted by @piotr-iohk in #895 (comment)


Part 3

  • 3.A Open app on home screen when tapping widgets without settings (Calculator, Facts)
  • 3.B Add support for Android OS Widget Settings menu and drag&drop area
    Menu Drag&Drop Area
  • 3.C Replace first preview in WidgetSizeCarousel to show the wide view by default
    • also refactor to support passing startingSlide from outside (as fn arg) and update each widget composable previews to include a preview screen for each slide and make sure all widget composable previews are annotated with @Preview(showSystemUi = true) instead of passing showBackground=true.
  • 3.D Investigate reason why this bug (double $ symbol) shows up intermittently on Ovi's Pixel phone regtest wallet.
    maybeIntermittent.mp4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions