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

Onydra/hash param view mode #181

Closed
wants to merge 2 commits into from

Conversation

onydra
Copy link

@onydra onydra commented Oct 16, 2018

Hi @jlfwong, thanks for this wonderful tool. This PR simply adds the ability to set the default viewMode from hash params so that one can directly link the most relevant view.

@jlfwong
Copy link
Owner

jlfwong commented Oct 19, 2018

Hi @onydra! Thanks for the contribution!

This seems fine to me in principle, but I'd prefer to have the view mode have a string name rather than an integer. Right now, if the enum was reordered, this would change functionality, which I wouldn't expect. What do you think about viewMode=chrono, viewMode=leftHeavy, viewMode=sandwich instead?

You'll also need to revert the change to package.lock before I can merge this, since that has nothing to do with this change.

@jlfwong
Copy link
Owner

jlfwong commented Jan 16, 2020

I'm going to close this out for inactivity. Feel free to open if you'd like to see this landed once the requested changes have been addressed.

@jlfwong jlfwong closed this Jan 16, 2020
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