8000 fix(vue): build Reveal on createReveal and play on the new element when as and when change together by morellodev · Pull Request #279 · awesome-reveal/awesome-reveal · GitHub
[go: up one dir, main page]

Skip to content

fix(vue): build Reveal on createReveal and play on the new element when as and when change together - #279

Merged
morellodev merged 6 commits into
nextfrom
feat/vue-create-reveal
Oct 12, 2026
Merged

morellodev merged 6 commits into
nextfrom
feat/vue-create-reveal

Conversation

@morellodev
Copy link
Copy Markdown
Collaborator

Summary

Phase 5.4 of the stabilization plan. The Vue Reveal component uses createReveal from core. It has no observe, play or when logic of its own.

  • Reveal mirrors revealed with subscribe, gives the element to core with a function ref, and applies the options in a post-flush watcher. A pre-flush watcher ran while the old element was still attached, so an as change with a when change in the same tick played the animation on the old element. The new element did not play. A test covers it.
  • v-reveal is unchanged in code. It already uses reveal(), so it has the core fixes. The README and skill now say that it restores your inline opacity. With server rendering it cannot, and the docs say so.
  • A new element for v-reveal (new key or tag) starts a new reveal, because a directive keeps no state across elements. The contract harness has a boundToElement flag for this, and a test covers it. The docs describe the limit.
  • The test "starts the animation after the patch" is now "in the task of the report", as for React.
  • The size limit of Reveal with slide is 4100 bytes (3993 now). The limit of the directive stays at 3350 (3312). Gzipped: about 1.7 kB and 1.5 kB. The README is updated.
  • The Vue adapter rule describes the new flow.
  • examples/vue PageSection.vue uses a scoped style, with no inline style.

Checklist

  • The PR targets the next branch.
  • The PR title follows Conventional Commits. A breaking change has ! and a BREAKING CHANGE: footer. This change is not breaking.
  • Tests cover the change.
  • A change to an option, a default or an export also updates the READMEs, the consumer skills and the examples. No option, default or export changes. The README and the skill are updated for the behavior of v-reveal.

@morellodev
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Oct 12, 2026 •
Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T10:45:14.366872Z 20f39e2 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector
8000 Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: a9ae049238

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@morellodev
Copy link
Copy Markdown
Collaborator Author

@chatgpt-codex-connector thanks for the review. I pushed two follow-up commits (the review contract now covers element replacement, and Reveal attaches in onMounted so a pending Suspense does not play the entrance off-screen). @codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 67e2f8c45f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/vue/src/Reveal.ts Resolved
@morellodev
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 20f39e2a7f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@morellodev
morellodev merged commit 847ac75 into next Oct 12, 2026
9 of 10 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 12, 2026
@morellodev
morellodev deleted the feat/vue-create-reveal branch October 13, 2026 09:36
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.

1 participant

0