Closed msjavan closed 4 years ago
Technically this should work, but I'm not sure about the best way to make it possible.
Right now a false-y category will make it default to "other" :thinking:
I've started working on a possible solution for this: https://github.com/os-js/osjs-panels/pull/31
What did you have in mind when enabling applications to show up on the root ?
Here's the thing though. An application should define a category. It's not just for UI reasons.
As I said, it falls back to "other" when nothing is defined.
So I'm thinking option number 2:
{
application: {
pinned: ['FileManager']
}
}
Or, seeing down the road option 1 might be best -- because then users can for example open a dialog (or the settings app) to set what apps they want to pin themselves.
But this could be combined with 2 making it a global and per-user basis.
I agree, It would be good to pin apps per-user basis.
I've implemented option 2.
I need to finish panel item settings persistence before being able to work in option 1.
I've just published @osjs/panels@3.0.21
that supports the following client option to pin applications globally:
{
application: {
pinned: ['FileManager']
}
}
@josephjeno You might have some use for this :)
@andersevenrud definitely!
having ability to add applications to main menu in addition to categories.
Edited by @andersevenrud