David Cook

Results 433 comments of David Cook

We are now using the "search" Stimulus controller (`search_controller.js`) which has already been built to help manage column sorting. This helps maintain the other filters (search, producer, category) when reloading...

## Estimate 1. Select dropdown shows search where more than 10 items 2. Add dropdown for each. **

Good pickup Ahmed. This is because we have another piece of work happening in parallel: https://github.com/openfoodfoundation/openfoodnetwork/issues/9069 This involved moving those two attributes from the product, to the variant. So what...

## Estimate 1. Add column menu viewcomponent. Consider copying markup from `columns_dropdown.html.haml` as a starting point. Consider subclass of modal. But probably not. 2. Add JS controller to component, to...

Just pointing out that we are currently considering an alternative to StimulusReflex, so the second part of this (scenarios 7,8,9) will need further discussion.

> @mariocarabotta to update, remove button and have autosave. From memory, this is preferred because it's easier for the user, it's one less click. And it doesn't matter if they...

Thanks all. I suggest that we investigate if it's very easy to reuse the existing (Angular) component on this page. If it is easy, let's do that for the first...

I'm going to try the spike now to see which path to take.

Ok, I got a proof of concept going. It's actually not too bad, although there's a slight delay after page load before the preferred columns are shown/hidden. Remaining: 1. need...

**Question: Do we want to keep user column preferences from the old screen and bring them to the new screen?** So far, I've built it so that the preferences from...