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

Bring new template file creation to public share links #48064

Open
juliusknorr opened this issue Sep 16, 2024 · 1 comment
Open

Bring new template file creation to public share links #48064

juliusknorr opened this issue Sep 16, 2024 · 1 comment

Comments

@juliusknorr
Copy link
Member

juliusknorr commented Sep 16, 2024

With the merge of #45652 we noticed that text and office no longer support creating new files as a legacy files plugin was used to extend the new files menu. While we could implement this in each app using addNewFileMenuEntry we would duplicate lots of efforts in implementing the modal to pick the name and handle file creation.

Instead it would be better if we'd extend the existing backend mechanism to create new files from templates to also work on public pages. In that each app just registers a TemplateFileCreator that will then be picked up by the files app with a list of available templates and show the file name picker and template picker.

As discussed with @elzody

cc @mejo- @max-nextcloud as text is also affected

Would resolve nextcloud/richdocuments#3170

@juliusknorr juliusknorr added bug 1. to develop Accepted and waiting to be taken care of regression labels Sep 16, 2024
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Sep 16, 2024
@juliusknorr juliusknorr moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Office team Sep 16, 2024
@max-nextcloud
Copy link
Contributor

Sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📄 To do (~10 entries)
Development

No branches or pull requests

3 participants