-
Notifications
You must be signed in to change notification settings - Fork 0
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
Retrieve previous and next members in a work #2418
Conversation
Featuring my new friends |
i did not know about lag/lead... intersting! I would hae just done two queries Which I think would have been fine! But maybe using this fancy thing is fine too? pg-specific? Also fine. As long as there's a test that will fail if it breaks in the future! |
(Did a bit of research - turns out |
Very well organized code, with tests, thanks! I like making the helper class, and calling it in the controller. Do we really need the names of the previous/next assets on screen? I think not, especially because asset titles aren't very meaningful? Unless @apinkney0696 has asked for them or wants them, I think simple links Putting extra text on the page can end up just confusing with too many things for the eye to look at, instead of helpful. There is already a lot on this page! If you really wanted to, you could make the title a hover popover of some kind, since we do already have it, but I suspect it's not necessary! As a user, do you want it? |
You could make them bootstrap |
I'll take all these suggestions - thanks! |
And actually, you know what, if we don't need to display the title, taht actually saves you some SQL fetches, does it not? You are doing separate fetches to fetch in the records to get title? There is probably a way to do that all in one fetch... but if you don't need the titles, and I don't think we do, it's not an issue, don't do those extra fetches! |
Good call- stay tuned... |
looking good, thanks |
Ref #2322 .
The UI is clunky, but perhaps good enough for a first pass.
I may actually add a second issue for figuring out where to place the links on the page.
Requirements: