-
Notifications
You must be signed in to change notification settings - Fork 228
Implement search-by-category for Import/Export wizard #2602
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
Conversation
This adapts the WizardPatternFilter to also show the wizards, if the search string matches one of its containing categories. Amends 532c0fb Fixes eclipse-platform#2576
|
LGTM, tested it and works perfectly. |
|
Example: Note that there is a special implementation for the content provider which flattens categories with only a single child: This behavior is intentional, but whether it's a "good" behavior is a different question... Lines 49 to 52 in 1876695
|
So you suggest to remove this flattening? |
That would be my preference because the current behavior is not very intuitive. A I found it confusion when However, this has been the behavior for over 20 years without any complaints. So I don't think the current behavior is wrong and if it is changed, then only as part of a separate commit. |
I agree that we should remove this special treatment, I think consistent behavior is the UI is important. As you already into the code, please provide a separate PR for this adjustment. |
|
Linux builds seem to fail always unrelated to the actual change so I will assume that this is not related to this particular change. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-apitools-plugin:4.0.10:verify (verify) on project org.eclipse.ui.views.properties.tabbed: Execute ApiApplication failed |
|
Linux build issue reported here: #2603 |
Test Results 1 214 files - 306 1 214 suites - 306 1h 21m 39s ⏱️ - 12m 0s For more details on these failures, see this check. Results for commit 50a19d6. ± Comparison against base commit 1876695. This pull request skips 5 tests. |
This removes the feature from the "New" and "Import/Export" wizards, where container for wizard elements would be flattened, if it only contains a single, other container. There are two reasons for this change: - it is not consistent with the other viewers, that always show the complete tree path (e.g. the preference dialog). - it doesn't work properly, as it is still possible to produce the undesirable behavior in the "New" wizard (for e.g. Java/JUnit/...) See eclipse-platform#2602 for context.
This removes the feature from the "New" and "Import/Export" wizards, where container for wizard elements would be flattened, if it only contains a single, other container. There are two reasons for this change: - it is not consistent with the other viewers, that always show the complete tree path (e.g. the preference dialog). - it doesn't work properly, as it is still possible to produce the undesirable behavior in the "New" wizard (for e.g. Java/JUnit/...) See eclipse-platform#2602 for context.
The builds really are flaky... 😦
|
|
The search test failure on Mac also seems unrelated, I checked them and I do not see the Wizard involved. Merging this one. |
This removes the feature from the "New" and "Import/Export" wizards, where container for wizard elements would be flattened, if it only contains a single, other container. There are two reasons for this change: - it is not consistent with the other viewers, that always show the complete tree path (e.g. the preference dialog). - it doesn't work properly, as it is still possible to produce the undesirable behavior in the "New" wizard (for e.g. Java/JUnit/...) See #2602 for context.
|
@ptziegler thanks, works great in todays I-Build. I think this is a notable feature, can you add it to N&N 4.5? I think the repo for this is: https://github.com/eclipse-platform/www.eclipse.org-eclipse?tab=readme-ov-file |
The "Show View" as well as the "Import" and "Export" wizards now support searching by category, rather than only by entry. eclipse-platform/eclipse.platform.ui#2576 eclipse-platform/eclipse.platform.ui#2579 eclipse-platform/eclipse.platform.ui#2602
The "Show View" as well as the "Import" and "Export" wizards now support filtering by category, rather than only by entry. eclipse-platform/eclipse.platform.ui#2576 eclipse-platform/eclipse.platform.ui#2579 eclipse-platform/eclipse.platform.ui#2602
The "Show View" as well as the "Import" and "Export" wizards now support filtering by category, rather than only by entry. eclipse-platform/eclipse.platform.ui#2576 eclipse-platform/eclipse.platform.ui#2579 eclipse-platform/eclipse.platform.ui#2602
The "Show View" as well as the "Import" and "Export" wizards now support filtering by category, rather than only by entry. eclipse-platform/eclipse.platform.ui#2576 eclipse-platform/eclipse.platform.ui#2579 eclipse-platform/eclipse.platform.ui#2602



This adapts the WizardPatternFilter to also show the wizards, if the search string matches one of its containing categories.
Amends 532c0fb
Fixes #2576