Skip to content

Commit 4e901ad

Browse files
hhkaosclaude
andcommitted
Show app version and changelog link, release 0.2.0
The version had drifted from what's actually deployed (still 0.1.0 despite several shipped features/fixes), making it hard to tell which build a bug report was filed against. Close out the changelog's Unreleased section as 0.2.0 and surface it in the Ajustes modal alongside a link to the changelog. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 603156b commit 4e901ad

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OTE Reader changelog
22

3-
## Unreleased
3+
## 0.2.0 - 2026-08-12
44

55
### Fixed
66

app.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(function () {
22
'use strict';
33

4+
var APP_VERSION = '0.2.0';
45
var DEMO_MODE = new URLSearchParams(location.search).get('demo') === '1' || location.pathname.replace(/\/+$/, '').endsWith('/demo');
56
var STORAGE = DEMO_MODE ? 'ote-reader-demo-state-v1' : 'ote-reader-state-v1';
67
var INSTALL_DISMISSED = 'ote-reader-install-dismissed-v1';
@@ -1619,6 +1620,10 @@
16191620
$('demo-bar').hidden = !DEMO_MODE;
16201621
}
16211622

1623+
function initVersionUi() {
1624+
$('app-version').textContent = 'v' + APP_VERSION;
1625+
}
1626+
16221627
function exitDemo(event) {
16231628
var target = location.origin + '/';
16241629
if (window.top !== window.self) {
@@ -1679,6 +1684,7 @@
16791684
async function boot() {
16801685
initTheme();
16811686
initWidthPreference();
1687+
initVersionUi();
16821688
loadState();
16831689
bind();
16841690
updateInstallUi();

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,10 @@ <h3>Descubrimiento OTE</h3>
225225
<h3>Vistas</h3>
226226
<p><strong>Tarjetas</strong> prioriza lectura visual. <strong>RSS</strong> ordena por últimos cambios. <strong>Calendario</strong> agrupa por mes.</p>
227227
<h3>Open source</h3>
228-
<p>OTE Reader es un proyecto abierto. Puedes hacer fork del repositorio para personalizar feeds iniciales, estilos o flujos para tu comunidad.</p>
228+
<p>OTE Reader <span id="app-version"></span> es un proyecto abierto. Puedes hacer fork del repositorio para personalizar feeds iniciales, estilos o flujos para tu comunidad.</p>
229229
<div class="link-actions">
230230
<a class="ghost-link" href="https://github.com/OpenTechEvents/ote-reader" target="_blank" rel="noopener">Ver repositorio</a>
231+
<a class="ghost-link" href="https://github.com/OpenTechEvents/ote-reader/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Ver changelog</a>
231232
<a class="ghost-link" href="https://github.com/OpenTechEvents/ote-reader/issues/new" target="_blank" rel="noopener">Reportar bug o mejora</a>
232233
</div>
233234
<div class="help-install" id="help-install" hidden>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ote-reader",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"private": true,
55
"type": "module",
66
"description": "Attendee-facing PWA for subscribing to OpenTechEvents feeds.",

0 commit comments

Comments
 (0)