Skip to content

Hide "Herb Debug Tools" on Hotwire Native Apps #105

Description

@kcdragon

Is there a way to hide "Herb Debug Tools" on Hotwire Native apps but still show them in the Rails app?

Image

If there isn't an easy way to do that with a configuration, is there an interest in me adding one? One idea is an arbitrary CSS class that could be added to the button. I could add a "hotwire-native:hidden" class to it.

ReActionView.configure do |config|
  config.debug_mode_button_css_class = "hotwire-native:hidden"
end

No activity

Activity on this issue will appear here.

Activity

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

    featureNew feature or requestherb

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions