EPFL-ENAC / eesd-mast

EESD - MAST (MAsonry Shake-Table) - A comprehensive database and collaborative resource for advancing seismic assessment of unreinforced masonry buildings
https://masonrydb.epfl.ch/
GNU General Public License v3.0
0 stars 0 forks source link

Buildings tab: new minor fixes #30

Closed mchaindl closed 4 months ago

mchaindl commented 5 months ago
ymarcon commented 5 months ago

@mchaindl I cannot reproduce the filter issue (the 3rd item), the issue was fixed yesterday, could you reload the page and try again?

mchaindl commented 5 months ago

@ymarcon First I set the "Records per page:" to All. Then, I filtered for Stone and Clay and it shows the buildings correctly. But then if I deselect both filters manually (without using the "Reset filters" button), the full list of buildings is not shown (as it is supposed to be if no filter is applied)

ymarcon commented 5 months ago

@mchaindl ah ok it is a matter of pager sync. BTW it is not recommended to show all items by default, as it overloads the servers (especially in this case where there are a lot of images) and it is usually useless (you cannot see more than the page's view port). And also there is a text filter at the top right for the case one would search for a keyword.

ymarcon commented 4 months ago

As the filter "Numerical model" was introduced in the Overview page, the toggle in the Buildings page has 3 states:

This is equivalent to a filter made with check boxes and Yes/No options:

mchaindl commented 4 months ago

@ymarcon I think this is a little bit confusing. I will only turn the filter of numerical models on if the "Yes" is selected in the donut chart, but if "No" is selected the filter is not activated and it only serves to show the connections in the parallel plot.