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

Browser dashboard widget #2918

Conversation

ma4nn
Copy link
Contributor

@ma4nn ma4nn commented Jul 18, 2022

This PR creates a new dashboard widget for simply integrating websites.
JavaScript is disabled in the browser for security reasons (to be discussed).

The widget can be used e.g. for adding news headlines or other external information (charts, data, etc.) to the dashboard. It could also be a way to develop additional (HTML) dashboard components that do not need to be implemented as Java code.

@buchen
Copy link
Member

buchen commented Aug 6, 2022

Nice idea.

It could also be a way to develop additional (HTML) dashboard components that do not need to be implemented as Java code.

The browser widget works good on macOS, okay on Windows, and not very good on Linux.
For the pie charts, I am using the browser component. Because it often does not work on Linux (and the charts just remain blank), there is an alternative pie chart implementation for Linux.

For some time, I was hoping for the Chromium SWT component. The intention was to embed Chromium into SWT. That way I could have delivered the same browser including the native binaries on all platforms. Unfortunately, the Chromium component was always only beta and eventually was removed from SWT again.

I am okay to having the browser widget. It is an optional component. But for now I do not intend to implement more widgets as HTML unless there is a stable solution for all platforms.

buchen pushed a commit that referenced this pull request Aug 6, 2022
Issue: #2918
Signed-off-by: Christoph Massmann <chris@dev-investor.de>
[squashed commits; rebased to master]
Signed-off-by: Andreas Buchen <andreas.buchen@gmail.com>
@buchen
Copy link
Member

buchen commented Aug 6, 2022

rebased, squashed, merged

@buchen buchen closed this Aug 6, 2022
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.

None yet

2 participants