Dynamic filtering of best pictures
# Problem The more the volume of picture is growing, the more the user will face very crowded interface, such as: ![image.png](/uploads/2b9acddc635b2800dae4d3ffb2b703ed/image.png){width=587 height=458} # Suggestion I suggest to highlight to the user the best pictures, by default. This would be dynamically adjusted depending on the context. ## Definition of `best pictures` "Best" is hard to define. Also it's definitely a subjective choice: a very bad quality picture can show something very interesting to the user, there is no way to be sure. Therefore I believe that we should still display and it should remain possible to click an un-prioritorized sequence in all cases. My suggestion of "best picture", as a first step, would be a new subjective indicator : the "recommanded pictures", with a score being a combinaison of 1. the [Quality Score](https://gitlab.com/panoramax/server/api/-/issues/195) 2. a new "freshness score", that decreases slowly in the first years then drastically drops, something like that: ![image.png](/uploads/d3058ad28d2f7eb0be0a59bf1d397645/image.png){width=407 height=379} 3. the user's pictures should be prioritized over other user's # Interface I suggest we display the un-prioritized sequences, only in dense areas (more than 100 pictures in the bbox ?), on a inferior layer (always displayed below the prioritized ones), with a new light style : ![Group(1).png](/uploads/7bc8c4a6110017fa1d97f8f9303f1380/Group_1_.png){width=586 height=457} ## Repartition The amount of prioritized VS un-prioritized pictures may also be dynamically adjusted: the more pictures are displayed, the less sequences are prioritized. My proposal being, only based on my intuition: ![image.png](/uploads/8dcd694b8fb8e05dd78ae4cf0987ee1c/image.png) N.B: it could be that this is a useless option and that a static amount would do perfectly the job. To be tested. ## Interaction The user should not be able to select a picture of an un-prioritized sequence. Instead, he/she could select and highlight this sequence, allowing him/her to select a specific picture with another click. The hitbox of these sequences should NOT be modified, but the prioritized ones should be increased and having priority. ## Quality score for sequences This would only be possible if we create a quality score not only for the pictures but for sequences too. It could be that it's just average of all pictures score in this very sequence, as a start. ## Option to disable This new view should be a new render, activated by default. The new view should be called "Smart display" and the current "By default" one should be renamed "All pictures" ![image.png](/uploads/2d97906ee47916f3eb2501a496792038/image.png)
issue