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

Keyboard navigation #7

Open
liviupop opened this issue Oct 27, 2019 · 2 comments
Open

Keyboard navigation #7

liviupop opened this issue Oct 27, 2019 · 2 comments

Comments

@liviupop
Copy link

keyboard navigation with plus, minus and arrow keys; maybe tab for next photo

  • I saw this as a project card. Any way I could give a hand in helping with this?
@cpietsch
Copy link
Owner

sure thing! I started something like that here: https://github.com/cpietsch/fw4/blob/gh-pages/vis/js/list.js#L504

The plus / minus keys are probably not difficult to implement since it is just doing a zoom action.
For the next / prev functionality you would have to look for the siblings which are in calculated in https://github.com/cpietsch/vikus-viewer/blob/master/js/canvas.js#L367 but not stored. For the similarity view it would be more of an quadtree search. In general the layouts should be decoupled from the canvas and provide projections and stuff like the prev / next search.

@liviupop
Copy link
Author

It will take me a while to get there, but I will try. In the mean time I ended up in another dead end: how could I display multiple pages of the same document (same data.csv line)? I'm trying to obtain the same navigation as in the https://vikusviewer.fh-potsdam.de/recs/vis/ (Seite with multiple pages and the ability to click trough previous and next page). In my data.csv I have an id column followed by several columns without any other header, but with id names in them (like in the image bellow):

ids_seite

Any advice would be really helpful.

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