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

[needs-docs][processing] move providers actions into the processing panel toolbar #6150

Merged
merged 1 commit into from
Jan 24, 2018

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Jan 24, 2018

Description

Now that we have a toolbar in our processing panel, it's time we (finally) move provider actions out of the algorithms tree.

This PR moves the provider actions into dedicated toolbar buttons:
screenshot from 2018-01-24 11-35-32

IMHO, this makes a lot more sense. First, those actions were not algorithms to begin with, and second, it increases the visibility of those actions, which includes the creation of modes and scripts as well as access to online collections.

Checklist

Reviewing is a process done by project maintainers, mostly on a volunteer basis. We try to keep the overhead as small as possible and appreciate if you help us to do so by completing the following items. Feel free to ask in a comment if you have troubles with any of them.

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include fixes #11111 in the commit message next to the description
  • Commits which add new features are tagged with [FEATURE] in the commit message
  • Commits which change the UI or existing user workflows are tagged with [needs-docs] in the commit message and containt sufficient information in the commit message to be documented
  • I have read the QGIS Coding Standards and this PR complies with them
  • This PR passes all existing unit tests (test results will be reported by travis-ci after opening this PR)
  • New unit tests have been added for core changes
  • I have run the scripts/prepare-commit.sh script before each commit

@@ -149,19 +149,6 @@ def _filterItem(self, item, text):
show = (showChild or show) and item not in list(self.disabledProviderItems.values())
item.setHidden(not show)
return show
elif isinstance(item, (TreeAlgorithmItem, TreeActionItem)):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this still needed for TreeAlgorithmItem?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups.

@nirvn
Copy link
Contributor Author

nirvn commented Jan 24, 2018

@nyalldawson , comment addressed.

@nirvn
Copy link
Contributor Author

nirvn commented Jan 24, 2018

@alexbruy , are you OK with this change?

@alexbruy
Copy link
Contributor

Looks good to me.

@nirvn nirvn merged commit c5d9830 into qgis:master Jan 24, 2018
@slarosa
Copy link
Member

slarosa commented Jan 24, 2018

Hi @nirvn thanks for these improvements!
I am seeing an odd issue on toolbar by adding a script (maybe model too) with Add script from fileaction, the Script tool button appears duplicated (see image) just after that action. Could you take a look at it? I am not sure if this is a specific macOS issue.

schermata 2018-01-24 alle 17 22 25

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.

4 participants