iTop icon indicating copy to clipboard operation
iTop copied to clipboard

configurable default favorite_orgs

Open annProg opened this issue 5 years ago • 9 comments

If iTop manage lots of Organizations, It will be inconvenient when switch organization at the left upper corner, this pr add default favorite_orgs through config file.

annProg avatar Oct 13 '20 13:10 annProg

Hello @annProg sorry for the very long delay... This will be discussed next week during the functional review to see if the feature itself will be accepted.

Regarding the technical aspect, we will most likely rather have an OQL query in the configuration than IDs, but we'll come back to you next week.

Cheers, Guillaume

Molkobain avatar Aug 02 '22 14:08 Molkobain

Hello annProg,

We discussed this during today's review and would like several changes for this to included in the upcoming iTop version:

  • Rename the conf. param. to user_preferences.default_favorite_organizations as we might tend to have a configurable default param for each user preference
  • Use an OQL instead of an array of IDs, this way we can configure default org to the current user customers for example, it will be very flexible.
  • Finally, with the current implementation a user won't be able to overide the default conf and show all orgs. To fix that, we would like you to add in the preferences page a switch button or radio button so the user can specify whether it wants to use the default conf (OQL should be displayed) or its own selection.

Thanks! Guillaume

Molkobain avatar Aug 09 '22 16:08 Molkobain

Hello @annProg , any update?

Molkobain avatar Nov 03 '22 08:11 Molkobain

Hello @annProg , any update?

Sorry for not updating for so long. My work and life have changed a lot recently. I can't go back to Beijing because of covid-19, and I don't have a PC for iTop development. It is expected that life will return to normal after I move out of Beijing at the end of this year. So, maybe close this PR, or wait until next year?

annProg avatar Nov 03 '22 09:11 annProg

@annProg you can mark it as draft if you still plan on working on it..

Hipska avatar Nov 03 '22 09:11 Hipska

@annProg you can mark it as draft if you still plan on working on it..

How to mark as draft?

annProg avatar Nov 03 '22 09:11 annProg

In the right column: image

Hipska avatar Nov 03 '22 09:11 Hipska

@Hipska done, thanks

annProg avatar Nov 03 '22 09:11 annProg

No problem @annProg , hope you are well :) Take care!

Molkobain avatar Nov 03 '22 09:11 Molkobain