Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Full React Support for Inertia in Jetstream #1534

Draft
wants to merge 13 commits into
base: 5.x
Choose a base branch
from

Commits on Sep 12, 2024

  1. Add initial components for Inertia React support

    This commit introduces several new components to support Inertia React. These include ActionMessage, HandleInertiaRequests middleware, ApplicationLogo, and more. Each of these components will be essential for building a consistent and functional frontend with Inertia.js and React.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    22b1423 View commit details
    Browse the repository at this point in the history
  2. Expand testing matrix to include additional Inertia stacks

    Updated the CI workflow to test against `inertia-react` and `inertia-vue` in addition to the existing stacks. This ensures broader compatibility and reliability of the application across different Inertia.js configurations.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c992fae View commit details
    Browse the repository at this point in the history
  3. Refactor and simplify JSX and styling

    Streamline button and layout components by removing redundant dark mode classes and improving prop handling. Added `usePage` import and adjusted Slot tags for better integration with JET stream properties. Updated layout components for API and team pages to ensure consistent styling.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c600fc9 View commit details
    Browse the repository at this point in the history
  4. Set timeout for GitHub Actions workflow

    Added a timeout of 30 minutes for the 'stub-tests' job in the GitHub Actions workflow to prevent indefinite runs. This ensures jobs that exceed the set duration are terminated automatically.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    471fd58 View commit details
    Browse the repository at this point in the history
  5. Reduce test job timeout to 2 minutes

    Lowered the timeout for the stub-tests job in GitHub Actions from 30 minutes to 2 minutes. This change aims to prevent prolonged hangs and expedite feedback during CI runs.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    2025170 View commit details
    Browse the repository at this point in the history
  6. Remove timeout setting from stub-tests workflow

    Deleted the timeout-minutes parameter from the stub-tests job in the tests.yml workflow file. This change allows the job to run without the previously set 2-minute limit.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    2f8ba4b View commit details
    Browse the repository at this point in the history
  7. Update PestPHP package versions in InstallCommand

    Changed the required version of PestPHP and its Laravel plugin from 2.0 to 3.0 in the InstallCommand. This takes advantage of the latest features and improvements from these updated versions.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    a9a08ce View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e2dff3b View commit details
    Browse the repository at this point in the history
  9. Update Pest dependencies to version 3.0

    Modified the InstallCommand to require specific versions (^3.0) of the pestphp/pest and pestphp/pest-plugin-laravel packages. This ensures compatibility with the latest features and improvements in Pest version 3.0.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    65e6535 View commit details
    Browse the repository at this point in the history
  10. Update pestphp package versions and add debug prints

    Updated the package versions for pestphp and its Laravel plugin in the InstallCommand. Added temporary debug print statements to trace the execution flow.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    36d7976 View commit details
    Browse the repository at this point in the history
  11. Remove debug print statements from InstallCommand

    This commit cleans up the InstallCommand by removing unnecessary debug print statements. These changes help keep the codebase clear and maintainable.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    1549c4c View commit details
    Browse the repository at this point in the history
  12. Standardize code formatting across components

    Applied consistent formatting standards for imports, JSX element wrapping, and inline styles. This enhances code readability and maintainability across various components.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    1be96bb View commit details
    Browse the repository at this point in the history
  13. Standardize code formatting across components

    Applied consistent formatting standards for imports, JSX element wrapping, and inline styles. This enhances code readability and maintainability across various components.
    HichemTab-tech committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    9802067 View commit details
    Browse the repository at this point in the history