Skip to content

refactor: establish ViewTransitions folder feature - #316

Open
jderochervlk wants to merge 1 commit into
codex/option5-performance-folderfrom
codex/option5-view-transitions-folder
Open

refactor: establish ViewTransitions folder feature#316
jderochervlk wants to merge 1 commit into
codex/option5-performance-folderfrom
codex/option5-view-transitions-folder

Conversation

@jderochervlk

@jderochervlk jderochervlk commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Tracking issue: #342

Stack context

Part 6 of the Option 5 folder-feature stack.

Review this PR as the incremental diff against #315.

Summary

  • rename src/ViewTransitions to the target src/view-transitions folder
  • change the folder to the unqualified internal ViewTransitions feature
  • add the supported WebAPI.ViewTransitions feature with its WebAPI.Event dependency
  • preserve the flat public WebAPI.ViewTransition module

The internal ViewTransitionsTypes helper stays private inside the complete folder.

Temporary state

  • this PR does not introduce compatibility aliases, file exclusions, or module slices; its folder and feature ownership are final
  • helper-type colocation remains deferred to the final cleanup layer

Review focus

  • the WebAPI.ViewTransitions -> WebAPI.Event + ViewTransitions implication
  • unchanged public module path and binding signatures
  • complete folder ownership

Verification

  • node_modules/.bin/rescript clean
  • node_modules/.bin/rescript build --prod --features DOM,Event,ViewTransitions
  • npm run build
  • npm test
  • npm run format:check
  • git diff --check

Copy link
Copy Markdown
Collaborator Author

@codex

@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: 16b0709e9b

ℹ️ 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 rescript.json
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch 2 times, most recently from 788ef48 to f8b2ef6 Compare August 5, 2026 12:14
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from f8b2ef6 to 8e82fe0 Compare August 5, 2026 12:31
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from 8e82fe0 to 7e9f84f Compare August 5, 2026 12:34
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch 3 times, most recently from 7f89a05 to b3e20dc Compare August 5, 2026 14:00
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch 2 times, most recently from 245b13b to 9ba1761 Compare August 5, 2026 14:50
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from 9ba1761 to 483bb0e Compare August 5, 2026 15:08
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from 483bb0e to 0e326cd Compare August 5, 2026 15:45
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from 0e326cd to 25c4ee3 Compare August 5, 2026 17:39
@jderochervlk
jderochervlk requested review from brnrdog and tsnobip August 6, 2026 14:45
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from 25c4ee3 to 44be903 Compare August 6, 2026 14:52
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from 44be903 to a7faf5d Compare August 6, 2026 14:58
@jderochervlk
jderochervlk force-pushed the codex/option5-view-transitions-folder branch from a7faf5d to a0b3467 Compare August 6, 2026 15:04
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