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

Web updates: parse other ui params, loading visual feedback, alert user on error, documentation #1738

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jo-chemla
Copy link
Contributor

Solves improvements of web url-param parsing listed in #1604 :

  • parse more url-params: axis, grid, fxaa, tone, ssao, ambient, up
  • Visual feedback for download via progress bar from bulma
  • Alert user when provided model url yields error
  • Document in web readme

…up` (in addition to `model, extension`)

These url params are now parsed:
`#axis=false&grid=false&fxaa=false&tone=false&ssao=false&ambient=false&up=+Y`

sad thing is options.toggle requires knowing the param state beforehand, rather than setting it explicitly
@Meakk
Copy link
Contributor

Meakk commented Nov 27, 2024

Awesome! I'll try that locally as soon as I can.

@Meakk
Copy link
Contributor

Meakk commented Nov 27, 2024

Here's my feedback:
It seems to work fine when loading the URL with all options set 👍, however when options are edited several times in the URL input, it seems broken. Maybe a render() is missing? Or the browser cache is causing issues?
Also, I cannot see the progress bar.

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.

2 participants