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

Allow changing browser hash from python side. #375

Closed
mturoci opened this issue Dec 10, 2020 · 2 comments
Closed

Allow changing browser hash from python side. #375

mturoci opened this issue Dec 10, 2020 · 2 comments
Labels
docs Documentation

Comments

@mturoci
Copy link
Collaborator

mturoci commented Dec 10, 2020

via @maxjeblick

Needs discussion: It might be worth to allow controlling browser hash from python SDK. E.g.:

q.args['#'] = 'new-hash'

cc @geomodular @lo5

@mturoci mturoci added ui Related to UI feature Feature request py Related to Python Driver labels Dec 10, 2020
@mtanco
Copy link
Contributor

mtanco commented Dec 10, 2020

this would be nice for things like tour where the hash nav gets "off" if you use the prev, next buttons

@lo5
Copy link
Member

lo5 commented Dec 15, 2020

You can use the meta card's redirect for this.
https://h2oai.github.io/wave/docs/examples/meta-redirect

page['meta'] = ui.meta_card(box='')

# Redirect to a hash.
page['meta'].redirect = '#widgets'
page.save()

We need a simpler wrapper API for this, though.

@lo5 lo5 added docs Documentation and removed feature Feature request py Related to Python Driver ui Related to UI labels Mar 25, 2021
@mturoci mturoci closed this as completed in 459193c Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation
Projects
None yet
Development

No branches or pull requests

3 participants