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

Table SDK component documentation shows an error #1163

Closed
2 tasks
zstix opened this issue Mar 8, 2021 · 16 comments · Fixed by #1196 or #1276
Closed
2 tasks

Table SDK component documentation shows an error #1163

zstix opened this issue Mar 8, 2021 · 16 comments · Fixed by #1196 or #1276
Assignees
Labels
bug Something isn't working P3 Priority 3 sp:3 Story Point(s): 3

Comments

@zstix
Copy link
Contributor

zstix commented Mar 8, 2021

Description

Invariant Violation: Unable to find node on an unmounted component.

Doc information (don't delete this section)

Screen Shot 2021-03-11 at 7 48 52 AM

Acceptance Criteria

  • This has been fixed by One Core, so we need to pull in a new version of the SDK bundle to fix this problem.
  • Document where you can obtain the release verison in our bundle update docs section
@zstix zstix added the bug Something isn't working label Mar 8, 2021
@jpvajda jpvajda added the P3 Priority 3 label Mar 11, 2021
@jpvajda
Copy link
Contributor

jpvajda commented Mar 11, 2021

I wonder if this has always been there since our last SDK update? Perhaps it's something the Nr1 Core Team can help us with.

@jpvajda jpvajda added the question Further information is requested label Mar 11, 2021
@jpvajda
Copy link
Contributor

jpvajda commented Mar 11, 2021

I'll see if the NR1 Core Hero can give us some direction here.

@jpvajda jpvajda changed the title Table documentation shows an error Table SDK component documentation shows an error Mar 11, 2021
@jpvajda jpvajda self-assigned this Mar 11, 2021
@jpvajda
Copy link
Contributor

jpvajda commented Mar 11, 2021

Still waiting on a response... 😓

@jpvajda
Copy link
Contributor

jpvajda commented Mar 16, 2021

I believe our dev site should render these example tables, as it's rendered on NR1 core site. That seems to be what the error is indicating.

Screen Shot 2021-03-15 at 5 58 41 PM

Screen Shot 2021-03-15 at 5 58 47 PM

@jpvajda
Copy link
Contributor

jpvajda commented Mar 16, 2021

Interesting this does render locally... 🤔

Screen Shot 2021-03-15 at 6 07 26 PM

@jpvajda jpvajda added the sp:3 Story Point(s): 3 label Mar 16, 2021
@jpvajda jpvajda removed their assignment Mar 16, 2021
@zstix zstix added this to the [DevEn] Sprint 0 milestone Mar 16, 2021
@LizBaker
Copy link
Contributor

LizBaker commented Mar 17, 2021

this is broken locally for me. it looks to be a react versioning issue, if I roll the react version we're using back to 16.13 the tables load just fine. the dev site upgraded to react 17 12 days ago so I'm thinking that's when we ran into this issue. I would think it was a version mismatch/issue with react-live which we're using to render these previews, but that appears to function normally for everything but tables, continuing to poke around

@jpvajda
Copy link
Contributor

jpvajda commented Mar 17, 2021

@LizBaker interesting, how did the Developer Site get bumped to Reach 17?

@LizBaker
Copy link
Contributor

seems like it's part of the work to upgrade gatsby from v2 to v3, happened here #1160

@jpvajda
Copy link
Contributor

jpvajda commented Mar 18, 2021

Cool. It's nice that we are exploring the upgrade to Gastby V3 and I think it was something @jerelmiller did before he left the team. v3 is going to provide a lot of cool features for our sites. However if we find it's creating a lot of extra effort we may want to hold off on any V3 exploratory work and actually bucket some time for that in upcoming sprint. @zstix let me know what you think.

ps We also have a entire roadmap initiative planned for the v3 upgrade targeting in June right now.

@jerelmiller
Copy link
Contributor

Its also possible the React upgrade fails because we are loading 2 versions of React as per this file: https://github.com/newrelic/developer-website/blob/develop/plugins/gatsby-source-newrelic-sdk/gatsby-ssr.js#L17-L26

We could try updating that to match the React version from package.json and see if that resolves the issue.

@jerelmiller
Copy link
Contributor

Apologies, I clicked around the site a bunch when checking the React 17 upgrade and thought everything looked good, but didn't catch this particular case.

@LizBaker
Copy link
Contributor

@jerelmiller gave that version bump a try but no dice, maybe they haven't updated it?

@jpvajda
Copy link
Contributor

jpvajda commented Mar 22, 2021

Moving back to todo as we have some higher priority items to work on at the moment.

@jpvajda jpvajda removed the question Further information is requested label Mar 22, 2021
@jpvajda jpvajda removed this from the [DevEn] Sprint 0 milestone Mar 22, 2021
@LizBaker
Copy link
Contributor

got a chance to pair with Jerel and we nearly fixed it, but we encountered a bug with the newer versions of the sdk (which we need to use). that bug is being tracked in jira (ONECORE-382) and once it's resolved we can update with our fix

@jpvajda
Copy link
Contributor

jpvajda commented Apr 20, 2021

It sounds like from our discussions with the One Core Team this fix may be a ways out, so we have 3 options:

  1. We can either keep the developer site as-is and remove the Table examples
  2. or update the bundle and remove the Chart examples.
  3. Or leave it as is, and present the error to the end user.

@jpvajda
Copy link
Contributor

jpvajda commented Apr 21, 2021

The core team said this should be resolve next week, so I'll leave it blocked until the internal JIRA issue is resolved.

@jpvajda jpvajda added the blocked used when something is blocked label Apr 21, 2021
@jpvajda jpvajda removed blocked used when something is blocked question Further information is requested labels Apr 22, 2021
@jpvajda jpvajda linked a pull request Apr 22, 2021 that will close this issue
@jpvajda jpvajda added this to the [DevEn] Sprint 3 milestone Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3 Priority 3 sp:3 Story Point(s): 3
Projects
None yet
4 participants