yeah so i ended up working more…
-
i finished up the transition to card view. i had a lot of trouble because i was putting the shrink/grow/basis tailwind classes in the
<article>tag within the<li>which meant that all the flexbox stuff wasn’t applying properly. 😅 -
i figured out how to get that ellipses text wrapping. for some reason i couldn’t get
overflow: hidden+whitespace: nowrapto work without completely breaking the flow of the page, butline-clampdid work! -
a bunch of miscellaneous work. added a no-JS warning to the
/searchpage, changed the tracked event for the initial search page preload and filtered so it was only mouse hovers, stricter pre-commit hook, font preload, and color changes. -
i need to work on the product pages next, but also i have been caught by scope creep.. i’ve decided that in the future i want to add auth and user/organization work and an actual database since now i want the project to become an inventory system itself. it makes sense UI wise and i’ll get to play with databases finally. for first ship though i’ll probably just use localStorage.
- since the attached recording i’ve added placeholder buttons for adding to favorites and the shopping cart… the favorites button is easy enough, it’s just a toggle, maybe some cute css animations, though whether the auth solution i end up (probably betterauth) supports it is a whole other story… the shopping cart is a different level of hard JS-less though especially since there’s not enough UI space to add a quantity amount. my plan for the interaction was that hover inactive would give the “Add to shopping cart” dialog, click inactive -> active opens up a quantity dialog, setting the quantity to 0 resets the buttom, and hover active brings up the quantity dialog again.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.