Repository navigation
Releases
Releases · rubyroidlabs/rails_api_keys-ui
rails_api_keys-ui v0.3.0
Added
- Optional
allowed_ipsfield in create modal (HTML + JSON) and display on active key rows PATCHupdateroute, controller action,ApiKeyPolicy#update?, and "Edit IPs" modal to updateallowed_ipson existing keys- Optional
update_path:parameter onrails_api_keys_ui_panel(defaults todestroy_path)
rails_api_keys-ui v0.2.0
Added
- Mountable
rails_api_keys_uidraw helper (nested or flat mounts, explicit owner vs context) RailsApiKeys::UI::ApiKeysController— HTML + JSONindex/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_stylesheetto opt out - CSS variables
--rak-ui-primary-600/--rak-ui-primary-700for 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)