13e66e4f93
Move dialog open to its own function.
2026-08-20 14:52:51 -06:00
907ad0dd5d
Updated translation ordering.
2026-08-20 13:35:41 -06:00
c47bf0d0e0
Apparently there's a weird behavior in Android Chrome that this fixes.
...
The bug is that hitting "back" will trigger a cancel event and then the
dialog::backdrop will be removed first. The second "back" press will
remove the dialog or actually trigger history.back(), navigating back in
state.
The fix for this is to intercept the "cancel" event on the dialog and
then handle history management from there. Apparently this issue will be
triggered even if the history API isn't used, and the only way the user
can navigate normally with the dialog present is to actually hook into
the history API.
So, this is kind of a necessary change.
Annoying.
Thanks, Gemini, for the introspection and links.
2026-08-20 11:38:40 -06:00
045580d30f
Merge branch 'master' into translation-selection
2026-08-20 09:53:20 -06:00
5fc891af9a
Fix dialog scrollbar for Chrome/Chromium.
2026-08-20 09:52:39 -06:00
efa86c6581
Disable state management for now.
2026-08-20 08:37:07 -06:00
8b5d92591d
History implementation appears to cause issues in Chrome.
...
It would seem that Chrome's history state with dialog.showModal causes
issues requiring hitting "back" twice, even if history.pushState isn't
ever used.
2026-08-20 08:32:10 -06:00
3d09ba37b7
Added label to select and updated light/dark styles.
2026-08-19 17:54:28 -06:00
fed682dff2
Removed/reordered Bibles.
2026-08-19 17:54:02 -06:00
ae202e9ce6
Monitor pushState/popState for dismissing dialog(s).
2026-08-19 17:53:26 -06:00
acfd8cdd29
Enabled a few other translations.
2026-08-19 15:35:25 -06:00
9e368526c4
Updated drop-down and renderer for more testament-centry logic.
...
In the case of the drop-down, if a translation doesn't contain the
visible testament (e.g. the LXX while opening a NT passage), it will be
excluded from the list.
In the case of opening a link that is not contained in the currently
configured translation, a reasonable default will be selected instead.
2026-08-19 14:45:15 -06:00
2f15176981
Updated meta to contain testaments and included testament default
...
translations.
2026-08-19 14:44:45 -06:00
4e908fdafb
Missing utils.
2026-08-19 14:10:35 -06:00
f961e390a1
Adjusted styling.
2026-08-18 21:19:46 -06:00
9fcbbcad30
Shortened titles.
2026-08-18 21:19:23 -06:00
780aeca7ca
Updated translation sorting.
2026-08-18 20:59:33 -06:00
a270c45edc
Removed dead code.
2026-08-18 20:51:01 -06:00
6de6396023
Removed unused code.
2026-08-18 20:50:34 -06:00
011142c578
Removed debugging output.
2026-08-18 20:50:12 -06:00
639dba4520
Moved dialog handling into a JS class for some state management.
...
Translation selection requires localStorage support for state to be
remembered between sessions.
2026-08-18 20:48:25 -06:00
fb03cb3872
Remove currently broken translations.
...
Most breakage appears to be due to parsing constraints.
2026-08-18 20:47:56 -06:00
35cb0f1f6a
Preliminary logic for selection translation.
2026-08-18 15:23:25 -06:00
5bbdf4e4b5
Translations now contains translation name.
2026-08-18 15:23:15 -06:00
95cadfcb1e
Added translation selection to dialog.
2026-08-18 15:22:38 -06:00
bf5a36d590
Removed debugging output from console.
2026-08-18 14:56:56 -06:00
2f95b6c80a
Missed errant string replacement.
...
Evidently when I was replacing a few strings I failed to catch that it
replaced the leading "1" on Matthew "14" producing "Matthew 4."
2026-08-17 21:42:17 -06:00
1374ca3ff5
Bump revision date.
2026-08-17 21:37:49 -06:00
558dd6b3ac
Several changes to meta handling and rendering:
...
1) Translation metadata has move from t9nmeta.js to meta.js.
2) Translation metadata is now going to be generated by
tools/genbooks.py (incomplete)
3) Translation metadata now includes a default translation to use via
the helloao.org API.
4) Link to Bible Gateway has been removed from the scripture dialog.
2026-08-17 19:43:54 -06:00
56b9c5997f
Merge branch 'master' into translation-selection
2026-08-17 10:40:57 -06:00
658ac64fee
Missed scripture designation to resolve ambiguity.
2026-08-16 19:38:35 -06:00
c9ae84e07f
Edits.
2026-08-16 19:32:33 -06:00
c55661f748
Edit and replaced stylized quotes from Logos.
2026-08-16 19:22:59 -06:00
687462adf7
Updated notes. Currently unedited in the text but links and footnotes
...
are added.
2026-08-16 19:20:15 -06:00
6f85c35e22
Added notes for today. Unedited.
2026-08-16 17:53:18 -06:00
a1d73849fa
Added notes for today. Unedited.
2026-08-16 17:48:46 -06:00
b541b45062
Moved metadata to separate file. This will be generated automatically in
...
the future.
2026-08-13 17:01:13 -06:00
b081642925
Available translations container.
...
Upon thinking about this, I believe it may be a better idea to include
additional metadata as well. This meay require a script.
2026-08-13 13:31:26 -06:00
c86b3daf90
Astro v7 Rust compiler treats spacing differently. Fixed close button.
2026-08-11 20:57:32 -06:00
845e17727a
Width/display tweaks for different breakpoints.
2026-08-11 20:56:28 -06:00
d74e990709
Removed extraneous tags.
2026-08-11 20:55:58 -06:00
882e6f5a92
Added "og:" meta tags.
...
This should allow for additional card support, e.g. in Discord.
2026-08-10 14:59:05 -06:00
ebc18977cd
Fix pagination spacing.
2026-08-10 14:39:11 -06:00
0358ca676b
Unclosed/unused tag.
2026-08-10 14:36:19 -06:00
f96b0ca90b
Edits.
2026-08-09 19:28:15 -06:00
8525cdd5bf
Added notes and headers for today.
...
Notes require editing before deployment.
2026-08-09 16:52:49 -06:00
17af56303f
Fixed "open" hint for Bible Gateway.
2026-08-09 14:20:40 -06:00
861c1bf3cc
Light/dark style tweaks for notes types.
2026-08-07 14:41:26 -06:00
0087584b65
Added icons to indicate available notes types.
2026-08-07 14:40:12 -06:00
0a6778aeb7
Added SVG icons.
2026-08-07 14:39:50 -06:00