Skip to content

feat: connect Astro pages endpoints and navigation - #6

Open
bompus wants to merge 1 commit into
codex/remix-file-routesfrom
codex/astro-route-links
Open

feat: connect Astro pages endpoints and navigation#6
bompus wants to merge 1 commit into
codex/remix-file-routesfrom
codex/astro-route-links

Conversation

@bompus

@bompus bompus commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Behavior

Astro page routes now link to their exact same-file components, while exported HTTP methods in .ts/.js endpoints link to their handlers. ALL is represented as ANY; helper/type exports and .mjs files do not create endpoints.

Anchor destinations and Astro.redirect produce navigation to local pages. The existing TSX parser distinguishes actual anchors from strings and non-href attributes; external URLs, spreads and comments do not produce invented navigation. Custom routing configuration, Markdown/MDX and client transition calls remain outside this change.

Validation

  • Build and 195 focused WASM/control tests pass, including fresh compiled parse/resolver workers.
  • Full native suite: 4,435 passed, 46 skipped.
  • Page/API roots, imported handlers, add/edit/delete sync and newly introduced Astro projects are covered.
  • Independent correctness and complexity review is clear.

Stacked on codex/remix-file-routes (PR #5).

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