Closed A783270 closed 2 years ago
In GitLab by @nfriend on Apr 14, 2020, 24:16
/cc @tauriedavis :slight_smile:
In GitLab by @gtsiolis on Apr 14, 2020, 24:43
@nfriend the JSFiddle issue was also reported some months ago in https://gitlab.com/gitlab-org/gitlab-ui/issues/162#note_162930165.
I think this a broader issue affecting all components. I can't open any component properly in JSFiddle.
In GitLab by @tauriedavis on Apr 14, 2020, 24:45
How useful is the JSFiddle link? Is it reasonable to remove it or worth fixing?
In GitLab by @nfriend on Apr 14, 2020, 23:14
@tauriedavis It's probably not super useful in the context of Pajamas, but looking at this a bit closer, I believe this is the same view that is rendered in Storybook: https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-breadcrumb--default, where it's much more useful.
I'm now realizing this is probably better as a gitlab-ui
issue, so I'll mark this one a duplicate of https://gitlab.com/gitlab-org/gitlab-ui/issues/162 (thanks @gtsiolis).
In GitLab by @nfriend on Apr 14, 2020, 23:14
marked this issue as a duplicate of gitlab-org/gitlab-ui#162
In GitLab by @nfriend on Apr 14, 2020, 23:14
closed
In GitLab by @nfriend on Apr 14, 2020, 23:14
marked this issue as related to gitlab-org/gitlab-ui#162
In GitLab by @nfriend on Apr 14, 2020, 24:16
Problem
Many of our the pages in our Pajamas documentation have live demos that use JSFiddle. For example: https://design.gitlab.com/components/breadcrumb/
When I click the Edit in JSFiddle button in the top right of the embedded example, I get redirected to a fiddle that doesn't work.
Steps to reproduce
jsfiddle.net
Expected behavior
The same working demo shown in the embedded example on https://design.gitlab.com/components/breadcrumb/ is shown is JSFiddle's Result pane.
Actual behavior
The embedded example in https://design.gitlab.com/components/breadcrumb/ works, but the version on
jsfiddle.net
only renders a blank, white Result pane.Also...
Each time the Edit in JSFiddle button is clicked, a small
<textarea>
is appended to the end of the page:(Good catch, @tauriedavis)