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

Tasks: Breadcrumbs seem to be incorrect #2080

Open
Bagera opened this issue Jul 12, 2024 · 1 comment
Open

Tasks: Breadcrumbs seem to be incorrect #2080

Bagera opened this issue Jul 12, 2024 · 1 comment

Comments

@Bagera
Copy link
Contributor

Bagera commented Jul 12, 2024

Description

When on a task page the breadcrumbs say that it is organized under calendar. This seems odd as tasks are not visible in the calendar.

Clicking on "tasks" in the breadcrumbs takes you to the calendar as well.

The URL also reflects this organization.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1/projects/1/calendar/tasks/4
  2. Click on "calendar" or "tasks" in the breadcrumbs

Expected Behaviour

  • "Calendar" should probably be "Activities" and clicking on it should take you to the activities tab
  • Tasks should take you to a view where you see your tasks. This could be the activities tab filtered to show only tasks.

Actual Behaviour

You are taken to the calendar

Screenshots

image

@richardolsson
Copy link
Member

This is because of how the URLs for tasks are designed (with calendar in the URL), which was decided before the other activities existed in Gen3. I believe that the best way to fix this is to change the URLs at which tasks exist, to match those of other activities.

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

No branches or pull requests

2 participants