Comments (8)
In GitLab by @azul on Aug 6, 2020, 09:17
https://goodui.org/#8 recommends offering undo over asking for confirmation:
Imagine that you just pressed an action button or link. Undos respect the initial human intent by allowing the action to happen smoothly first and foremost. Prompts on the other hand suggest to the user that he or she does not know what they are doing by questioning their intent at all times. I would assume that most of the time human actions are intended and only in small situations are they accidental.
Deleting the page currently moves it to the files app trash. So there kind of is an undo mechanism already. We just do not expose it in the ui.
I can imagine different ways of offering undo:
- adding an undo button to the "Page was deleted" success message
- greying out the entry and adding an restore button to it
- adding a trash to the list of pages
They would last for different timespans. The undo button in the dialoge is gone once you click away the dialogue. The greyed out entry would disappear once you reload the page. The trash could be shown as long as there are pages in the trash.
Implementing the trash seems more complex then the first two options.
from collectives.
Thanks for your feedback @marinkaltani, much appreciated! We're currently working on a collective-wide trashbin for deleted pages.
from collectives.
In GitLab by @azul on Aug 6, 2020, 09:19
@mejo- I changed this from a confirmation dialog to an undo / restore option. Would that work for you?
from collectives.
Mh, very interesting. Thanks a lot for double-checking UI changes for best practices before implementing them. 😊
I agree that an undo dialog would be even nicer.
After a first quick look into the (filesystem backend) mountpoint topic it might be that a whole lot of file app features (trash, version history, further sharing, ...) will not work out of the box anymore and need custom implementations. So I'd suggest to postpone a decision here until we got a better picture of the implications of planned backend changes.
from collectives.
In GitLab by @azul on Aug 6, 2020, 16:34
So I'd suggest to postpone a decision here until we got a better picture of the implications of planned backend changes.
Sounds good.
from collectives.
In GitLab by @azul on Aug 11, 2020, 21:43
marked this issue as related to #52
from collectives.
From design review call:
- Expandable page trash ("Deleted pages") at the bottom of the page list.
- Allow to open deleted pages read-only (but not edit/change them).
- Allow to drag&drop to/from deleted pages.
- Restore action in three-dot menu (will move page/subpages back to its original place)
from collectives.
Yesterday a colleague deleted the whole contents of a collective (leaving only the root Collective existing, but empty), because of a misteke in using his webdav Files client.
I was luckily able to spot it by checking the web server logs, where I found the recursive DELETEs. Otherwise I would have said it "misteriously disappeared".
As you know Collectives are available via Webdav for client side editing too (no Collectives UI is protecting them).
For this reason in my humble opinion a trashbin is an expected feature. Mistakes in deletion can happen without the user even being aware of it.
Alternatively, an option to decide wether or not Collectives may show up in Files should do.... not sure how many people really use them in Files or via webdav client. Even the page in Files is suggesting the user not to use it.
Hope this helps in your decisions.
Thanks and Regards
from collectives.
Related Issues (20)
- The buttons on the permanent deletion mode are unreadable
- Sorting pages per drag & drop broken
- Leaving a collective does not work HOT 1
- Sharing: password policy breaks using password protection HOT 13
- Text is doubled after opening a page in collectives HOT 23
- Internal links don't work with public shares
- Reuse an existing team HOT 4
- Class `CollectiveInfo` not found after update to v2.11.0 HOT 2
- Public shares are empty HOT 3
- Navigation bar and navigation bar toggle doesn't work since 2.11 HOT 1
- Responsive Writing not work HOT 2
- popup with link preview overlaps every exported page
- Link to File is not set correctly HOT 4
- Content previews don't work at all HOT 5
- Copying text from collective page copies it as markdown when text is expected HOT 3
- Links to Videos stored on Nextcloud broken after Update to NC 29 HOT 3
- Multi language (translation) support HOT 1
- Add option to display document structure by default HOT 1
- Add global option to open links in a new tab
- Create a mention @all to notify the current collectives
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 collectives.