-
Notifications
You must be signed in to change notification settings - Fork 115
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
Modernized help UI prototype: Fix set scope still set after deletion #735
Conversation
@howlger Do you intent to make the new one default or at least have a UI preference to be able to switch to it ? |
Active help is not yet supported. Should that be done first or should we already add a checkbox to enable the modernized help UI first? The test failure on Windows does not seem to me to be related to this change. |
Being able to switch to it even without active help would be beneficial.
|
By the way I don't know how active help is implemented but I have created a while back This would allow some more active features (not only in help) to be performed when interacting with the "host code" as then one can implement some rest-like api to interact with the embedding code using JS in the browser. |
So in the given "Active Help Example" there is currently a link "Open a cheatsheet" if I click on this I get a feedback that I need to run this "local" (whatever this should mean). With AJAX intercept, the code could b rewritten:
|
@laeubi Thanks for the link. Currently, the modernized help UI sits on top of the legacy help. Things like displaying search results, which should be better done on server side, are currently done via JavaScript in the web browser. The active help does not yet work because it is bound to the HTML frameset structure of the legacy help. It's probably easy to fix, but it's not done yet. See the modernized help UI e.g. here vs. deactivated with the parameter
The active help works only in Eclipse or in an Eclipse-based application, accessible via Help > Help Contents, not in the stand-alone Information Center (e.g. help.eclipse.org). The idea is to provide links to open a specific dialog or to execute other commands. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to understand & review the change, another change is needed first, see my comment in code.
Refactor JavaScript code for better readability. No functional changes. See also eclipse-platform#735 (review)
Refactor JavaScript code for better readability. No functional changes. See also eclipse-platform#735 (review)
Refactor JavaScript code for better readability. No functional changes. See also eclipse-platform#735 (review)
Refactor JavaScript code for better readability. No functional changes. See also eclipse-platform#735 (review)
Refactor JavaScript code for better readability. No functional changes. See also #735 (review)
Fix the issue that a set scope will still be shown as active after it has been deleted.
Danke Holger, sorry ist bei mir leider untergegangen. |
Thanks for reviewing and merging. It would also have been up to me to ask. Hopefully I will soon find some time to work on what @akurtakov says. |
Fix the issue that a set scope will still be shown as active after it has been deleted.