server icon indicating copy to clipboard operation
server copied to clipboard

Define "standard" login app for each user

Open hitam4450 opened this issue 10 years ago • 16 comments

User in a large corporate environment like to define their "own" standard login app ! E.G. Sales people might prefer the calendar app, others contacts or documents.

It should be advisable to enable each user to define its own "login appp".

I already discussed this issue with julius haertl to be possibly included in direct menu (as well ????) https://github.com/juliushaertl/apporder/issues/10#issuecomment-221225725 regards, hitam4450

hitam4450 avatar Jun 16 '16 10:06 hitam4450

I've already thought about integrating this into Nextcloud.

Is there any interest in integrating the app sorting feature as well into Nextcloud? I could try to implement this next week and prepare a pull request. If the app order is custom per user, we could simply use the first app as the default login app. Otherwise we would need an additional user interface for setting the default login app.

@jancborchardt closed the app sorting feature request in https://github.com/owncloud/core/issues/10654 , because of the potential for breakage. Do you still see an issue there?

juliusknorr avatar Jun 16 '16 10:06 juliusknorr

I think there are two ideas here:

  • @hitam4450 wants an admin defined app that loads after the login
  • @juliushaertl proposes a feature to reorder the app menu and then based on this load the very first app on login

Or am I wrong?

cc @nextcloud/designers for the UX design

MorrisJobke avatar Jun 16 '16 10:06 MorrisJobke

Right, these are two features. Just added the idea of app sorting, because it was previously requested by @hitam4450 in https://github.com/juliushaertl/apporder (this app implements the sorting feature, but it is kind of a hacky approach)

juliusknorr avatar Jun 16 '16 11:06 juliusknorr

There is a way simpler solution to this than needing to have manual sorting:

Just save the last open app and open that again. This also gives you a sense of context and remembers where you left off.

jancborchardt avatar Jun 16 '16 12:06 jancborchardt

@janborchardt that sounds like a very "smart" implementation.......

hitam4450 avatar Jun 16 '16 12:06 hitam4450

Just save the last open app and open that again.

Only if this behaviour is optional. The original idea in the OP is a better one.

oparoz avatar Jun 16 '16 13:06 oparoz

I got to say I don't really like this feature, it adds more logic for a very small purpose. People could also just directly bookmark /apps/calendar or so.

LukasReschke avatar Jun 16 '16 13:06 LukasReschke

Very true.

oparoz avatar Jun 16 '16 13:06 oparoz

It seems like it is already possible to set a default landing page for all users:

https://github.com/nextcloud/server/blob/ff0dda9412403a370f98504ae722d31b24682971/lib/private/legacy/util.php#L1048

The landing page can be set with occ. I guess this could be added to the documentation somewhere: sudo -u www-data ./occ config:app:set core defaultpage --value 'index.php/apps/contacts/'

In my opinion this is enough, I just haven't found this without digging into the code.

Just in case we want to extend this: How about adding a check for a user preference inside getDefaultPageUrl(), so that user configuration can override the core app value. This way apps like AppOrder could implement a GUI for setting default pages and the additional logic in Nextcloud would be rather small.

juliusknorr avatar Jun 16 '16 14:06 juliusknorr

I don’t mind either way – not having it or just remembering the last used app.

But both 1) settings a custom start app and 2) setting a whole custom app order – are completely overkill to fix this. With remembering the last used app I was merely suggesting something we should do anyway which could also nicely take care of this.

jancborchardt avatar Jun 16 '16 17:06 jancborchardt

You can also get the default app in the /config/config.php file. This is a global parameter: 'defaultapp' => 'files',

williambargentball avatar Jun 16 '16 17:06 williambargentball

You can also get the default app in the /config/config.php file.

Yes. This is there since ages. And it works.

MorrisJobke avatar Jun 16 '16 21:06 MorrisJobke

However, not "every user" does have access to the config.php. In my case "1 user , 1 admin" this is Ok! However in an environment with .e.g. a couple of hundred user, the admin probably will ge annoyed to change the "deafult app at login" for each user ...almost every day". Defining the "last open app" before logout .. be the "login app" at the next login.. (on a per user basis) would be a nice solution, without fiddling with new interface!

regards, hitam4450

@MorrisJobke: This is only a "global" solution " !

hitam4450 avatar Jun 17 '16 09:06 hitam4450

@MorrisJobke: This is only a "global" solution " !

I know. This was also just meant as a global solution to have one app for each user of an instance that shows up on login

MorrisJobke avatar Jun 17 '16 13:06 MorrisJobke

I'm closing this issue due to inactivity. Please reopen if you still want to implement this.

szaimen avatar May 21 '21 12:05 szaimen

The dashboard apps is now serving this purpose giving an overview of the last info (e.g. calendar, recently changed files, ..)

CarlSchwan avatar Sep 01 '22 12:09 CarlSchwan