Skip to content

feat(site): prebuild trajectory share urls#17

Merged
zwpaper merged 8 commits intomainfrom
feat/prebuild-share-urls
Mar 18, 2026
Merged

feat(site): prebuild trajectory share urls#17
zwpaper merged 8 commits intomainfrom
feat/prebuild-share-urls

Conversation

@liangfung
Copy link
Copy Markdown
Contributor

  • Add a script to compute trajectory urls and write them to a JSON file.
  • Update trajectory pages to use the prebuilt URLs.
  • Add husky pre-push hook to ensure trajectory URLs are up to date.
  • Replace compute-messages with compute-trajectory.

🤖 Generated with Pochi | Task

Comment thread .husky/pre-push
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove, do not make it part of pre-push

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

save url directly. rename this to trajectory-url.txt

Comment thread .husky/pre-push
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove, do not use pre-push

Comment thread .husky/pre-push Outdated
#!/usr/bin/env sh

cd site || exit 1
bun run check:compute-trajectory
Copy link
Copy Markdown
Member

@wsxiaoys wsxiaoys Mar 18, 2026

Choose a reason for hiding this comment

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

Suggested change
bun run check:compute-trajectory
./site/scripts/check-missing-trajectory-id

@liangfung liangfung force-pushed the feat/prebuild-share-urls branch from 20da20e to a1e30d1 Compare March 18, 2026 11:30
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 18, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-18 15:05 UTC

liangfung and others added 8 commits March 18, 2026 19:43
- Add a script to compute trajectory urls and write them to a JSON file.
- Update trajectory pages to use the prebuilt URLs.
- Add husky pre-push hook to ensure trajectory URLs are up to date.
- Replace `compute-messages` with `compute-trajectory`.

🤖 Generated with [Pochi](https://getpochi.com) | [Task](https://app.getpochi.com/share/p-5dcdb7a17d67479783e7cc4f8099778f)

Co-Authored-By: Pochi <noreply@getpochi.com>
@liangfung liangfung force-pushed the feat/prebuild-share-urls branch from 59811b9 to 55546cc Compare March 18, 2026 11:45
@zwpaper zwpaper merged commit 7bc8e9f into main Mar 18, 2026
1 check passed
zwpaper pushed a commit that referenced this pull request Mar 31, 2026
Co-authored-by: Pochi <noreply@getpochi.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