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

Replace "Edit" by "Open" because opening locally does not necessarily mean "editing" (but simply "viewing") #36831

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jerome-Herbinet
Copy link
Member

@Jerome-Herbinet Jerome-Herbinet commented Feb 23, 2023

Signed-off-by: Jérôme Herbinet 33763786+Jerome-Herbinet@users.noreply.github.com

Fixes #37058

Summary

The term "edit" is too restrictive, as many file types are only "edited" in rare cases. E.g.: Videos, PDF documents, audio files, etc. Frank Karlitschek said at the Nextcloud Conf in Berlin that this local opening feature can work with any file whose MIME type is linked to software on the computer. Therefore, it is important to have a more general wording that is suitable for both viewing and editing.

2023-02-23_13-42

Checklist

@szaimen szaimen added the 3. to review Waiting for reviews label Feb 23, 2023
@szaimen szaimen added this to the Nextcloud 27 milestone Feb 23, 2023
@nimishavijay
Copy link
Member

It is true that you may not be able to edit it the entire time, so "open" may be more applicable generally. However, changing it to "open" runs the risk of the feature being underutilised as I would assume the main use case is to edit locally 🤔 What do you think @jancborchardt

This was referenced May 3, 2023
@blizzz blizzz mentioned this pull request May 17, 2023
@blizzz blizzz modified the milestones: Nextcloud 27, Nextcloud 28 May 23, 2023
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
@skjnldsv skjnldsv added 2. developing Work in progress design Design, UI, UX, etc. feature: files papercut Annoying recurring issue with possibly simple fix. and removed 3. to review Waiting for reviews labels Feb 23, 2024
@skjnldsv

This comment was marked as resolved.

@szaimen
Copy link
Contributor

szaimen commented Feb 27, 2024

I'd agree with thid change 👍
So Open locally is better imho.

@Jerome-Herbinet

This comment was marked as resolved.

@skjnldsv
Copy link
Member

Done @skjnldsv ! Do I need to rebase ?

Yes, as well as fixing tests
https://github.com/Jerome-Herbinet/server/blob/f65d549c862b30bfca2ad8dc84642fd7ac2c8c47/apps/files/src/actions/editLocallyAction.spec.ts#L37

@Jerome-Herbinet
Copy link
Member Author

Not sure to understand if there is a problem with that PR ? Something missing ?

This was referenced Jul 30, 2024
This was referenced Aug 5, 2024
@skjnldsv skjnldsv mentioned this pull request Aug 13, 2024
@skjnldsv skjnldsv closed this Aug 14, 2024
@skjnldsv skjnldsv removed this from the Nextcloud 30 milestone Aug 14, 2024
@jancborchardt
Copy link
Member

@skjnldsv "Open locally" was approved by design, could we not just merge this?

@joshtrichards joshtrichards reopened this Sep 15, 2024
@joshtrichards joshtrichards added this to the Nextcloud 31 milestone Sep 15, 2024
@joshtrichards joshtrichards added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 15, 2024
@joshtrichards joshtrichards changed the title Files : Replace "Edit" by "Open" because opening locally does not necessarily mean "editing" (but simply "viewing") Replace "Edit" by "Open" because opening locally does not necessarily mean "editing" (but simply "viewing") Sep 15, 2024
@skjnldsv
Copy link
Member

@Jerome-Herbinet please adjust your commits messages. You need to follow the conventional commits convention
I suggest something like fix: rename 'edit locally' to 'open locally'

Please also squash them together into one commit, there is no reason to split them ;)

The tests also needs adjusting, as mentioned above :)
https://github.com/nextcloud/server/actions/runs/10878943385/job/30182746981?pr=36831

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Replace "Edit" by "Open"

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews design Design, UI, UX, etc. feature: files papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Edit locally available even if user has no edit rights
7 participants