LauSam09 / collective

Collective is an application for storing and sharing a shopping list for a household with live-syncing capabilities.
MIT License
0 stars 0 forks source link

Add rich input for items #18

Open LauSam09 opened 3 years ago

LauSam09 commented 3 years ago

A first step could be adding a shortcut for selecting a category, e.g. typing carrots #veg would store carrots in the fruit & veg category.

This could be done simply using an input in which case this should fail gracefully but perhaps display a toast notification indicating a failure (e.g. for an unrecognised category). A more complex but visual method would be doing away with an input and highlighting with a pill when a category is recognised, similar to the screenshot below from todoist

Screenshot from 2020-12-28 15-49-34

An extension could be adding inline notes, e.g. carrots #veg -large bag

LauSam09 commented 3 years ago

Doing this properly would involve the contenteditable attribute which makes things a bit more complicated. Could potentially do a simplified version with a normal input however.