Skip to content

Conversation

@jjmata
Copy link
Collaborator

@jjmata jjmata commented Oct 26, 2025

Prompt

The codebase implements a PWA (Progressive Web App) strategy to address the mobile users of the application. Because it also uses Ruby on Rail and Hotwire technologies, it can take advantage of the Hotwire Native app wrapper: https://dev.37signals.com/announcing-hotwire-native/

Implement a new branch to prototype this integration after some careful previous planning. Make sure you also update all relevant LLM docs (AGENTS.md, Cursor rules and CLAUDE.md) to reflect the changes.

Summary

  • add a TurboNative::Controller concern to flag native requests and expose navigation metadata via shared helpers
  • introduce an application.html+turbo_native layout variant and Stimulus bridge to coordinate navigation with Turbo Native shells
  • update documentation and workflow guides while ensuring sign-out handling and native layout tests cover the new branch work

Testing

  • bin/rails test test/controllers/turbo_native_layout_test.rb
  • bin/rails test test/controllers/sessions_controller_test.rb
  • npm run lint (fails: biome binary not installed in container)

https://chatgpt.com/codex/tasks/task_e_68fde870f1ec8332aaf34acdae488d3e

@jjmata jjmata added the codex Touched by OpenAI Codex somehow label Oct 26, 2025 — with ChatGPT Codex Connector
@coderabbitai
Copy link

coderabbitai bot commented Oct 26, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/implement-hotwire-native-pwa-integration

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jjmata
Copy link
Collaborator Author

jjmata commented Oct 27, 2025

Any takers with Hotwire Native experience?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Touched by OpenAI Codex somehow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants