gitpay icon indicating copy to clipboard operation
gitpay copied to clipboard

TASKS button on the tasks page should take us to the exact task list page from where we opened the task.

Open mani-developer opened this issue 5 years ago • 2 comments

Description

Why

Better navigation options from a particular task page back to the Task List (Coming back to the exact task list page from where we opened a particular task )

Level

Current behavior

From the “Task list” page we see the list of tasks. image

And we navigate further to see more tasks by using the < > arrows on the bottom of the page. image

For instance wanted to open a task that’s in 3rd page (21- 30) - And the below task page in open. image Then if we wanted to go back to the same page from where we landed at this task (3rd page of “Task List”). there is no option. So we have to use TASK button with up arrow ( which is taking us back to the first page of the task list. (Task 1 to 10). image

So if we wanted to continue browsing the tasks, then we should start from the beginning.

Expected behavior

The ^TASKS button(shown below) in the task page should take us to the exact previous page instead of the first page of task list. image

Useful links

Screenshot attached

How to reproduce the user scenario

-Log in

  • Explore tasks
  • Navigate to some page by clicking the > arrow on the bottom.
  • Open a task by clicking on the title (Task column of the table)
  • From the task page click ^ TASKS button on the top
  • You should land on the same page from where you opened this taks.

What you will need to complete this issue

Tips

mani-developer avatar Apr 21 '20 13:04 mani-developer

I am interested in this. Assign me. I started working on this. Can you give me a hint

EANimesha avatar Apr 23 '20 18:04 EANimesha

@EANimesha Hi, you're going to need to retain memory of the page section and pass that through the components.

You can create an increment value for the # of times a user clicks the next page button and save that into the state, recall that value when the component re-renders using the consturctor() life cycle method.

I haven't looked into component behavior with regards to data flow after you click next page -> click on a task -> click on TASKS button so you'll have to see how the data flow is there to properly pass the state value through.

This is what I'd do atleast. If you have any questions I'm available here or on our slack page.

Shawn-Noruzi avatar Jul 30 '20 06:07 Shawn-Noruzi

Easiest way to find solution for this is to create temporary file folder and write in there history of user path and then assign particular button to back only one step back on history list.

Cocsic avatar Sep 29 '22 01:09 Cocsic

Can you assign me this issue, I would like to contribute

namann11 avatar Jan 19 '23 15:01 namann11

Not relevant anymore, please @sparshy you can work in another issue

alexanmtz avatar Oct 04 '23 17:10 alexanmtz