Skip to content

[Feature]: Integrate invite-sdk into citizen-claim-widget following GoodWallet design & flow #84

Description

@L03TJ3

Short description of the new GoodWidget

Integrate the new invite-sdk from GoodDollar/GoodSDKs into the citizen-claim-widget, enabling users to invite others through the widget. The integration should mirror the invite flow and design as implemented in GoodWallet, and be consistent with the citizen claim process currently present in the widget.

UI implementation reference

Follow the invite flow UI as implemented in GoodDollar/GoodWallet. Keep the design and flow consistent with both the GoodWallet integration and the current citizen claim flow in the widget.

User flows, states and behaviours

The widget should allow a user to:

  • Access invite functionality integrated into the existing claim flow UI
  • Follow a flow similar to GoodWallet (reference implementation)
  • State transitions: idle → start invite → fill details → send invite → success/failure
    Additional UI/UX instructions:
  • All invite flow screens/behaviors should be consistent with GoodWallet.
  • Reuse as much as possible from existing widget claim flow for seamless user experience.

View original Slack conversation

Create the plan

Based on the above description create an execution plan in a new sub-issue and preserve the original issue content unchanged.
Do not execute the plan until given instructions to do so.

Sub-issue requirements:

  • Title format: [DRAFT][PLAN] <what issue is being planned>
  • Type: Task
  • Description must start with: <sub-issue title>
  • Link the sub-issue back to this parent issue.

Instructions when creating the plan:

  • Map relevant files that are too be used as reference from all repos mentioned
  • import existing @GoodDollar packages
  • Map new components that should be created. Assess when a new component should be created in the new savings widget package or made part of the reusable packages/ui

Plan specification required sections:

  • Required states, flows, and behaviors
  • Execution plan
  • acceptance criteria
  • human-reviewer checklist

Which repos and packages the AI should work with

  • GoodDollar/GoodWidget (citizen-claim-widget)
  • GoodDollar/GoodSDKs (invite-sdk)
  • GoodDollar/GoodWallet (reference for invite flow design/implementation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Prepare AI Task

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions