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

Area assignment: status not shown correctly in activity list or activity overview #2446

Open
ziggabyte opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐟 Small Should be a quick-ish fix.

Comments

@ziggabyte
Copy link
Contributor

ziggabyte commented Dec 20, 2024

Description

Area Assignments (which will be the new name for canvass assignments, changing in #2443) are one of six different types of "activities" in Zetkin (alongside events, call assignments, surveys, tasks and email).

Activities have lifecycles, which are slightly different depending on the activity. Area assignments can be drafts, or scheduled to be published at a future date, or published/started, or unpublished/ended.

The state is indicated in various places, but it seems like the different components are not consistent when it comes to how they render the state.

Steps to reproduce

  1. Create an area/canvass assignment
  2. Give it a name
  3. Click "Start assignment"
  4. Go to the activity overview (/organize/(orgId)/projects/(projectId) and see the assignment in the "today" section
  5. Go to the "Activities" tab on the project, and see the assignment in the list
  6. Now go back to the assignment
  7. Click "End assignment"
  8. Repeat step 4 and 5

Expected Behaviour

At step 4 and 5, the status dot, tooltip and explanation are correct and all agree, wherever you look

Actual Behaviour

At step 4 and 5, there is disagreement across the different components if the assignment is a draft, starting today, or closed.

Screenshots (if you have any)

When the assignment has been opened and then closed again, this is what it looks like in the various places:

In the assignment
bild

In the activities list
bild

In the activity overview
bild

@ziggabyte ziggabyte added 🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐟 Small Should be a quick-ish fix. labels Dec 20, 2024
@remipou remipou self-assigned this Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐟 Small Should be a quick-ish fix.
Projects
None yet
Development

No branches or pull requests

2 participants