Closed paregorios closed 1 year ago
OK, I've got a first pass at this up here you should be able to select the Titled Listing (alt)
view from the display menu on any Folder, Collection, or Topic. It uses a flex grid that switches from 3 to 2 columns at the mobile breakpoint.
I'm not quite sure how to handle the :active
styling for this large linked box, but the default black background did not seem like a good choice so I've disabled that for now.
So a few things:
@paregorios white background when active or always white background? I'll see what I can do about flickering, I thought I had it fixed with the padding adjustments I made, but if I can't get it settled I'll try turning off the default border animations for the tile.
It might also help to make the border always 1px or always 3px.
FWIW I'm not seeing flickering on Chrome 107.0.5304.87 MacOS Monterey or Safari 16.1 (17614.2.9.1.13, 17614).
yeah, the border width is probably part of the problem on FF
@paregorios I've removed the animation around the border switch, which should help with the flicker. However, since I couldn't reproduce it, I can't confirm. Can you let me know if you're still seeing it? You may want to try clearing your browser cache if you are.
@alecpm I can confirm that the flickering is gone in FF! If you think this is ready to merge and deploy to production, then so do I.
@paregorios I forgot about Firefox. Not seeing flicker on 106.0.3 (64-bit) with the current implementation.
yep, it's all good
FWIW, I implemented the :active
styling as a white background for now. The change from the default background to white is probably too subtle for WCAG, but I'm not sure what's best here.
My sense is that we have enough indicia in the form of the cursor and the underlined title and the blue box around the tile that we meet WCAG for "two indicators"
@paregorios Good for production then? In that case, I'll merge it and start work on #449 based on this.
Merge it!
@alecpm I am attempting to test this functionality on production at https://isaw.nyu.edu/skunkworks/financial-resources, but I do not see the new display listing available on the actions menu. This is after fully dumping cache in my browser and performing a new login.
Needed to run an upgrade step. Done.
Perfect!
As a user with appropriate permissions I will be able to apply a new "tiled view (alt)" that works exactly like the current "tiled view" except: