Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13a2253e0f | |||
| ad780703ab |
2
.npmrc
2
.npmrc
@@ -1 +1 @@
|
||||
@add-ideas:registry=https://git.add-ideas.de/api/packages/zemion/npm/
|
||||
@add-ideas:registry=https://git.add-ideas.de/api/packages/lotobo/npm/
|
||||
|
||||
15
CHANGELOG.md
15
CHANGELOG.md
@@ -1,5 +1,20 @@
|
||||
# Changelog
|
||||
|
||||
## 0.3.4 - 2026-07-27
|
||||
|
||||
- Move the canonical source, manifest schema links, and package registry from
|
||||
the personal `zemion` namespace to the `lotobo` (LocalToolBox) Gitea
|
||||
organization.
|
||||
- Upgrade the Toolbox contract, React shell, and validation testkit to 0.2.3,
|
||||
republished from the organization-owned registry without functional shell
|
||||
changes.
|
||||
|
||||
## 0.3.3 - 2026-07-23
|
||||
|
||||
- Let the OneNote application use the full width supplied by the shared
|
||||
Toolbox shell, matching the shell bar's `min(100%, 90rem)` content span
|
||||
instead of retaining the former 76rem application cap.
|
||||
|
||||
## 0.3.2 - 2026-07-23
|
||||
|
||||
- Upgrade the Toolbox contract, React shell, and validation testkit to 0.2.2,
|
||||
|
||||
@@ -9,13 +9,14 @@ It is also an independent application in the add·ideas Toolbox contract. The
|
||||
source uses the Toolbox SDK shell and manifest, builds with Vite `base: './'`,
|
||||
and is delivered to Toolbox Portal as a checksummed static ZIP.
|
||||
|
||||
Version 0.3.2 uses the stable shared top bar, with the Toolbox icon and
|
||||
Version 0.3.4 uses the stable shared top bar, with the Toolbox icon and
|
||||
`add·ideas Toolbox` label in a fixed far-left block; the app title and one
|
||||
tagline centered; and Help, the OneNote source link, Apps, and Personalize in a
|
||||
fixed far-right cluster. Personalize uses the shared portal-style appearance
|
||||
panel while catalogue counts and preference import/export stay in the portal.
|
||||
The application content uses the same `min(100%, 90rem)` span as the shell bar.
|
||||
|
||||
## What version 0.3.2 supports
|
||||
## What version 0.3.4 supports
|
||||
|
||||
- Desktop revision-store and unfragmented FSSHTTPB package-store `.one`
|
||||
sections from the tested producer families.
|
||||
@@ -86,7 +87,7 @@ supplied through the SDK's `?toolbox=` context mechanism. The app uses the SDK
|
||||
|
||||
```sh
|
||||
npm run release:artifact
|
||||
(cd release && sha256sum -c onenote-tools-0.3.2.sha256)
|
||||
(cd release && sha256sum -c onenote-tools-0.3.4.sha256)
|
||||
```
|
||||
|
||||
The ZIP root contains the built static app and manifest plus the changelog,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Corresponding source
|
||||
|
||||
The corresponding source for OneNote Tools 0.3.2 is the `v0.3.2` tag:
|
||||
The corresponding source for OneNote Tools 0.3.4 is the `v0.3.4` tag:
|
||||
|
||||
https://git.add-ideas.de/zemion/onenote-tools/src/tag/v0.3.2
|
||||
https://git.add-ideas.de/lotobo/onenote-tools/src/tag/v0.3.4
|
||||
|
||||
Build the release from that tag with Node.js 22 or newer:
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
The production application uses:
|
||||
|
||||
- `@add-ideas/toolbox-contract` 0.2.2, Apache-2.0;
|
||||
- `@add-ideas/toolbox-shell-react` 0.2.2, Apache-2.0;
|
||||
- `@add-ideas/toolbox-contract` 0.2.3, Apache-2.0;
|
||||
- `@add-ideas/toolbox-shell-react` 0.2.3, Apache-2.0;
|
||||
- fflate 0.8.3, MIT;
|
||||
- React, React DOM, and Scheduler, MIT.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Format support
|
||||
|
||||
## Version 0.3.2 support matrix
|
||||
## Version 0.3.4 support matrix
|
||||
|
||||
| Input or feature | Status | Tested evidence and boundary |
|
||||
| -------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------- |
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# Specifications and pinned references
|
||||
|
||||
Version 0.3.2 records these immutable implementation revisions:
|
||||
Version 0.3.4 records these immutable implementation revisions:
|
||||
|
||||
| Repository | Exact revision | Use |
|
||||
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------- |
|
||||
| [`toolbox-sdk`](https://git.add-ideas.de/zemion/toolbox-sdk/src/commit/53c40a61ba1581246f65773fcbb1c1cfd31ac98e) | `53c40a61ba1581246f65773fcbb1c1cfd31ac98e` | App contract, React shell, manifest schema/testkit, and nested-path behavior |
|
||||
| [`toolbox-portal`](https://git.add-ideas.de/zemion/toolbox-portal/src/commit/d46f1b61fb85a18299b6b8af2148dcd991ef6b05) | `d46f1b61fb85a18299b6b8af2148dcd991ef6b05` | Reviewed ZIP shape, exact checksum lock, independent-app assembly, and nginx deployment model |
|
||||
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------- |
|
||||
| [`toolbox-sdk`](https://git.add-ideas.de/lotobo/toolbox-sdk/src/commit/ef2dab4b46c61812c9a877d8a19fe497b4a4630a) | `ef2dab4b46c61812c9a877d8a19fe497b4a4630a` | App contract, React shell, manifest schema/testkit, package registry, and nested-path behavior |
|
||||
| [`toolbox-portal`](https://git.add-ideas.de/lotobo/toolbox-portal/src/commit/d46f1b61fb85a18299b6b8af2148dcd991ef6b05) | `d46f1b61fb85a18299b6b8af2148dcd991ef6b05` | Reviewed ZIP shape, exact checksum lock, independent-app assembly, and nginx deployment model |
|
||||
| [`onenote.rs`](https://github.com/msiemens/onenote.rs/tree/5138a39a3f4e72b840932f9872fecde52fa9da60) | `5138a39a3f4e72b840932f9872fecde52fa9da60` | Selected desktop/FSSHTTPB OneStore and MS-ONE structures adapted into TypeScript |
|
||||
| [`rust-cab`](https://github.com/mdsteele/rust-cab/tree/c5839f5fdfa4c4e7cc9b22f570c79c96af0560e2) | `c5839f5fdfa4c4e7cc9b22f570c79c96af0560e2` | CAB structures, checksum, enumeration/extraction, MSZIP history, and unit fixtures |
|
||||
| [`compcol`](https://github.com/KarpelesLab/compcol/tree/04a6db2aa7bd487a89c559631d79d1b384139f50) | `04a6db2aa7bd487a89c559631d79d1b384139f50` | Quantum bit reader, arithmetic models, LZ window, CAB sentinel behavior, and tests |
|
||||
|
||||
32
package-lock.json
generated
32
package-lock.json
generated
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "onenote-tools",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "onenote-tools",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.4",
|
||||
"license": "MPL-2.0 AND LGPL-2.1-only",
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.2",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.2",
|
||||
"@add-ideas/toolbox-contract": "0.2.3",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.3",
|
||||
"fflate": "^0.8.3",
|
||||
"react": "^19.2.6",
|
||||
"react-dom": "^19.2.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@add-ideas/toolbox-testkit": "0.2.2",
|
||||
"@add-ideas/toolbox-testkit": "0.2.3",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
@@ -42,18 +42,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@add-ideas/toolbox-contract": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/zemion/npm/%40add-ideas%2Ftoolbox-contract/-/0.2.2/toolbox-contract-0.2.2.tgz",
|
||||
"integrity": "sha512-VcZ8j4O2PgFaIYgxs6r9u0uPxA+hHKwhCW+omfeVCtbjAAYhH2KhRlBGm0ERVVYcK5kchyzZLXrC4LKWRotVzg==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/lotobo/npm/%40add-ideas%2Ftoolbox-contract/-/0.2.3/toolbox-contract-0.2.3.tgz",
|
||||
"integrity": "sha512-T0PVSuMT40GjTDfQJhEEY3ZawQq8zz1/ry95JdKI6W39CdLacaRXdGnEpDCMHt+jUbf1Jz7Nat/M5dFCgKVM9A==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@add-ideas/toolbox-shell-react": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/zemion/npm/%40add-ideas%2Ftoolbox-shell-react/-/0.2.2/toolbox-shell-react-0.2.2.tgz",
|
||||
"integrity": "sha512-w/xbLCd50a2Jq7vQ9Z9ygUOuqlOCRkIYlk4vSJx0mf4REJNeMYi3PE2MbaLUC4DkQWyrmatsa5HNT89o0l91BA==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/lotobo/npm/%40add-ideas%2Ftoolbox-shell-react/-/0.2.3/toolbox-shell-react-0.2.3.tgz",
|
||||
"integrity": "sha512-DT5lQDH48BFkFcmFLZnQh7+Cm73JzBPcmp5WzUXypfkUXpEyDYHzaXgmW4kZ0edSwh4RK4sPmx+JPtK0X4aKCQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.2"
|
||||
"@add-ideas/toolbox-contract": "0.2.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18 <20",
|
||||
@@ -61,13 +61,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@add-ideas/toolbox-testkit": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/zemion/npm/%40add-ideas%2Ftoolbox-testkit/-/0.2.2/toolbox-testkit-0.2.2.tgz",
|
||||
"integrity": "sha512-ZxrRYiJI/j5aXwcd3mQItgDl1iOJ6N26+MpIG18qVZNwKKFCTCfSTzgzRooPt8rRc1MQYTPo4c+l/QpOWuTXxA==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/lotobo/npm/%40add-ideas%2Ftoolbox-testkit/-/0.2.3/toolbox-testkit-0.2.3.tgz",
|
||||
"integrity": "sha512-sq1MwhKWfFKen+N+124hl74qQimRSvmQ9sOU7jdcI+2qCKZ67+2B8rWyezeV80uTFu4Jv6deHksfYQ/tKNV6XQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.2"
|
||||
"@add-ideas/toolbox-contract": "0.2.3"
|
||||
},
|
||||
"bin": {
|
||||
"toolbox-check": "dist/cli.js"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "onenote-tools",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.4",
|
||||
"description": "A local-first browser reader and exporter for OneNote files.",
|
||||
"license": "MPL-2.0 AND LGPL-2.1-only",
|
||||
"private": true,
|
||||
@@ -27,14 +27,14 @@
|
||||
"check": "npm run manifest:check && npm run typecheck && npm run lint && npm run format:check && npm run test && npm run build && npm run toolbox:check"
|
||||
},
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.2",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.2",
|
||||
"@add-ideas/toolbox-contract": "0.2.3",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.3",
|
||||
"fflate": "^0.8.3",
|
||||
"react": "^19.2.6",
|
||||
"react-dom": "^19.2.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@add-ideas/toolbox-testkit": "0.2.2",
|
||||
"@add-ideas/toolbox-testkit": "0.2.3",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://git.add-ideas.de/zemion/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json",
|
||||
"$schema": "https://git.add-ideas.de/lotobo/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json",
|
||||
"schemaVersion": 1,
|
||||
"id": "de.add-ideas.onenote-tools",
|
||||
"name": "OneNote Tools",
|
||||
@@ -37,8 +37,8 @@
|
||||
"label": "Local only · no uploads · no storage · no telemetry"
|
||||
},
|
||||
"source": {
|
||||
"repository": "https://git.add-ideas.de/zemion/onenote-tools",
|
||||
"repository": "https://git.add-ideas.de/lotobo/onenote-tools",
|
||||
"license": "MPL-2.0 AND LGPL-2.1-only"
|
||||
},
|
||||
"version": "0.3.2"
|
||||
"version": "0.3.4"
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ if (sourceVersion !== packageJson.version) {
|
||||
|
||||
const manifest = {
|
||||
$schema:
|
||||
'https://git.add-ideas.de/zemion/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json',
|
||||
'https://git.add-ideas.de/lotobo/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json',
|
||||
schemaVersion: 1,
|
||||
...definition,
|
||||
version: packageJson.version,
|
||||
|
||||
@@ -20,7 +20,7 @@ describe('Toolbox application shell', () => {
|
||||
screen.getByRole('link', {
|
||||
name: 'Source for OneNote Tools on Gitea',
|
||||
})
|
||||
).toHaveAttribute('href', 'https://git.add-ideas.de/zemion/onenote-tools');
|
||||
).toHaveAttribute('href', 'https://git.add-ideas.de/lotobo/onenote-tools');
|
||||
expect(
|
||||
Array.from(
|
||||
screen.getByRole('group', { name: 'Toolbox controls' }).children,
|
||||
|
||||
21
src/application-width.test.ts
Normal file
21
src/application-width.test.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { readFile } from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
describe('application width', () => {
|
||||
it('uses the complete width supplied by the shared Toolbox shell', async () => {
|
||||
const stylesheet = await readFile(
|
||||
path.join(process.cwd(), 'src', 'styles.css'),
|
||||
'utf8'
|
||||
);
|
||||
const applicationRules = Array.from(
|
||||
stylesheet.matchAll(/\.application\s*\{([^}]*)\}/g),
|
||||
(match) => match[1] ?? ''
|
||||
);
|
||||
|
||||
expect(applicationRules).not.toHaveLength(0);
|
||||
expect(applicationRules.join('\n')).toMatch(/\bwidth:\s*100%;/);
|
||||
expect(applicationRules.join('\n')).not.toMatch(/\bwidth:\s*min\(/);
|
||||
});
|
||||
});
|
||||
@@ -106,7 +106,7 @@ body {
|
||||
.application {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
width: min(76rem, calc(100% - 2rem));
|
||||
width: 100%;
|
||||
margin: 2rem auto;
|
||||
}
|
||||
|
||||
@@ -801,7 +801,6 @@ body {
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.application {
|
||||
width: min(100% - 1rem, 76rem);
|
||||
margin: 0.75rem auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"label": "Local only · no uploads · no storage · no telemetry"
|
||||
},
|
||||
"source": {
|
||||
"repository": "https://git.add-ideas.de/zemion/onenote-tools",
|
||||
"repository": "https://git.add-ideas.de/lotobo/onenote-tools",
|
||||
"license": "MPL-2.0 AND LGPL-2.1-only"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const APP_VERSION = '0.3.2';
|
||||
export const APP_VERSION = '0.3.4';
|
||||
|
||||
@@ -53,8 +53,8 @@ describe('release archive', () => {
|
||||
'react',
|
||||
]);
|
||||
const text = bundle.toString('utf8');
|
||||
expect(text).toContain('@add-ideas/toolbox-contract@0.2.2');
|
||||
expect(text).toContain('@add-ideas/toolbox-shell-react@0.2.2');
|
||||
expect(text).toContain('@add-ideas/toolbox-contract@0.2.3');
|
||||
expect(text).toContain('@add-ideas/toolbox-shell-react@0.2.3');
|
||||
expect(text).toContain('react@');
|
||||
expect(createHash('sha256').update(bundle).digest('hex')).toMatch(
|
||||
/^[a-f0-9]{64}$/
|
||||
|
||||
Reference in New Issue
Block a user