Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar improvements #2556

Closed
JosefNemec opened this issue Oct 17, 2021 · 4 comments
Closed

Sidebar improvements #2556

JosefNemec opened this issue Oct 17, 2021 · 4 comments

Comments

@JosefNemec
Copy link
Owner

JosefNemec commented Oct 17, 2021

@bburky
Copy link
Contributor

bburky commented Oct 18, 2021

One more:

@bburky
Copy link
Contributor

bburky commented Oct 18, 2021

Also, it may make sense to unify some very similar actions like this in Playnite.

Currently an extension can place actions in:

  • main menu
  • top panel
  • sidebar
  • context menu (this one is per game, the others are global)

I wonder if a generic configuration mechanism could solve all of this? Allow extensions to register "actions", with an icon and text. Then have a settings pane to allow users to configure where (and if) they appear anywhere in the UI. You could even allow reconfiguring some of the built-in UI this way too.

And the settings can allow users to manually add things like "Software Tools", filter presets, or games to the list too.

Today a GameMenuItem or MainMenuItem can have a MenuSection. If these were all unified, and an "action"' with a submenu was assigned to a top panel button or sidebar, just have a context menu pop out on click. You could tweak the API to make MenuSection be a System.Windows.Controls.ContextMenu instance, but I'm not sure if you need to.

@JosefNemec
Copy link
Owner Author

I agree that this should be more generalized, I opened #2604 for it. Lets continue discussion there.

@JosefNemec
Copy link
Owner Author

I'm closing this, it basically overlaps with #2604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants