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

Easier navigation between datapoints #42

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

DumbMachine
Copy link
Contributor

@DumbMachine DumbMachine commented Jul 7, 2020

Have implemented the navigation feature. The navigation uses a new API that I implemented, which returns the dataId for the previous and next annotation.

TODO:

  • Change the Icons for the new buttons added.
  • Remove the hacky window.location.reload(); upon new page redirect. # I added this as I had some doubts regarding: this.props.history.push(path);

Copy link
Contributor

@manrajgrover manrajgrover left a comment

Choose a reason for hiding this comment

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

You're on right track, however, I'm unable to test this locally due to missing code. Let me know once this PR is ready.

frontend/src/pages/annotate.js Outdated Show resolved Hide resolved
@DumbMachine
Copy link
Contributor Author

You can check the changes. The feature works and I tested for most cases.

@manrajgrover manrajgrover self-requested a review July 9, 2020 10:12
@DumbMachine
Copy link
Contributor Author

@manrajgrover The feature is good to go now. Review and let me know if any changes are required.

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.

2 participants