server icon indicating copy to clipboard operation
server copied to clipboard

Assign managers to users and map value in the system address book

Open ChristophWurst opened this issue 2 years ago • 7 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.

As an organization admin I want to be able to define the hierarchy of the organization inside of Nextcloud. This info shall be used to enhance the system address book (https://github.com/nextcloud/server/issues/19575) so that an organization chart can be drawn in the Contacts app (https://github.com/nextcloud/contacts/pull/2726).

Describe the solution you'd like

Extend the user management UI to have a dropdown for a user's manager. This can be any other Nextcloud user or nobody.

Describe alternatives you've considered

N/a

Additional context

https://github.com/nextcloud/server/issues/37800

ChristophWurst avatar Apr 28 '23 10:04 ChristophWurst

@jancborchardt @nimishavijay could you describe where in the UI we should place this?

Bildschirmfoto vom 2023-05-02 08-11-56 Bildschirmfoto vom 2023-05-02 08-11-59

ChristophWurst avatar May 02 '23 06:05 ChristophWurst

I'm looking into the backend storage of the new manager(s) property for users

ChristophWurst avatar May 02 '23 06:05 ChristophWurst

@jancborchardt @nimishavijay could you describe where in the UI we should place this?

It seems fine as the very last property on the right (even behind the optional ones like last login etc.).

jancborchardt avatar May 02 '23 10:05 jancborchardt

@hamza221 please post a screenshot of the select component placed as last property so we can have a short design feedback loop

ChristophWurst avatar May 03 '23 06:05 ChristophWurst

image image

hamza221 avatar May 03 '23 08:05 hamza221

Placement of the column is great :) However, could the width of the other columns as well as the headers be adjusted so that everything in one column including the header is left aligned? The contents of each column should also not spill over into the next. For example, the quota extends into the region for manager, and so does email.

nimishavijay avatar May 03 '23 18:05 nimishavijay

I posted the final result in the Pr and forgot to repost it here mb 🥲 image image

hamza221 avatar May 03 '23 18:05 hamza221