bible270 1.17.1 → 1.17.2
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/CHANGELOG.md +35 -4
- data/app/views/bible270/admin/_scripture_frames.html.erb +9 -3
- data/app/views/bible270/shared/_admin_reader_list_ui.html.erb +8 -4
- data/app/views/bible270/shared/_styles.html.erb +7 -2
- data/config/scripture_frames.yml +7 -0
- data/lib/bible270/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: c99403f2988bb64614996cf4b447679f8ad56731d1c4f6d5f9f6f93cb23d1d4d
|
|
4
|
+
data.tar.gz: f87f1e3baf25aa620da73eb9ad2fc8e3ff40a082d4ffdfef10bbed98246e08d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02fe754b4c1a32a3ae63c8353b145a034c98d9a5bb1c60e7a44675aebdc9aa6185ed9319482f1e21db9b72fecc32f32a7081aafb6a3b94dbf2b01f99aa0c2be1
|
|
7
|
+
data.tar.gz: e8fcff4ab48c0bd01f778ec10b25ebd5c252f243aebba7b0c57ce795c27bc93d587b58dcc5c204f476610a0aae13884d70e4eb253f071c207549828ce6c64e95
|
data/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,27 @@ Notable changes, following [Keep a Changelog](https://keepachangelog.com/en/1.1.
|
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- add a session-remembered Show/Hide Scripture frames toggle in Admin
|
|
10
|
+
- expand the bundled Scripture frame collection
|
|
11
|
+
|
|
12
|
+
## [1.17.1] - 2026-11-13
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- expand the bundled Scripture frame collection
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- simplify documentation
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- fix iPhone completion rendering; grow and fade the dove without a final flash
|
|
25
|
+
|
|
26
|
+
## [1.17.0] - 2026-11-12
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
10
30
|
- show random, theme-matched Scripture frames on a 3-second bread-icon hover or immediately by tap, click, or keyboard
|
|
11
31
|
- manage Scripture texts in Admin; custom texts supplement YAML defaults with automatic translation credits
|
|
12
32
|
- support custom quotations with **Author / source**, without Bible translation credits
|
|
@@ -34,13 +54,21 @@ Notable changes, following [Keep a Changelog](https://keepachangelog.com/en/1.1.
|
|
|
34
54
|
|
|
35
55
|
### Fixed
|
|
36
56
|
|
|
37
|
-
- fix iPhone completion rendering and fade the dove without a final flash
|
|
38
57
|
- hide collapsed Scripture passages immediately; restore previews on fresh hover or focus
|
|
39
|
-
- always confirm reader removal before deleting progress and reflections
|
|
40
58
|
- align Admin, Site-admin, and Alumni badges with compact, theme-matched styling
|
|
41
59
|
- shorten theme and upload hints on Admin and Profile; keep the System hint on one line
|
|
42
60
|
- avoid repeated calendar lookups when rendering the day grid
|
|
43
61
|
|
|
62
|
+
## [1.16.0] - 2026-11-10
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- preview original avatar photos after a 3-second hover; keep touch behavior unchanged
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- always confirm reader removal before deleting progress and reflections
|
|
71
|
+
|
|
44
72
|
## [1.15.1] - 2026-11-06
|
|
45
73
|
|
|
46
74
|
### Fixed
|
|
@@ -852,7 +880,10 @@ This is the initial public release.
|
|
|
852
880
|
|
|
853
881
|
- Email sign-in requires working Action Mailer delivery in the host application. Set `config.mailer_from`; delivery is inline by default, or set `email_sign_in_deliver_later` when a queue backend is available.
|
|
854
882
|
|
|
855
|
-
[Unreleased]: https://github.com/avonderluft/bible270/compare/v1.
|
|
883
|
+
[Unreleased]: https://github.com/avonderluft/bible270/compare/v1.17.1...main
|
|
884
|
+
[1.17.1]: https://github.com/avonderluft/bible270/compare/v1.17.0...v1.17.1
|
|
885
|
+
[1.17.0]: https://github.com/avonderluft/bible270/compare/v1.16.0...v1.17.0
|
|
886
|
+
[1.16.0]: https://github.com/avonderluft/bible270/compare/v1.15.1...v1.16.0
|
|
856
887
|
[1.15.1]: https://github.com/avonderluft/bible270/compare/v1.15.0...v1.15.1
|
|
857
888
|
[1.15.0]: https://github.com/avonderluft/bible270/compare/v1.14.0...v1.15.0
|
|
858
889
|
[1.14.0]: https://github.com/avonderluft/bible270/compare/v1.13.5...v1.14.0
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
<section class="b270-panel" id="b270-scripture-frames" aria-labelledby="b270-scripture-frames-heading">
|
|
2
|
-
<
|
|
3
|
-
|
|
2
|
+
<details class="b270-index b270-scripture-frames" id="b270-scripture-frames-list"
|
|
3
|
+
data-b270-admin-disclosure-key="<%= "#{admin_path}:#{@active_readers_session_key}:scripture-frames" %>" open>
|
|
4
|
+
<summary class="b270-scripture-panel-header">
|
|
5
|
+
<span class="b270-subhead" id="b270-scripture-frames-heading">
|
|
6
|
+
<span class="b270-disclosure-show">Show Scripture frames</span>
|
|
7
|
+
<span class="b270-disclosure-hide">Hide Scripture frames</span>
|
|
8
|
+
</span>
|
|
4
9
|
<% if @scripture_frame_storage %>
|
|
5
10
|
<%= link_to 'Add text', new_admin_scripture_frame_path(sort: @reader_sort), class: 'b270-btn' %>
|
|
6
11
|
<% end %>
|
|
7
|
-
</
|
|
12
|
+
</summary>
|
|
8
13
|
<% unless @scripture_frame_storage %>
|
|
9
14
|
<p class="b270-hint">Run the pending database migration to add custom texts.</p>
|
|
10
15
|
<% end %>
|
|
@@ -31,4 +36,5 @@
|
|
|
31
36
|
<% end %>
|
|
32
37
|
</div>
|
|
33
38
|
<% end %>
|
|
39
|
+
</details>
|
|
34
40
|
</section>
|
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
return;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
const selector = "details[data-b270-active-readers-key]";
|
|
8
|
+
const selector = "details[data-b270-active-readers-key], details[data-b270-admin-disclosure-key]";
|
|
9
9
|
const initialized = new WeakSet();
|
|
10
10
|
const states = new Map();
|
|
11
|
-
const keyFor = (element) =>
|
|
11
|
+
const keyFor = (element) => {
|
|
12
|
+
if (element.dataset.b270AdminDisclosureKey) return `b270-admin-disclosure:${element.dataset.b270AdminDisclosureKey}`;
|
|
13
|
+
if (element.dataset.b270ActiveReadersKey) return `b270-active-readers:${element.dataset.b270ActiveReadersKey}`;
|
|
14
|
+
return null;
|
|
15
|
+
};
|
|
12
16
|
|
|
13
17
|
function remember(element) {
|
|
14
|
-
if (!element.isConnected || !element.dataset.b270ActiveReadersKey) return;
|
|
15
18
|
const key = keyFor(element);
|
|
19
|
+
if (!element.isConnected || !key) return;
|
|
16
20
|
const value = element.open ? "open" : "closed";
|
|
17
21
|
states.set(key, value);
|
|
18
22
|
try { window.sessionStorage.setItem(key, value); } catch (_error) { /* Keep Turbo visits working without storage. */ }
|
|
@@ -20,8 +24,8 @@
|
|
|
20
24
|
|
|
21
25
|
function restore(force = false) {
|
|
22
26
|
document.querySelectorAll(selector).forEach((element) => {
|
|
23
|
-
if (!element.dataset.b270ActiveReadersKey || (initialized.has(element) && !force)) return;
|
|
24
27
|
const key = keyFor(element);
|
|
28
|
+
if (!key || (initialized.has(element) && !force)) return;
|
|
25
29
|
let value = states.get(key);
|
|
26
30
|
if (value === undefined) {
|
|
27
31
|
try { value = window.sessionStorage.getItem(key); } catch (_error) { /* Native disclosure remains usable. */ }
|
|
@@ -508,6 +508,11 @@
|
|
|
508
508
|
.b270-scripture-fields label{white-space:nowrap}
|
|
509
509
|
.b270-scripture-fields .b270-field>input,.b270-scripture-fields .b270-select-wrap{flex:1;min-width:0}
|
|
510
510
|
.b270-scripture-panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
|
|
511
|
+
details.b270-scripture-frames>summary.b270-scripture-panel-header{margin:0 0 8px}
|
|
512
|
+
.b270-scripture-frames:not([open])>:not(summary){display:none}
|
|
513
|
+
.b270-scripture-frames>.b270-scripture-panel-header .b270-disclosure-hide{display:none}
|
|
514
|
+
.b270-scripture-frames[open]>.b270-scripture-panel-header .b270-disclosure-show{display:none}
|
|
515
|
+
.b270-scripture-frames[open]>.b270-scripture-panel-header .b270-disclosure-hide{display:inline}
|
|
511
516
|
.b270-scripture-panel-header>.b270-subhead,.b270 .b270-scripture-panel-header>.b270-btn{margin:0}
|
|
512
517
|
.b270-scripture-panel-header>.b270-subhead{min-width:0;overflow-wrap:anywhere}
|
|
513
518
|
.b270 .b270-scripture-panel-header>.b270-btn{flex-shrink:0;padding:6px 10px;font-size:12.5px;white-space:nowrap}
|
|
@@ -767,8 +772,8 @@
|
|
|
767
772
|
|
|
768
773
|
.b270-footer{margin-top:20px;padding-top:11px;border-top:1px solid var(--line-soft);color:var(--faint);font-size:13px}
|
|
769
774
|
.b270-footer p{margin:0;line-height:1.5}
|
|
770
|
-
details.b270-index
|
|
771
|
-
details.b270-index
|
|
775
|
+
details.b270-index>summary{cursor:pointer;font-family:"Spectral",serif;font-size:18px;font-weight:600;list-style:none;margin-top:30px}
|
|
776
|
+
details.b270-index>summary::-webkit-details-marker{display:none}
|
|
772
777
|
details.b270-active-readers{margin-bottom:24px}
|
|
773
778
|
details.b270-active-readers>summary{margin:0 0 12px}
|
|
774
779
|
details.b270-active-readers .b270-active-readers-hide{display:none}
|
data/config/scripture_frames.yml
CHANGED
|
@@ -76,6 +76,13 @@
|
|
|
76
76
|
For the commandment is a lamp and the teaching is light;
|
|
77
77
|
And reproofs for discipline are the way of life
|
|
78
78
|
attribution: NASB 1995 © The Lockman Foundation.
|
|
79
|
+
- id: proverbs-16-20
|
|
80
|
+
reference: Proverbs 16:20
|
|
81
|
+
translation: NASB95
|
|
82
|
+
text: |-
|
|
83
|
+
He who gives attention to the word will find good,
|
|
84
|
+
And blessed is he who trusts in the LORD.
|
|
85
|
+
attribution: NASB 1995 © The Lockman Foundation.
|
|
79
86
|
- id: isaiah-55-11
|
|
80
87
|
reference: Isaiah 55:11
|
|
81
88
|
translation: ESV
|
data/lib/bible270/version.rb
CHANGED