activeadmin_favorites 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 296e670f333078afebedd4546ec81d3d15426c3ef5da1614f7e116b151f05320
4
- data.tar.gz: 4a0f53e84ee863776d172a8e243c1aeb78198a0a4cfda0d01cc3cfd6fa99649b
3
+ metadata.gz: 9c67d1a6f05368e22d06b4b985c4357694ba08f5749c6cf267038eb10425c488
4
+ data.tar.gz: b547dc6d6c7bd68827cc822d91aa7714db18263720578e27e62c036627c986b2
5
5
  SHA512:
6
- metadata.gz: 8babf9ec6328bd14b380dd5a638b6a3c412289fcd2850be145d60ab4bbceb22b32ee07f9fe88e00fe8b1267c67711fb898905b7b1e08c808de4d391c1908ded9
7
- data.tar.gz: c3fe9108f0c2156d530a28f69e5de96ed98c75b29a0530f5215eaec88dc927182d641ef056d35eeae9ee25ddb867cdeb3a3724a60bb0baa90a8f032175390f52
6
+ metadata.gz: e450a4e628623508e8a7d3901c6b2545e77090eda375d1bc8c08cad02fa0cb3354cfeec5b3667f4dc66e2f195bd7c86b1213d12e219e94cb9862bb1da55a4135
7
+ data.tar.gz: b82f99015445ec3a636077b28a1699e0b26d2ed148b66141f9f249f28382f9b5b7956c6ffe1c394468e59841188001e4bbd5b73e3485eb9aae8308ccea4154c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.3 (2026-10-13)
4
+
5
+ - Fix favorites index kind tabs so they render as links instead of raw kind list text.
6
+
3
7
  ## 0.1.2 (2026-10-07)
4
8
 
5
9
  - Show Favorites as the favorites index heading from the gem locale.
@@ -186,12 +186,12 @@ module ActiveAdmin
186
186
 
187
187
  index title: proc { I18n.t("active_admin.favorites.title") } do
188
188
  nav class: "flex flex-wrap gap-3 mb-4", "aria-label": I18n.t("active_admin.favorites.kind_navigation") do
189
- link_to I18n.t("active_admin.favorites.kinds.all"),
190
- admin_favorites_path,
189
+ a I18n.t("active_admin.favorites.kinds.all"),
190
+ href: admin_favorites_path,
191
191
  class: favorites_kind_tab_active?(nil) ? "font-semibold underline" : "text-gray-600 dark:text-gray-300"
192
192
  Favorite::KINDS.each do |kind|
193
- link_to I18n.t("active_admin.favorites.kinds.#{kind}"),
194
- admin_favorites_path(kind: kind),
193
+ a I18n.t("active_admin.favorites.kinds.#{kind}"),
194
+ href: admin_favorites_path(kind: kind),
195
195
  class: favorites_kind_tab_active?(kind) ? "font-semibold underline" : "text-gray-600 dark:text-gray-300"
196
196
  end
197
197
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveAdmin
4
4
  module Favorites
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_favorites
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov