testimonials 0.8.2 → 0.8.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 +4 -4
- data/AGENTS.md +4 -0
- data/README.md +19 -0
- data/lib/testimonials/dashboard.css +17 -16
- data/lib/testimonials/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d3fdcc20cbf11e28b251af6265184f717d9242f2dc6fea1c3e0dec158e9db34
|
|
4
|
+
data.tar.gz: 875396b557db1480c42a557f1db615aa106e5b00fca4e00af0fcd8081454718f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a627aedbd6441c0eb6a8220c7c265e3aa52d0fcc27b5305d1d49230e362d7235ce347f30ad699724976030120668fb9cd458839a89a775b921069631e3a5767
|
|
7
|
+
data.tar.gz: b1007ae2757a2c2f728770e2b0cf7bda1923d4864f1ec7c1b72b2f776b0c18ba4483a80dc14bdb1534684471ccbfd37da980d226e7ead1c1606bcec5d528f30b
|
data/AGENTS.md
CHANGED
|
@@ -190,6 +190,10 @@ Turbo Drive and nonce-based CSP work out of the box; the widget config rides in
|
|
|
190
190
|
|
|
191
191
|
---
|
|
192
192
|
|
|
193
|
+
## One family
|
|
194
|
+
|
|
195
|
+
`ideasbugs`, `livechat`, `product_tours`, `i18n_proofreading` are the sibling engines. Same install shape, same host hooks (`base_controller_class`, `admin_layout`), same scoped dashboard CSS, same `primary_key_type`-aware migrations — so what you learn here transfers.
|
|
196
|
+
|
|
193
197
|
## Working on the gem itself
|
|
194
198
|
|
|
195
199
|
```bash
|
data/README.md
CHANGED
|
@@ -382,6 +382,25 @@ in a real app and
|
|
|
382
382
|
feature requests. Pairs with this gem's NPS detractor hook.
|
|
383
383
|
- [SupeRails](https://superails.com) — Rails screencasts.
|
|
384
384
|
|
|
385
|
+
## One family
|
|
386
|
+
|
|
387
|
+
Five Rails engines built on the same backbone, so adopting a second one is
|
|
388
|
+
mostly muscle memory:
|
|
389
|
+
|
|
390
|
+
| Gem | What it does |
|
|
391
|
+
| --- | --- |
|
|
392
|
+
| **testimonials** *(this gem)* | Testimonials, reviews and NPS — text and video, collected in your own app |
|
|
393
|
+
| [ideasbugs](https://github.com/yshmarov/ideasbugs) | In-app bug reports and feature requests, with a triage queue |
|
|
394
|
+
| [livechat](https://github.com/yshmarov/livechat) | Live chat between your visitors and your agents, self-hosted |
|
|
395
|
+
| [product_tours](https://github.com/yshmarov/product_tours) | Product tours and video tutorials, shown in-app at the right moment |
|
|
396
|
+
| [i18n_proofreading](https://github.com/yshmarov/i18n_proofreading) | In-context translation fixes suggested by your own users |
|
|
397
|
+
|
|
398
|
+
They share the install shape (`generate <gem>:install`, mount, one initializer),
|
|
399
|
+
the same host hooks (`base_controller_class` to inherit your admin's controller,
|
|
400
|
+
`admin_layout` for just the shell), a dashboard stylesheet scoped so it
|
|
401
|
+
cannot touch your own CSS, and migrations that follow your app's
|
|
402
|
+
`primary_key_type`.
|
|
403
|
+
|
|
385
404
|
## License
|
|
386
405
|
|
|
387
406
|
MIT. If it saved you a subscription, a
|
|
@@ -84,22 +84,6 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
/* Page frame — the gem's own layout only. */
|
|
88
|
-
.tml-page { margin: 0; background: var(--tml-bg); color: var(--tml-text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
|
|
89
|
-
/* Desktop dashboard: queue on the left, selected record on the right. */
|
|
90
|
-
.tm-index, .tm-index .container,
|
|
91
|
-
.tm-nps-index, .tm-nps-index .container { height: 100vh; height: 100dvh; }
|
|
92
|
-
.tm-index, .tm-nps-index { overflow: hidden; }
|
|
93
|
-
.tm-index .container, .tm-nps-index .container { max-width: 1280px; display: flex; flex-direction: column; padding-bottom: 16px; }
|
|
94
|
-
.tm-index .nav, .tm-nps-index .nav,
|
|
95
|
-
.tm-index .container .page-head, .tm-nps-index .container .page-head,
|
|
96
|
-
.tm-nps-index .stat-row { flex: 0 0 auto; }
|
|
97
|
-
.tm-index .container .page-head, .tm-nps-index .container .page-head { margin-bottom: 14px; }
|
|
98
|
-
.tm-nps-index .stat-row { margin-bottom: 14px; }
|
|
99
|
-
/* Standalone show pages keep normal page scrolling. */
|
|
100
|
-
.tm-show { min-height: 100vh; overflow: auto; }
|
|
101
|
-
.tm-show .detail-scroll { overflow: visible; }
|
|
102
|
-
|
|
103
87
|
/* Dashboard components — any layout. */
|
|
104
88
|
.tml-dashboard {
|
|
105
89
|
/* A scoping device, not a layout one: without this the wrapper would
|
|
@@ -255,3 +239,20 @@
|
|
|
255
239
|
& .empty-state p { margin: 0; }
|
|
256
240
|
& .mobile-back { display: none; }
|
|
257
241
|
}
|
|
242
|
+
|
|
243
|
+
/* Page frame — the gem's own layout only. Last, so it wins the
|
|
244
|
+
specificity ties against the component layer above. */
|
|
245
|
+
.tml-page { margin: 0; background: var(--tml-bg); color: var(--tml-text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
|
|
246
|
+
/* Desktop dashboard: queue on the left, selected record on the right. */
|
|
247
|
+
.tm-index, .tm-index .container,
|
|
248
|
+
.tm-nps-index, .tm-nps-index .container { height: 100vh; height: 100dvh; }
|
|
249
|
+
.tm-index, .tm-nps-index { overflow: hidden; }
|
|
250
|
+
.tm-index .container, .tm-nps-index .container { max-width: 1280px; display: flex; flex-direction: column; padding-bottom: 16px; }
|
|
251
|
+
.tm-index .nav, .tm-nps-index .nav,
|
|
252
|
+
.tm-index .container .page-head, .tm-nps-index .container .page-head,
|
|
253
|
+
.tm-nps-index .stat-row { flex: 0 0 auto; }
|
|
254
|
+
.tm-index .container .page-head, .tm-nps-index .container .page-head { margin-bottom: 14px; }
|
|
255
|
+
.tm-nps-index .stat-row { margin-bottom: 14px; }
|
|
256
|
+
/* Standalone show pages keep normal page scrolling. */
|
|
257
|
+
.tm-show { min-height: 100vh; overflow: auto; }
|
|
258
|
+
.tm-show .detail-scroll { overflow: visible; }
|
data/lib/testimonials/version.rb
CHANGED