The version was duplicated in the server, the About panel and the release scripts, and had already drifted once. The server health endpoint and the About panel now take it from package.json, and the help sheet gained an About section that shows the version alongside the guide details.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { useEffect } from 'react';
|
||||
import { APP_VERSION, GUIDE_UPDATED, GUIDE_VERSION } from '../lib/about';
|
||||
|
||||
const GROUPS: { title: string; rows: [string, string][] }[] = [
|
||||
{
|
||||
@@ -96,6 +97,13 @@ export default function Shortcuts({ onClose }: { onClose: () => void }) {
|
||||
<p>Hover a panel seam to reveal its collapse tab. Press Tab to move focus, or ? for this list.</p>
|
||||
<p>⌘K / Ctrl+K searches the whole catalog without changing your current filters.</p>
|
||||
</section>
|
||||
<section className="shortcut-start shortcut-about">
|
||||
<h3>About Luminary</h3>
|
||||
<p>
|
||||
Version {APP_VERSION} · Beta · user guide {GUIDE_VERSION}, updated {GUIDE_UPDATED}.
|
||||
</p>
|
||||
<p>Click the Luminary name in the top bar for the full About panel and the PDF guide.</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user