fix(web): mention the Apache-2.0 files in Settings > About

Waggle is MIT-licensed except the files of packages/core copied from
hive-mind-core; the About text and the License dialog say so.
This commit is contained in:
shumeiko.it
2026-11-04 10:36:23 +01:00
parent c4580b95f8
commit fc9ab861ee

View File

@@ -17,7 +17,7 @@ type DocumentState = { status: 'loading' } | { status: 'ready'; text: string } |
const DOCUMENTS: Record<LegalDocument, { label: string; description: string }> = { const DOCUMENTS: Record<LegalDocument, { label: string; description: string }> = {
license: { license: {
label: 'License', label: 'License',
description: 'The MIT License that covers Waggle.', description: 'The MIT License that covers Waggle. Third-party licenses lists the few files under the Apache License 2.0.',
}, },
'third-party-notices': { 'third-party-notices': {
label: 'Third-party licenses', label: 'Third-party licenses',
@@ -49,7 +49,7 @@ export default function LegalNotices() {
About About
</h3> </h3>
<p className="text-[11px] text-muted-foreground leading-relaxed"> <p className="text-[11px] text-muted-foreground leading-relaxed">
Waggle is open-source software under the MIT License. The open-source components it ships keep their own licenses. Waggle is open-source software under the MIT License, with a few files under the Apache License 2.0. The open-source components it ships keep their own licenses.
</p> </p>
<div className="flex flex-wrap gap-2"> <div className="flex flex-wrap gap-2">
{(Object.keys(DOCUMENTS) as LegalDocument[]).map((document) => ( {(Object.keys(DOCUMENTS) as LegalDocument[]).map((document) => (