Skip to content

rails_api_keys-ui v0.2.0

Choose a tag to compare

@pavelpershko pavelpershko released this 11 Aug 12:05
· 3 commits to main since this release

Added

  • Mountable rails_api_keys_ui draw helper (nested or flat mounts, explicit owner vs context)
  • RailsApiKeys::UI::ApiKeysController — HTML + JSON index / create / destroy
  • Tailwind-compatible markup + Stimulus defaults (modal / clipboard) with reveal-once + copy UX
  • Shipped scoped stylesheet (rails_api_keys/ui.css) inlined by the panel; config.include_stylesheet to opt out
  • CSS variables --rak-ui-primary-600 / --rak-ui-primary-700 for brand overrides
  • Embeddable panel helper/partial
  • Generators: install, controllers, views, locales
  • Soft Pundit integration (default owner policy; no-op authorize when Pundit is absent)
  • Configurable current_owner, parent_controller, flash key, include_stylesheet
  • HTML redirects via redirect_back (fallback: mount index)