nanawel / our-shopping-list

OSL is a simple shared list web-application based on Node and VueJS. Typical uses include shopping lists of course, and any other small todo-list that needs to be used collaboratively.
GNU Affero General Public License v3.0
82 stars 8 forks source link

Allow custom sorting #8

Closed koeberlue closed 1 year ago

koeberlue commented 1 year ago

User story

As someone going shopping I would like to sort the shopping list manually to pre-plan my shopping trip and prevent scrolling through the list while shopping.

Background

When I create a shopping list I tend to order all entries by the approximate order I will find them in the store. So for example our local ALDI has the vegetables near the entry and dairies closer to the exit. I would then like to order my list like this:

  • zucchini
  • carrots
  • milk
  • butter
nanawel commented 1 year ago

Hi @koeberlue and thanks for your proposal.

I understand yout need but I'm not sure it can be addressed in an easy way. You're saying you don't want to be "scrolling through the list while shopping", but even it's not ideal, searching an item to check it is also possible (using the search box on the bottom).

The way lists are implemented is a "fake" scroll actually, to prevent loading too much items on the page even if only a tiny part is visible. It makes reordering quite complicated to fit your needs.

sabamimi commented 1 year ago

Hello there, First let me say "Bravo, c'est une application très facile à prendre en main". I do second this request to add various sorting list options. I understand the manual sorting list request above and I would like to extend the sorting option to creation date enabling the list to be presented "as created" . ...encore bravo et merci

nanawel commented 1 year ago

Closing this proposal for now. I would be glad to review PR if there are of course. Sorry :confused:

vargylet commented 5 months ago

This is exactly what my partner and I are missing too. Love the app, though! 😊

nanawel commented 5 months ago

It's not exactly the solution you're hoping for, but if you really want to group items together, you can use prefixes. I know, it's to ideal, and using prefixes like "00" "10" "20" or "aa" "bb", etc. is a mess. But you also have emojis on your keyboard now!

Imagine this:

The idea is to choose a fixed emoji for a category, and then use it as a prefix for corresponding items. I can't guarantee they will be in the right order though, but at least they will be grouped.

sabamimi commented 5 months ago

Nice work around, I will use it !

On Fri, Feb 23, 2024 at 7:59 AM Anaël Ollier @.***> wrote:

It's not exactly the solution you're hoping for, but if you really want to group items together, you can use prefixes. I know, it's to ideal, and using prefixes like "00" "10" "20" or "aa" "bb", etc. is a mess. But you also have emojis on your keyboard now!

Imagine this:

  • 🥦 carrots
  • 🥦 zucchini
  • 🍎 apples
  • 🍎 bananas
  • 🐮 butter
  • 🐮 milk

The idea is to choose a fixed emoji for a category, and then use it as a prefix for corresponding items. I can't guarantee they will be in the right order though, but at least they will be grouped.

— Reply to this email directly, view it on GitHub https://github.com/nanawel/our-shopping-list/issues/8#issuecomment-1960820379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADT6XJMD7735HW4JRULILFLYVA44NAVCNFSM6AAAAAASH2LYWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQHAZDAMZXHE . You are receiving this because you commented.Message ID: @.***>