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

Finished Tasks sorting and UI rework #3202

Merged
merged 6 commits into from
Sep 13, 2018

Conversation

MichaelBuessemeyer
Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer commented Sep 12, 2018

This PR reduces the details displayed when showing finished tasks in the dashboard/tasks-Tab. It also adds sorting by finished date / last modification.

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • create some tasks and do some annotations in them
  • then finish the tasks
  • the tasks should be listed in the tasks-tab of the dashboard sorted by their last modification when finished tasks is selected
  • Only Id, project name, finish date and the check that indicates that this task is finished should be displayed in the list when finished tasks is selected

Issues:


Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good :)
I would've liked to accomplish this without duplicating all the Card and Column code, but I also can't think of a nice way to do this without many `{this.state.showFinishedTasks ? ... : ...} conditionals, so I'd say it's fine.
While you're at it, can you change line 431, so that it displays "Finished Tasks" in the headline once the finished tasks are displayed. I wanted to do this for a long time :)

);
</Col>
<Col span={7}>
<b>Task Finished:</b> <FormattedDate timestamp={task.annotation.modified} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say you can drop the word task here.

@MichaelBuessemeyer MichaelBuessemeyer merged commit 2e08469 into master Sep 13, 2018
philippotto added a commit that referenced this pull request Sep 13, 2018
philippotto added a commit that referenced this pull request Sep 13, 2018
* Revert "auto remove autogen flow-check files on git checkout (#3208)"

This reverts commit 3e8c6b9.

* Revert "Show success toast after resetting annotation in tasks view (#3207)"

This reverts commit 42c1890.

* Revert "Finished Tasks sorting and UI rework (#3202)"

This reverts commit 2e08469.

* Revert "Add URLs for dashboard tabs (#3183)"

This reverts commit 0e29527.
@daniel-wer daniel-wer deleted the dashboard-task-list-ui-and-sorting branch November 12, 2018 09:52
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.

Refine dashboard task list view sorting and UI
2 participants