Comments (3)
Ok, I'll keep it in mind for next time I work on the app. Since it's an improvement and not a bug, it'll probably take a while until I do it myself because I'm focused on other things now. If anyone wants to work on this I'm open to PRs. I think it shouldn't be too difficult to achieve, so I'll be adding the "good first issue" label.
from umai.
Hey, thanks for the idea.
I like it, but I'm not sure about the UX implications. This is the feature in Trello you're talking about, right? Importing checklist items. It seems like their approach is to use newlines as separation and they automatically create different items in the list. But I'm not sure how well that would work for Umai.
For ingredients, I think it could work. Newlines would create separate ingredients; and the implication is that you wouldn't be able to have newlines within ingredients (I'm fine with that).
But instructions are more tricky. It's not uncommon to have line breaks within the same instruction step. Maybe I can look for two or more empty lines in a row, or markdown-style list items (like having a -
, *
, +
, or {number}.
at the beginning). However, even those could give some false positives, so I think I would only do that when creating new steps (and maybe show a notification explaining what happened). But I wouldn't enable this behaviour to edit existing steps.
Maybe to be consistent, this could also happen only for creating new ingredients, not editing.
What do you think?
from umai.
Hi Noel, I Understand your concerns, did not think about intentional new lines. Yet I think it is easier to merge to items that have been split by accident than it is to copy over every single item manually.
I am ok witj the idea of supporting this only for new items. Usually if you copy over a whole list there is no item yet. I imagine one won't write one or two items and then copy over a list. It's either manual typing everything or copy-pasting everything
from umai.
Related Issues (18)
- Beta Feedback HOT 18
- SoukaiError: Error creating container at https://little-ducky.solidcommunity.net/cookbook/, returned 500 status code HOT 4
- Support ACP HOT 1
- Print to PDF? HOT 3
- ESS Support HOT 5
- Allow to share recipe containers with viewer HOT 1
- Error with Chinese title HOT 6
- Updated images don't use recipe permissions HOT 1
- Error: Can't create type index without a writable profile document HOT 6
- Error: https://dietercasier.solidcommunity.net/profile/card#me is not a valid webId. HOT 5
- Image Upload Button is blocked by long title on mobile HOT 1
- "Back to cookbook" navigates to authorization page HOT 2
- Configurability through uri
- Character encodings in import HOT 1
- Direct link to recipe could offer user to login HOT 1
- Metadata on recipe container? HOT 5
- Fix links in viewer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umai.