Closed RouxRC closed 6 years ago
Yes, I was thinking about that, too.
Now the question is: what ordering should arrow buttons follow in the textzone ?
Now that we have snake-ordering back, left/right arrow keys don't match with the actual amendment order. But I think in unfolded textzone, navigation buttons should follow the amendment order no matter how they are displayed. What do you think ?
I agree, when we see the viz, arrow keys have to follow the visual marker, but whenever we're unfolded, the most logical would be to follow the amendment sorting order (so when we'll have the discussion order choosable, we will eb able to do as eliasse and pass from the currently discussed to the next)
Added pgup/pgdown to follow sorting order, and when in read mode left/up behave as pgup, and right/down as pgdown. See https://github.com/regardscitoyens/the-law-factory/commit/e0668eea8a69ab9e3267b483229af63dc57caa44.
Added amendements navlinks in read mode (f5ec6a5)
To be continued in #168 :)
could also apply to amendments now that keys are active :)