solid_cache_dashboard 0.0.1 → 0.2.0

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: 8237082b922fe1717a1a4806803134ea489b4ae0c7406ce92613e8fa844831dd
4
- data.tar.gz: 7c07e6129d9f81a386ce4ae7902fedc71fbe6a292d1111107e3e709ea855194e
3
+ metadata.gz: 61499ab71b0da718198b3a3c9151a2170ef3488c764a4653ca0ab102ceea1664
4
+ data.tar.gz: 5098ed766fe8ebc3cf37acd942f90385cc647d36dab171bc29a22a619a849041
5
5
  SHA512:
6
- metadata.gz: 58e45fb1dfc915c708550ef3cd0422e492c9ed2fe1c32edc4820082be93e2b8ae4e0fa192bfb8f94197cc72a28097781239968f1ce07cf4ca78b3a168afd9f2c
7
- data.tar.gz: '097bd14a3b83974815c549b2a402646261eb33c88b06e627009da9d23dacefefd76a7b43c797f442bf8e51af620741c0473e7c895a7720d0cbe5543525c8dfda'
6
+ metadata.gz: e3568ee5a7463557b73b5f596c7276a5793f80b1b4688105f928f1bfb241741d4fb1831b7af60a192957b47cf37fee15e2422268ea53fb6b896b4d844756359d
7
+ data.tar.gz: fac32592fc8847e60bc88b396549cb620ba0f5f924d4a45d86f2c707f7b975c2d96cc432a59ce5e4b97b8a0c5d60020d826c0c3f6a2e22de203a0610a44c4c7a
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A beautiful dashboard for [solid_cache](https://github.com/rails/solid_cache). Monitor your Rails application cache performance with detailed stats and visualizations.
4
4
 
5
+ Inspired by [Solid Queue Dashboard](https://github.com/akodkod/solid-queue-dashboard)
6
+
5
7
  ## Features
6
8
 
7
9
  - Real-time monitoring of cache hits, misses, writes, and deletes
@@ -13,7 +15,22 @@ A beautiful dashboard for [solid_cache](https://github.com/rails/solid_cache). M
13
15
 
14
16
  ## Screenshots
15
17
 
16
- _Screenshots coming soon_
18
+ <p align="center">
19
+ <picture>
20
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/afomera/solid_cache_dashboard/refs/heads/main/docs/screenshots/dashboard_dark_v2.png">
21
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/afomera/solid_cache_dashboard/refs/heads/main/docs/screenshots/dashboard_light_v2.png">
22
+ <img alt="Solid Cache Dashboard for Rails" src="https://raw.githubusercontent.com/afomera/solid_cache_dashboard/refs/heads/main/docs/screenshots/dashboard_light_v2.png">
23
+ </picture>
24
+ </p>
25
+ ---
26
+
27
+ <p align="center">
28
+ <picture>
29
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/afomera/solid_cache_dashboard/refs/heads/main/docs/screenshots/stats_dark_v2.png">
30
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/afomera/solid_cache_dashboard/refs/heads/main/docs/screenshots/stats_light_v2.png">
31
+ <img alt="Solid Cache Dashboard for Rails" src="https://raw.githubusercontent.com/afomera/solid_cache_dashboard/refs/heads/main/docs/screenshots/stats_light_v2.png">
32
+ </picture>
33
+ </p>
17
34
 
18
35
  ## Installation
19
36
 
@@ -1,3 +1,5 @@
1
+ // Lovingly borrowed from solid_queue_dashboard
2
+ // https://github.com/akodkod/solid-queue-dashboard
1
3
  document.addEventListener('DOMContentLoaded', function() {
2
4
  // Handle clickable rows
3
5
  document.body.addEventListener('mouseup', function(event) {
@@ -54,7 +56,6 @@ document.addEventListener('DOMContentLoaded', function() {
54
56
  }
55
57
 
56
58
  function refreshHomePage() {
57
- // TODO: Implement a smart refresh strategy using Fetch or Turbo
58
59
  window.location.reload();
59
60
  }
60
61
  });