Skip to content

Commit 783558b

Browse files
hhkaoscodex
andcommitted
feat: add template version metadata
Add the VERSION marker and initial changelog for dashboard update checks. Expose the detected repository to the central dashboard checks script and mount its status UI. Co-Authored-By: Codex <noreply@openai.com>
1 parent 23f7b9a commit 783558b

3 files changed

Lines changed: 41 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
Notable changes to the OTE template — the files that live in *your* fork
4+
(dashboard, thin workflows, issue templates, docs). Improvements to validation
5+
and exports arrive automatically via `OpenTechEvents/ote-tools` and are **not**
6+
tracked here.
7+
8+
This file, together with the [`VERSION`](VERSION) marker, is what the dashboard
9+
reads to tell you a newer template is available and what it changed. To pull an
10+
update in: `git pull upstream main` (see the README's *Updates* section).
11+
12+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
13+
versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
14+
15+
## [0.1.0] - 2026-07-17
16+
17+
Phase 1 (MVP): fork → configure three values → a validated OTE feed with ICS/RSS
18+
exports published on GitHub Pages.
19+
20+
### Added
21+
- Thin workflows calling `ote-tools` reusable workflows: validate, publish
22+
(build Pages), and issue-to-PR.
23+
- Static dashboard (`docs/index.html`) linking to the central tools, with the
24+
adopter-registry banner.
25+
- `propose-event` issue form and the `ote-event` label contract.
26+
- `ote.config.json`, sample events, `CONTRIBUTING.md`, and the setup guide.
27+
- `VERSION` + this changelog, so the dashboard can surface template updates
28+
client-side.

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0

docs/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<h1>📅 Open Tech Events — dashboard</h1>
2121
<p>Repository: <strong id="repo">detecting…</strong></p>
2222

23+
<!-- Mount point for the central dashboard checks (setup check + template-update
24+
banner). Filled by dashboard-checks.js, served from the OTE tools. Empty if
25+
that script is unavailable — the page works without it. -->
26+
<div id="ote-checks" aria-live="polite"></div>
27+
2328
<h2>Your feed</h2>
2429
<ul>
2530
<li><a href="feed.json">feed.json</a> — OTE feed</li>
@@ -55,6 +60,8 @@ <h2>Tools</h2>
5560
var el = document.getElementById("repo");
5661
if (repo) {
5762
el.textContent = repo;
63+
// Expose the detected repo for the central dashboard-checks.js script.
64+
window.OTE_REPO = repo;
5865
var base = "https://tools.opentechevents.org/";
5966
["editor", "publish", "preview"].forEach(function (t) {
6067
document.getElementById(t).href = base + t + "?repo=" + encodeURIComponent(repo);
@@ -106,5 +113,10 @@ <h2>Tools</h2>
106113
.catch(function () {});
107114
})();
108115
</script>
116+
117+
<!-- Central dashboard checks: on-demand setup check + template-update banner.
118+
Logic lives in OpenTechEvents/ote-tools so it improves without a fork pull.
119+
Reads window.OTE_REPO, mounts into #ote-checks, fails silently if offline. -->
120+
<script defer src="https://tools.opentechevents.org/dashboard-checks.js" onerror="void 0"></script>
109121
</body>
110122
</html>

0 commit comments

Comments
 (0)