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

Implement a iface function for plugins to add actions to the new dashboard actions toolbar #5953

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jan 23, 2025

Screenshot time, look at the beautiful Ask AI button here:

image

As seen above, the PR allows for plugins to gently place themselves into the new dashboard actions toolbar. I've also resurrected the iface.addItemToMainMenuActionsToolbar() function as a deprecated method that now stands as an alias to addItemToDashboardActionsToolbar(). While plugins are still in their first year of existence, I guess it's not bad to avoid outright breaking things :)

@nirvn
Copy link
Member Author

nirvn commented Jan 23, 2025

(Cleaning up as we're ending towards the end of this development cycle :) )

@qfield-fairy
Copy link
Collaborator

@suricactus
Copy link
Collaborator

suricactus commented Jan 23, 2025

I spot a problem here: there is a bottom scrollbar if I am right. Can we avoid that? Or probably, can we remove some of the items from the topbar via a plugin?

@nirvn
Copy link
Member Author

nirvn commented Jan 23, 2025

@suricactus , it's not a problem, it's a feature, see this: #5938

@nirvn
Copy link
Member Author

nirvn commented Jan 26, 2025

@suricactus , OK to merge as is for now?

@suricactus
Copy link
Collaborator

I am 9k if you are ok. I am afraid the scrollbar will be confusing and hard to manage from user perspective - attempts to scroll will become taps and people open instruments by accident.

@nirvn
Copy link
Member Author

nirvn commented Jan 26, 2025

@suricactus , let's go for this now and adjust based on broader feedback from the overall redesign efforts.

@nirvn nirvn merged commit 319580b into master Jan 26, 2025
25 checks passed
@nirvn nirvn deleted the dashboard_plugins branch January 26, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants