Skip to content

[FEATURE] Migrate UI Components from collaction_app #5

@Xazin

Description

@Xazin

Description:
We want to migrate some of the most common UI Components from collaction_app.

Each successful migration of a Widget should include:

  • Widgetbook use-case inside collaction_book package
  • Unit tests

Additionally some rules/notes for when migrating widgets:

  1. Do NOT use/include state management, eg. Riverpod or BLoC. All Widgets should be decoupled, if they previously relied on a domain model (eg. CrowdAction or Commitment) then create a ViewModel for the Widget, or simply use only required fields.
  2. At least 85% Test Coverage on ALL files added!
  3. Use Theme for colors!
  4. Abstract all onTap or similar functions into fields and callbacks!

Widgets to be Migrated:

  • AccentChip + SecondaryChip (Consider if they can be consolidated)
  • ContentPlaceholder
  • CountryIcon
  • CustomFAB (Consider renaming to eg. CAFab)
  • MicroLock
  • CollAction Icons
  • PhotoSelector
  • PillButton
  • CommitmentCard
  • CustomAppBar
  • PinTextField
  • PinInput

There may be more widgets, feel free to comment below if you think something is a candiate!

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreFor UIs across all platformsenhancementNew feature or requestgood first issueGood for newcomersmobileUsable for only mobile related UIs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions