Skip to content

Fix typo in .gitignore#31

Merged
arunoda merged 1 commit into
storybookjs:masterfrom
duncanbeevers:patch-1
Apr 4, 2016
Merged

Fix typo in .gitignore#31
arunoda merged 1 commit into
storybookjs:masterfrom
duncanbeevers:patch-1

Conversation

@duncanbeevers
Copy link
Copy Markdown
Contributor

No description provided.

@arunoda
Copy link
Copy Markdown
Contributor

arunoda commented Apr 4, 2016

Oops. Thanks.

@arunoda arunoda merged commit ac893aa into storybookjs:master Apr 4, 2016
@duncanbeevers duncanbeevers deleted the patch-1 branch April 4, 2016 13:25
ndelangen pushed a commit that referenced this pull request Apr 5, 2017
ndelangen pushed a commit that referenced this pull request Apr 5, 2017
Fix polyfill command example
ndelangen pushed a commit that referenced this pull request Apr 5, 2017
Remove the max-width limitation in documentation page.
ndelangen pushed a commit that referenced this pull request Apr 11, 2017
Use helmet for basic head usage.
ndelangen pushed a commit that referenced this pull request Apr 11, 2017
Implement a better workflow for local users
ndelangen added a commit that referenced this pull request Apr 11, 2017
docs(README): add reserved words note
ndelangen added a commit that referenced this pull request Apr 11, 2017
ndelangen pushed a commit that referenced this pull request Apr 23, 2017
Added babel-plugins-add-module-exports
thani-sh pushed a commit that referenced this pull request May 24, 2017
Try using gh-pages-travis to deploy from travis
@shilman shilman added the misc label May 27, 2017
yannbf added a commit that referenced this pull request Apr 17, 2025
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Jun 13, 2025

View your CI Pipeline Execution ↗ for commit 9edd8a7

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 43s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-18 04:11:47 UTC

valentinpalkovic added a commit that referenced this pull request May 19, 2026
…rity no-verdict cause

Wave finding (#31 try-pr-34712 XSS): recipe-author correctly chose behavioral
mode and drove the change via the public manager-api `setOptions` path (no
module import), but needed `(window as any).__STORYBOOK_ADDONS_MANAGER` to
reach the runtime singleton. `@typescript-eslint/recommended` makes
`no-explicit-any` an error, so the scoped lint gate failed twice → no verdict.

- .verify-recipes/.eslintrc.cjs: `@typescript-eslint/no-explicit-any: 'off'`.
  Code-quality rule, NOT a security control — deny-regex and
  no-restricted-{globals,imports,syntax} remain the load-bearing gates.
  `as any` for window/manager-api globals is correct and unavoidable.
- _recipe-authoring-guide.md §12.5: note that `as any` for runtime globals
  is allowed; don't waste retries trying to type them.

Verified: behavioral recipe using `(window as any).__STORYBOOK_ADDONS_MANAGER`
now lints clean (exit 0).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
valentinpalkovic added a commit that referenced this pull request May 19, 2026
…ActionBar scope

Wave findings (#28/#29/#31 stuck at regression despite passing PR unit tests —
recipe-author mis-targeted the DOM):

- ActionBar/Canvas rule was conflating the docs-Canvas Zoom/Show-code toolbar
  with the generic `ActionBar` component. Scope-tagged it to the docs-Canvas
  surface only.
- New HARD GATE "additive-only API changes with no story/consumer" — the #1
  false-regression cause. #28/#29 add `ActionItem.ariaLabel` but no story or
  in-diff consumer passes it, so the attribute is never in the DOM; asserting
  it always fails. Rule: detect additive-no-consumer, fall back to
  `@verify-mode: visual` smoke on the component's existing story
  (`components-actionbar--many-items`), never `getByRole('toolbar')` (the
  component renders plain <button>s) nor `.docs-story`.
- New HARD GATE for `Brand` / `theme.brand.title`: the sanitized
  dangerouslySetInnerHTML path runs ONLY when `theme.brand.image === null`.
  Target the existing `manager-sidebar-heading--only-text` /
  `--link-and-text` stories (already `{title, image:null}`); never runtime
  `api.setOptions({theme})` (#31 false regression — never reaches the path).
  XSS-inert proof is the PR's unit test; recipe is a render/boot smoke.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
valentinpalkovic added a commit that referenced this pull request May 19, 2026
… TMPDIR pinned

Two distinct wave-#31/#36 root causes, both false regressions:

(a) _util.ts previewRoot() filtered `#storybook-root:visible`. Stories with
    `parameters.layout:'fullscreen'` + the internal-ui side-by-side/stacked
    theme decorator wrap the story so #storybook-root has a zero-size
    (Playwright-"not visible") box though it rendered — locator matched
    nothing, waitForStoryLoaded timed out (#31 manager-sidebar-heading--*).
    Use `:has(> *)` instead: selects whichever container actually has
    children, keeps story-vs-docs disambiguation, drops the bounding-box
    requirement.

(b) verify-pr.yml unit-test step runs `env -i … srt … yarn vitest`. `env -i`
    strips TMPDIR, so Yarn's run-temp realpaths a nonexistent srt path
    (`lstat '/tmp/claude'` ENOENT) and aborts before vitest starts →
    false "vitest exited without JSON report" regression (#36 a11yRunner).
    Pin TMPDIR to an existing allowWrite dir
    ($PR_HEAD_DIR/.verify-output/vitest-tmp), same rationale REPORT/LOG
    already live there.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
valentinpalkovic added a commit that referenced this pull request May 19, 2026
…bans root-visible assert

Re-run of #36/#31 showed both prior fixes missed the real cause:

- #36: TMPDIR pin had zero effect — Yarn's mktempPromise still ENOENT
  `/tmp/claude`. Root cause: srt derives its sandbox tmp from
  CLAUDE_CODE_TMPDIR, NOT TMPDIR. The main recipe run inherits it via
  $GITHUB_ENV ($SANDBOX_TMPDIR); the unit-test step's `env -i` strips it,
  so srt falls back to its hardcoded `/tmp/claude` (never created). Pass
  CLAUDE_CODE_TMPDIR=$VITEST_TMPDIR (existing allowWrite dir) in env -i.

- #31: previewRoot `:has(> *)` fix removed the _util.ts:66 timeout, but the
  recipe-author hand-rolled `expect('#storybook-root').toBeVisible()` which
  is "hidden" for `Sidebar/Heading` (layout:fullscreen + side-by-side =
  zero-box root). Brand triage rule now explicitly bans root-visibility
  asserts and prescribes a child `toBeAttached()` content assertion.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

3 participants