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 Diagnostic to force implement static component for Hotwire Native Bridge Components #405

Open
marcoroth opened this issue Sep 29, 2024 · 0 comments
Labels
diagnostic Feature that implements a `textDocument/diagnostic` request. hotwire-native Hotwire Native, Turbo Native, Strada, Bridge Components

Comments

@marcoroth
Copy link
Owner

marcoroth commented Sep 29, 2024

a) We should prompt users to implement the static component on a Hotwire Native/Strada Component.
b) We should make sure the static component name matches the Stimulus Controller name it's defined in.
c) If the user defines a Bridge component outside of app/javascript/controllers/bridge/* we should prompt them to move it to the bridge/ folder

Thanks to @yshmarov for brainstorming on this!

@marcoroth marcoroth added diagnostic Feature that implements a `textDocument/diagnostic` request. hotwire-native Hotwire Native, Turbo Native, Strada, Bridge Components labels Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostic Feature that implements a `textDocument/diagnostic` request. hotwire-native Hotwire Native, Turbo Native, Strada, Bridge Components
Projects
None yet
Development

No branches or pull requests

1 participant