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

WIP Undocumented/canvass UI cleanup #2268

Open
wants to merge 8 commits into
base: undocumented/wizard-visits
Choose a base branch
from

Conversation

rebecarubio
Copy link
Contributor

Description

This PR "cleans up" and harmonizes the Canvas Assignment UI to follow the general component patterns.

Screenshots

image
image
image
image

Changes

  • Adds header components (AssignmentChip, Areas & Canvassers stats, Start/End assignment button, ZUIDatePicker).
  • Adds a new utility function getCanvassers()
  • Adds Canvassers stats in CanvassAssignmentOverviewListItem & CanvassAssignmentListItem
  • Adds new hook useStartEndAssignment to implement logic to start and end assignment
  • Adds new properties start_date and end_date to ZetkinCanvassAssignment
  • Renames "Editor" for "Outcomes"
  • Adds a Card component in Canvassers table
  • Adds new component MapControls and implements it instead of the old ButtonGroup

Notes to reviewer

WIP

Related issues

None

…erson icon and canvassers number in CanvassAssignmentListItem and CanvassAssignmentOverviewlistItem
… routes, implement new component AssignmentStatuschip and DatePicker in CanvassAssg header, add new hook useCanvassAssignment status, update models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant