-
Notifications
You must be signed in to change notification settings - Fork 60
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
Canvass instructions #2428
Canvass instructions #2428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I have tried the preview build and I have reviewed the code. I found a tiny little piece of dead code but it's not worth making changes over. This will need to be revisited for design polish anyway. Let's merge! 💯
> = ({ orgId, canvassAssId }) => { | ||
const { showConfirmDialog } = useContext(ZUIConfirmDialogContext); | ||
|
||
// const messages = useMessages(messageIds); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dead code should be removed.
Description
This PR adds the ability to include instructions for canvass assignments. Organizers can now provide detailed instructions through the newly introduced "Instructions" tab. Canvassers can view these instructions either by clicking on an assignment or accessing them via the
CanvasserSidebar
component.Screenshots
Changes
instructions
tocanvassAssignment
type and modelinstructions
CanvassAssignmentInstructionsPage
with a text editor in the Organizer UIuseCanvassInstructions
CanvasserSideBar
componentMyCanvassAssignmentPage
with stats and instructionsMyCanvassAssignmentPage
on /mapNotes to reviewer
None
Related issues
None