alercebroker / ztf_explorer

🌚 🔭 💻 ZTF Explorer for the ALeRCE broker
https://alerce.online/
6 stars 0 forks source link

[FEATURE] #334

Open fforster opened 3 years ago

fforster commented 3 years ago

Is your feature request related to a problem? Please describe. When cycling between candidates with the keyboard arrows and reaching the last candidate, do not go back to the first candidate.

Describe the solution you'd like Do nothing when reaching the last candidate. This helps when exploring a list of candidates to know when you have reached the last candidate.

Additional context This would be useful for people checking candiates to veto every morning. It has happened to me that I don't know when to stop because I don't know when I reach the last candidate of the list.

dirodriguezm commented 2 years ago

I think you misunderstood the feature, when reaching the last candidate and press the arrow it actually fetches the next page and selects the first object of the next page.

If we implement what you are asking we would not have pagination available with arrow keys.

A suggestion is that you only query the objects you actually wanna see, and cycle through them normally and if you are on last page then it would stay in the last object.