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

Some chart injections are happening incorrectly #1039

Open
mcnuttandrew opened this issue Nov 13, 2018 · 6 comments
Open

Some chart injections are happening incorrectly #1039

mcnuttandrew opened this issue Nov 13, 2018 · 6 comments
Labels

Comments

@mcnuttandrew
Copy link
Collaborator

@mcnuttandrew mcnuttandrew commented Nov 13, 2018

In an apparently random collection of docs pages, the injection script is not correctly inserting the charts where they should go. For instance at https://uber.github.io/react-vis/documentation/api-reference/axes there should be two charts injected but none appear! I took a glance at the code and I don't really know where is going on. Is it possible the ocular bump that happened recently borked the injection?

@mcnuttandrew
Copy link
Collaborator Author

@mcnuttandrew mcnuttandrew commented Nov 13, 2018

I don't know who works on ocular? @jckr ?

@jckr
Copy link
Contributor

@jckr jckr commented Nov 13, 2018

@jckr
Copy link
Contributor

@jckr jckr commented Nov 13, 2018

Ok. This happens when there are 2 such inject statements in the same page in a specific form.

image

Now if we change the regex a little bit....

image

I have to change ocular though to make this work.

@mcnuttandrew
Copy link
Collaborator Author

@mcnuttandrew mcnuttandrew commented Nov 14, 2018

Oh no!!! That's a classic regex error. I think that particular one might be on me, oh no!

Let me know if there's anything I can do to help

@mcnuttandrew
Copy link
Collaborator Author

@mcnuttandrew mcnuttandrew commented Nov 21, 2018

Any update on this?

@mcnuttandrew mcnuttandrew added the docs label Nov 26, 2018
@mcnuttandrew
Copy link
Collaborator Author

@mcnuttandrew mcnuttandrew commented Jan 9, 2019

@jckr bump on this?

@mcnuttandrew mcnuttandrew changed the title Some chart injections are happening correctly Some chart injections are happening incorrectly Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.