Giter Site home page Giter Site logo

Comments (14)

MariusBluem avatar MariusBluem commented on May 5, 2024 2

I think that could cause browser or os specific problems. Especially on mobile devices. I don't know whether we should introduce right- or double-click actions and menus 😕

cc @nextcloud/designers

from server.

BernhardPosselt avatar BernhardPosselt commented on May 5, 2024 2

No need to save it in the database at all ;)

Building, testing and maintaining the UI while keeping both designs consistent is the real challenge

from server.

jancborchardt avatar jancborchardt commented on May 5, 2024 2

Aah ok so I mean the right-cick thing we might be able to do, displaying the 3-dot-menu at the position of the cursor. @BernhardPosselt @MorrisJobke @Henni do you think this is doable?

from server.

jancborchardt avatar jancborchardt commented on May 5, 2024 2

But in the list there’s nothing to copy. If you really want to copy the filename, you can rename and then copy. Marking by dragging is not possible anyway because of drag&drop kicking in.

from server.

BernhardPosselt avatar BernhardPosselt commented on May 5, 2024 1

Sure you can maintain a mouse and a touch version where in the mouse version everything is delegated to a menu opened by a right click while the touch version has separate buttons.

Turns out maintaining two different interaction models is just very, very cumbersome. It's much easier to find the common ground and make it work well for both platforms.

from server.

jancborchardt avatar jancborchardt commented on May 5, 2024 1

As @Mar1u5 and @BernhardPosselt already mentioned, there are severe maintenance problems with it.

Apart from that, double-click is used nowhere in browsers and usually is used for marking text, so it will likely lead to issues. Also, neither double-click nor right-click is easily discoverable, so we should not use it.

from server.

jancborchardt avatar jancborchardt commented on May 5, 2024 1

After much deliberation I think it’s best to not even make right-click any part of Nextcloud. For a few simple reasons:

  • If it works in one place, people expect it to work everywhere.
  • We have to check a ton of menus to make them show on right-click. 3-dot menus in all different apps etc.
  • If it doesn’t work somewhere, people will be confused or frustrated.

It’s pretty much impossible to make sure all apps follow suit on this. For the little gain this gives us it’s not worth the risk at all.

from server.

maprambo avatar maprambo commented on May 5, 2024

I've thought of that. These users can still use the "three-dot-menu", can't they? I wouldn't remove the current menus.

from server.

maprambo avatar maprambo commented on May 5, 2024

Wouldn't it be possible to save all menu entries in one database and then specify where every entry should appear?

from server.

maprambo avatar maprambo commented on May 5, 2024

I just thought of the three-dot-menu to be displayed at the position of the mouse (same css class etc., but with all entries). I'm sorry, I think I'm too dumb to understand the problem here.

from server.

BernhardPosselt avatar BernhardPosselt commented on May 5, 2024

Won't this still break the context menu as in prevent you from copy text?

from server.

Bullnados avatar Bullnados commented on May 5, 2024

Something new here? I think the right click menu replace the standard browser right click menu, I'm right?
Little bit like the Dropbox Web-Interface

from server.

jasonbayton avatar jasonbayton commented on May 5, 2024

Adding some activity to this as I'd like to see right-click menus implemented 👍

from server.

jancborchardt avatar jancborchardt commented on May 5, 2024

This sounds like a good Javascript starter issue.

  • Step 1: on right-click of a row, toggle the actions menu
  • Step 2: show the actions menu at the place of the cursor

@jasonbayton @Bullnados @maprambo please let your programmer friends know of this issue if you want to push development. :) We are an open source project and everyone can contribute.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.