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

Update, migrate, improve log help links #10042

Open
niloc132 opened this issue Nov 11, 2024 · 0 comments
Open

Update, migrate, improve log help links #10042

niloc132 opened this issue Nov 11, 2024 · 0 comments

Comments

@niloc132
Copy link
Contributor

GWT version: 2.12 and below
Browser (with version): any
Operating System: any


Description

GWT's TreeLogger class is used in the compiler, and in Generators and Linkers, allowing library/framework code to also meaningfully contribute to log output. Usually, calls to the logger only use the log(Type, String) overload, but technically other overloads exist, including one that can provide an isntance of com.google.gwt.core.ext.TreeLogger.HelpInfo. This class is effectively just a wrapper around a URL.

There aren't many usages of this either, and most are out of date - in fact I didn't even remember that this feature existed until I was trying to clean up other usages of com.google.gwt.util.tools.Utility (which by its package should mostly be used in other cli tools? but instead is used in linkers, HelpInfo, and other assorted places).

Existing usages:

Past releases had at least one other:

  • If GWT was found to be out of date, a link to release notes... with a null URL.

Proposed steps:

  • Create a directory specifically for "gwt-dev-help" in gwt-site, and create files there for help options as they are updated/created. Consider adding an anchor or queryparam including the GWT version, so that an anchor/etc can be added to the page with specifics for older versions (as the website might get updates as features change/improve) - this is the sort of feature we can't go back and add later when it matters.
  • Deprecate and replace InstalledHelpInfo with "GwtprojectHelpInfo".
  • Migrate and update existing help text documents, fixing details that are no longer helpful, adding references to other pages.
  • Consider adding new documents, dealing with jsinterop, regressions, reporting bugs when they are found, etc.
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

No branches or pull requests

1 participant