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

copy/duplicate header #894

Open
schoettl opened this issue Aug 19, 2022 · 2 comments
Open

copy/duplicate header #894

schoettl opened this issue Aug 19, 2022 · 2 comments

Comments

@schoettl
Copy link
Collaborator

I'm trying again to use organice in our company for production planning using orgmode exporter ox-taskjuggler.el to generate Gantt and resource diagrams. New orders are automatically added to the org file and we can use organice to manage the file.

grafik

For this, I need a method to "split" an order if it is produced in two batches.

I'm thinking of a "duplicate" or "copy" button in the header toolbar. This way, the task (=header) is duplicated with same order number and customer information and I can sort the copies as sub tasks into different production batches.

Do you think this duplicate function would be general useful? Or can it be combined with the "+" button somehow? Long-press (hidden functionality)?

I think adding a dedicated "copy" icon to the toolbar may be best.

@schoettl
Copy link
Collaborator Author

Another option would be a "copy" checkbox in the refile menu (org-refile-copy). The disadvantages of this way for my use case would be

  • not as easy to reach
  • the copy will appear at a different place, not right below the original header

But if I'd go that way, another option in the refile function for prepend vs. append would be helpful.

And a copy button could still be added and reuse the refile function.

Any comments?

@munen
Copy link
Collaborator

munen commented Oct 21, 2022

Thank you for pinging on this issue, again 🙏 First, kudos to using organice i production 💪 💯

I can relate to wanting copy functionality. Personally, I also have templates for various things that I regularly copy and populate with new data. Some of those templates, I even keep in the spot where the new populated version should be, so our use cases are very similar. So, since it's two people speaking and both understanding the requirements, it's definitively something that is generally useful(; Well, at least it is to us^^

As for the UX, I'm a bit torn. I understand that another button would be good as it appears as a simple option. However, that re-opens the whole UX debate of how we can add more functionality to a header. I'd argue that we're on the limit for the maximum number of buttons per header. I don't have the smallest phone, but adding another button would squish the existing ones a uncomfortably close together.

Since the discussion on how to tackle that issue is not resolved, I like your two alternative suggestions! Long press would work for me. Would be a first in organice, though. I have no experience how well that would work across platforms. There's certainly someone on the web that has researched this properly, though. Alternatively, we could also go with the refile option. It feels less composable, though, as it would do two things at once (copy + refile).

Would 'long press' work for you, assuming that there's a good way to make this work across platforms?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants