Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: quantity input detection #20

Closed
taku-nm opened this issue Dec 22, 2023 · 5 comments
Closed

feat: quantity input detection #20

taku-nm opened this issue Dec 22, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@taku-nm
Copy link

taku-nm commented Dec 22, 2023

It would be sensible to allow for a sort of rich input detection using a specific syntax to detect quantity, avoiding the extra step of creating an entry only to then edit it.
I'd suggest something like
2x Toast
in order to create an entry called Toast with the quantity set to 2.

Ideally this would be a settings that one can enable on a per list or maybe per board basis.

@nanawel
Copy link
Owner

nanawel commented Dec 23, 2023

That could be handy indeed.
On the same topic, a user recently suggested that adding a new item could automatically open the "details" popin in order to set additional info without having to search and reopen the item that's just been created.

I guess both ideas are good but should be toggleable using configuration on a per instance level.

@nanawel nanawel added enhancement New feature or request good first issue Good for newcomers labels Dec 23, 2023
@nanawel
Copy link
Owner

nanawel commented Dec 23, 2023

Merry Xmas 🎅 You should be able to test this feature on https://dev.osl.lanterne-rouge.info/

If it's okay for you, I'll soon publish a 2.9.0 with it.

Note: I've also enabled the "open edit dialog on item creation" FYI.

@nanawel nanawel self-assigned this Dec 24, 2023
@taku-nm
Copy link
Author

taku-nm commented Dec 24, 2023

Merry Christmas! This looks very good but it would need an option to disable the automatic details pop-up. After all it's just adding another click which I certainly don't need given that it already detects the 2x format for quantity and I never use the details panel.

@nanawel
Copy link
Owner

nanawel commented Dec 24, 2023

Of course, each feature will be toggleable with the following variables:

  • VUE_APP_USE_ITEM_QUICK_SYNTAX (default: false)
  • VUE_APP_EDIT_ITEM_ON_CREATE (default: false)

@nanawel
Copy link
Owner

nanawel commented Dec 31, 2023

Released in 2.9.0.

@nanawel nanawel closed this as completed Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants