Skip to content

Blade (javaabu/forms) and Inertia React (@javaabu/forms) views #8

Closed

Description

@n4ff4h

Every view ships in both:

  • Blade with javaabu/forms v2 components
  • Inertia React (TypeScript) with @javaabu/forms and @javaabu/onu, shipped through javaabu/manifest
  • Config option to choose the stack; views publishable and overridable
  • Larger forms defined once with javaabu/stencil
  • Tests for both stacks

Activity

  1. added
    next-genNext-gen Javaabu packages
    featurePackage feature from the spec
    on Nov 4, 2026
  2. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done. Index, create/edit and show pages for every type, in both stacks:

    • Blade: javaabu/forms (locations::resources.*).
    • Inertia React: locations::Resources/Index|Form|Show on @javaabu/forms, shipped through manifest.
    • Choosing a stack: set config('locations.views') (LOCATIONS_VIEWS). Requests that expect JSON always get JSON.

    Decisions:

    • Generic pages: the pages are generic across the five types, driven by the controller (columns, cells, details, filters), rather than 15 near-identical pages per stack. Per-type changes are controller overrides.
    • Forms: forms and index filters are stencil forms, rendered by either driver.
    • Tests and overrides: InertiaPagesTest keeps the React fixtures in step with the PHP props. Blade views are publishable, and React files are overridable through manifest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurePackage feature from the specnext-genNext-gen Javaabu packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions