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

fill param values from query #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hailiu2586
Copy link

this allows deploy button link to contain extras query param to prefill template parameters

startIndex = query.indexOf(token);

if (startIndex >= 0) {
return query.substring(startIndex + token.length);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't even make sense of this old code. If I read it correctly, it only works if there is a single item on query string? Is that why you had to rewrite it?

@davidebbo
Copy link
Member

The change seems solid. Were you able to test it?

@hailiu2586
Copy link
Author

Not yet able to test the change, still blocked on localhost login flow, tried Edge, IE, Chrome. (none worked, and oddly Edge private mode won't even recognize https://localhost:443006 as valid web address)

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