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

Add a global setting to set a mapbox access token #7849

Closed
Tracked by #7877
abey79 opened this issue Oct 21, 2024 · 1 comment · Fixed by #8001
Closed
Tracked by #7877

Add a global setting to set a mapbox access token #7849

abey79 opened this issue Oct 21, 2024 · 1 comment · Fixed by #8001
Labels
feat-map-view Everything related to the map view ui concerns graphical user interface

Comments

@abey79
Copy link
Member

abey79 commented Oct 21, 2024

#6561 adds a new map view to rerun. In order to enable mapbox as background, a mapbox token must be provided. Initially, it's done via the RERUN_MAPBOX_ACCESS_TOKEN, but that setting should be editable from the UI and persisted with the rest of the app settings.

@abey79 abey79 added ui concerns graphical user interface feat-map-view Everything related to the map view labels Oct 21, 2024
@tfoldi
Copy link
Contributor

tfoldi commented Oct 21, 2024

it is not just a Mapbox token; we can easily add Google Bing, or other map providers - most need tokens for access. (I believe what you eventually need is some sort of centralized secret management.)

abey79 added a commit that referenced this issue Nov 6, 2024
### What

This PR:
- removes the `Options` submenu and replace it with a full-window
"Settings" screen
- moves the `Restart with WebGPU/WebGL` menu item to the top-level in
the rerun menu (wasm only)
- add a field for the Mapbox access token in the settings
- fixes #7849



<img width="1265" alt="image"
src="https://github.com/user-attachments/assets/f55ce903-d1e9-4cb1-b229-512c8958a5e5">

<br/><br/>

Web viewer:

<img width="246" alt="image"
src="https://github.com/user-attachments/assets/c7d53cf0-00d2-41de-8ddd-9a19b7143834">



### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/8001?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/8001?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!
* [x] If have noted any breaking changes to the log API in
`CHANGELOG.md` and the migration guide

- [PR Build Summary](https://build.rerun.io/pr/8001)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat-map-view Everything related to the map view ui concerns graphical user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants