Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328007 - [sd90] Design user interface for new scanner discovery
Summary: [sd90] Design user interface for new scanner discovery
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Andrew Gvozdev CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on: 88402 279502
Blocks: 290631
  Show dependency tree
 
Reported: 2010-10-17 23:21 EDT by Andrew Gvozdev CLA
Modified: 2013-02-27 11:41 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gvozdev CLA 2010-10-17 23:21:40 EDT
There is a patch to define language settings providers via an extension point submitted in bug 325498. Need UI to manage settings and discovered entries for that.
Comment 1 Andrew Gvozdev CLA 2010-12-06 10:36:18 EST
This depends on the fate of patch bug 279502 comment 40 which is blocking the progress on this one.
Comment 2 Andrew Gvozdev CLA 2010-12-26 14:38:31 EST
I placed my git repository on GitHub https://github.com/angvoz/SD80. Use branch [sd80] from the git repository for the bleeding edge version with more advanced UI or [sd80.Patch#.CDT] for clean version intended for submission. See also http://wiki.eclipse.org/CDT/ScannerDiscovery61/API.
The branch for this bug is [sd80.Patch2.CDT]. It includes also the blocking changes bug 279502 comment 40.
Comment 3 Marc-André Laperle CLA 2011-01-07 01:16:25 EST
Hi Andrew, I tried the sd80 branch. The UI is nice! I have a couple of questions/comments.

I see the Providers tab in both "Paths and Symbols" and "Providers (under construction)" on the left side. Do you intend to keep both? Maybe a link from Paths and Symbols would be enough?

The "Configure/Show entries" button feels a bit weird IMO. It changes everything under tab when the button is clicked, maybe they should be two tabs at the top instead? Configuration and Entries?

I think I encountered small bugs using the UI. You probably know about them though!
-For GCC C++ Detector, when I checked "Use shared provider defined globally", it defaulted to "Activate on every build". But I couldn't change it in the workspace settings.
-Buttons not working, things not getting disabled when unchecked... probably all WIP :)
Comment 4 Andrew Gvozdev CLA 2011-01-07 10:30:17 EST
(In reply to comment #3)
> Hi Andrew, I tried the sd80 branch. The UI is nice! I have a couple of
> questions/comments.
Thanks, the feedback especially the critical one is very much appreciated.

> I see the Providers tab in both "Paths and Symbols" and "Providers (under
> construction)" on the left side. Do you intend to keep both? Maybe a link from
> Paths and Symbols would be enough?
One of them was to prepare for clean CDT patch. Actually, I got rid of it yesterday. sd80 has only one now (corresponding to more advanced "under constructon" one).

> The "Configure/Show entries" button feels a bit weird IMO. It changes everything
> under tab when the button is clicked, maybe they should be two tabs at the top
> instead? Configuration and Entries?
Do you feel it's weird? I am unsure what is the best UI here. We can try 2 tabs. Well, if there are 2 tabs maybe I should move them to separate property page, separate from Paths&Symbols? I was looking at it for so long I am afraid I lost judgment on the UI front.

> I think I encountered small bugs using the UI. You probably know about them
> though!
> -For GCC C++ Detector, when I checked "Use shared provider defined globally", it
> defaulted to "Activate on every build". But I couldn't change it in the
> workspace settings.
> -Buttons not working, things not getting disabled when unchecked... probably all
> WIP :)
Yeah, workspace preference page is unfinished WIP. Property page is in much better shape, it should function OK.
Comment 5 Andrew Gvozdev CLA 2011-01-08 01:08:30 EST
(In reply to comment #4)
> (In reply to comment #3)
> > The "Configure/Show entries" button feels a bit weird IMO. It changes
> everything
> > under tab when the button is clicked, maybe they should be two tabs at the top
> > instead? Configuration and Entries?
> Do you feel it's weird? I am unsure what is the best UI here. We can try 2 tabs.
> Well, if there are 2 tabs maybe I should move them to separate property page,
> separate from Paths&Symbols? I was looking at it for so long I am afraid I lost
> judgment on the UI front.
I put it into 2 tabs in separate page, want to see how it feels.
Comment 6 Andrew Gvozdev CLA 2012-05-02 00:12:12 EDT
Propagated current version of UI from sd90 to master. I suppose it's not ideal but on the other hand there shouldn't be much bugs. I'll do some improvements for Kepler, hopefully after some more feedback.
Comment 7 Marc-André Laperle CLA 2012-05-02 00:21:43 EDT
I'll try the new version, sorry I should have given you more feedback after my first comment.
Comment 8 Andrew Gvozdev CLA 2012-05-02 00:36:06 EDT
Maybe wait for bug 376592 which will plug providers into new project wizard. I should be able to dispose it in a couple of days.
Comment 9 CDT Genie CLA 2013-02-27 11:41:02 EST
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 328007: [sd90] Disablement of property pages depending on preference

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=5edeb05a5b0fd3f3d31b26f73262cd9ad3cc9e1f
Comment 10 CDT Genie CLA 2013-02-27 11:41:06 EST
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 328007: [sd90] Design user interface for new scanner discovery

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=2b5e3e6a20a411b4f000c0d9a4eb7a33813a628c
Comment 11 CDT Genie CLA 2013-02-27 11:41:08 EST
*** cdt git genie on behalf of Andrew Gvozdev ***

Merge: 5edeb05 0148ba9
    bug 328007: [sd90] Design user interface for new scanner discovery

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=bd0b8b5ea8244d1a07857d613026c7595f8490f2
Comment 12 CDT Genie CLA 2013-02-27 11:41:48 EST
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 328007: [sd90] Correction for "Restore Defaults"

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8bf2dc8d1d985a1ca433b357f83a2bcf0f222803
Comment 13 CDT Genie CLA 2013-02-27 11:41:50 EST
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 328007: [sd90] Decoration for non-existing providers

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=a45da7ed8a79a1b23741a9132f0ae06ddff74c12