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

Reusable WebBrowser Component #413

Open
4 tasks
theduke opened this issue Jan 23, 2024 · 1 comment
Open
4 tasks

Reusable WebBrowser Component #413

theduke opened this issue Jan 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@theduke
Copy link

theduke commented Jan 23, 2024

Implement a reusable WebBrowser component.

The component should use the WASIX networking layer to fetch HTTP responses through virtual-net (see #412), and then display the responses as actual HTML.

To be framework agnostic, this could be implemented as a web component.

One main challenge here is that this needs to use an actual HTTP client to do requests and parse responses.
We will probably want to write the whole component in Rust so it can use hyper as the http client.
Alternatively we could just implement the client itself in Rust, and have a fetch export that allows doing http requests in the internal network from JS.

There is a wide set of features we could implement here.
How much of this should be included in the initial implementation must be discussed.

Potential features:

  • Integrate with browser history by persisting the nested URL in the main url (subpath, as a query param, ...)
  • Integrate with browser history back/forward
  • Add a nested URL bar
  • Loading indicator
@theduke theduke added the enhancement New feature or request label Jan 23, 2024
Copy link

linear bot commented Jan 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant