← Basic
+Tokens
+(start typing)+
diff --git a/.claude/settings.json b/.claude/settings.json index 8674c2107..08ea08efd 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -15,6 +15,7 @@ "Read(/hyperformula/test-jasmine/**)", "Read(/hyperformula/typedoc/**)", "Read(/hyperformula/storage/**)", + "Read(/hyperformula-ui/packages/core/dist/**)", "Read(/docs/functions/**)", "Read(/docs/.vuepress/dist/**)", "Read(/docs/.vuepress/api-sidebar.json)", diff --git a/.claude/skills/hyperformula-code-review/SKILL.md b/.claude/skills/hyperformula-code-review/SKILL.md index bb5d236f5..ab9046905 100644 --- a/.claude/skills/hyperformula-code-review/SKILL.md +++ b/.claude/skills/hyperformula-code-review/SKILL.md @@ -1,6 +1,6 @@ --- name: hyperformula-code-review -description: Use when reviewing a diff, a branch, or a pull request in the HyperFormula repository. Covers the review order, correctness and Excel compatibility for a calculation engine, performance on the hot paths, the six places a function change must touch, the public API, what the definition of done requires, and how to report findings. +description: Use when reviewing a diff, a branch, or a pull request in the HyperFormula repository, in the engine or in the hyperformula-ui formula editor. Covers the review order, correctness and Excel compatibility for a calculation engine, performance on the hot paths, the six places a function change must touch, the formula editor's invariants, the public API, what the definition of done requires, and how to report findings. --- ## 1. Read the relevant files from `dev-docs/` @@ -10,16 +10,21 @@ Always: | File | Why | |---|---| | [`CODE-REVIEW.md`](../../../dev-docs/CODE-REVIEW.md) | How to review: principles, review order, review-specific checks, reporting | -| [`REVIEWING.md`](../../../hyperformula/dev-docs/REVIEWING.md) | What to look for in each category of an engine change | | [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | What the change was required to contain | -| [`CODE-STYLE.md`](../../../dev-docs/CODE-STYLE.md) | Style, and which paths are hot enough that complexity matters | | [`TESTING.md`](../../../dev-docs/TESTING.md#a-test-must-prove-behaviour) | Whether the tests prove anything, or only execute code | -Then the page covering what the diff touches: [`ARCHITECTURE.md`](../../../hyperformula/dev-docs/ARCHITECTURE.md), [`PARSER.md`](../../../hyperformula/dev-docs/PARSER.md), [`INTERPRETER.md`](../../../hyperformula/dev-docs/INTERPRETER.md), [`DEPENDENCY-GRAPH.md`](../../../hyperformula/dev-docs/DEPENDENCY-GRAPH.md), [`FUNCTION-CATALOGUE.md`](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md), [`I18N.md`](../../../hyperformula/dev-docs/I18N.md), [`LICENSING.md`](../../../hyperformula/dev-docs/LICENSING.md), [`EXCEL-COMPATIBILITY.md`](../../../hyperformula/dev-docs/EXCEL-COMPATIBILITY.md), [`PUBLIC-API.md`](../../../hyperformula/dev-docs/PUBLIC-API.md). +Then, for each part of the repository the diff touches: + +| Diff touches | Read | +|---|---| +| `hyperformula/` | [`REVIEWING.md`](../../../hyperformula/dev-docs/REVIEWING.md) for what to look for in each category, and [`CODE-STYLE.md`](../../../dev-docs/CODE-STYLE.md) for style and the hot paths | +| `hyperformula-ui/` | [`REVIEWING.md`](../../../hyperformula-ui/dev-docs/REVIEWING.md) for what to look for in each category, the editor's invariants among them, and [`CODE-STYLE.md`](../../../hyperformula-ui/dev-docs/CODE-STYLE.md) for its own conventions | + +For an engine change, also the page covering what the diff touches: [`ARCHITECTURE.md`](../../../hyperformula/dev-docs/ARCHITECTURE.md), [`PARSER.md`](../../../hyperformula/dev-docs/PARSER.md), [`INTERPRETER.md`](../../../hyperformula/dev-docs/INTERPRETER.md), [`DEPENDENCY-GRAPH.md`](../../../hyperformula/dev-docs/DEPENDENCY-GRAPH.md), [`FUNCTION-CATALOGUE.md`](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md), [`I18N.md`](../../../hyperformula/dev-docs/I18N.md), [`LICENSING.md`](../../../hyperformula/dev-docs/LICENSING.md), [`EXCEL-COMPATIBILITY.md`](../../../hyperformula/dev-docs/EXCEL-COMPATIBILITY.md), [`PUBLIC-API.md`](../../../hyperformula/dev-docs/PUBLIC-API.md). ## 2. Work through them in order -1. Review each category in the [review order](../../../dev-docs/CODE-REVIEW.md#review-order), using the checks for it in [`REVIEWING.md`](../../../hyperformula/dev-docs/REVIEWING.md). Stop to report the first serious finding. +1. Review each category in the [review order](../../../dev-docs/CODE-REVIEW.md#review-order), using the checks for it in the `REVIEWING.md` of the part the diff touches. Stop to report the first serious finding. 2. Go through [The change follows our guidelines](../../../dev-docs/CODE-REVIEW.md#the-change-follows-our-guidelines) and the [review-specific checks](../../../dev-docs/CODE-REVIEW.md#review-specific-checks). ## 3. You report; the developer decides diff --git a/.claude/skills/hyperformula-ui-dev/SKILL.md b/.claude/skills/hyperformula-ui-dev/SKILL.md new file mode 100644 index 000000000..73981c50a --- /dev/null +++ b/.claude/skills/hyperformula-ui-dev/SKILL.md @@ -0,0 +1,39 @@ +--- +name: hyperformula-ui-dev +description: > + Use for ANY work in `hyperformula-ui/`: the formula editor package (`hyperformula-ui`, + in `hyperformula-ui/packages/core/`), its demo, its end-to-end suite, its build scripts + and its shared configuration. Covers the editor, the formula bar, the lexer, the kernel, + reference highlighting, autocomplete and function help popups, keyboard shortcuts, + `IGridAdapter`, the generated stylesheet and API docs, and releasing the package. Triggers + on file paths under `hyperformula-ui/`, or when the user describes a symptom in the formula + editor without naming a file. Its code style is not the engine's: load this skill instead + of `hyperformula-dev` for anything in this folder. +--- + +## 1. Read the relevant files from `dev-docs/` + +Always: + +| File | Why | +|---|---| +| [`ARCHITECTURE.md`](../../../hyperformula-ui/dev-docs/ARCHITECTURE.md) | The components, the data flow, and the invariants every change keeps | +| [`CODE-STYLE.md`](../../../hyperformula-ui/dev-docs/CODE-STYLE.md) | The conventions inside `hyperformula-ui/`, which differ from the engine's | +| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | What the change must contain before review | + +Then the page for what you are changing: + +| File | For | +|---|---| +| [`EDITOR-TASKS.md`](../../../hyperformula-ui/dev-docs/EDITOR-TASKS.md) | Which files implement tokenization, shortcuts, highlights, popups and the overlay | +| [`KEYBOARD-SHORTCUTS.md`](../../../hyperformula-ui/dev-docs/KEYBOARD-SHORTCUTS.md) | Any change to what a key does | +| [`SPEC.md`](../../../hyperformula-ui/dev-docs/SPEC.md) | The public API, the adapter contract, CSS, and the commands | +| [`TESTING.md`](../../../hyperformula-ui/dev-docs/TESTING.md) | Writing the test the change needs | +| [`RELEASE.md`](../../../hyperformula-ui/dev-docs/RELEASE.md) | Publishing the package — only when asked to release | + +## 2. Work through them in order + +1. Find the files with [`EDITOR-TASKS.md`](../../../hyperformula-ui/dev-docs/EDITOR-TASKS.md), and the invariants they must keep with [Key invariants](../../../hyperformula-ui/dev-docs/ARCHITECTURE.md#key-invariants). +2. Write the failing test first — [New behaviour](../../../hyperformula-ui/dev-docs/TESTING.md#new-behaviour) — with skill `test-writing-discipline`. +3. Change the code, then run the checks in [Checks while you work](../../../hyperformula-ui/dev-docs/EDITOR-TASKS.md#checks-while-you-work). Name the workspace by path, as [`SPEC.md`](../../../hyperformula-ui/dev-docs/SPEC.md#12-build--commands) says. Regenerate the stylesheet or the API docs when the change affects them. +4. Add the entry to [`hyperformula-ui/CHANGELOG.md`](../../../hyperformula-ui/CHANGELOG.md) when the change is user-facing, and finish everything in [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md). diff --git a/.github/workflows/hyperformula-ui.yml b/.github/workflows/hyperformula-ui.yml new file mode 100644 index 000000000..282fd8560 --- /dev/null +++ b/.github/workflows/hyperformula-ui.yml @@ -0,0 +1,95 @@ +name: HyperFormula UI +permissions: + contents: read + +on: + pull_request: + types: + - opened + - reopened + - synchronize # the head branch is updated from the base branch, new commits are pushed to the head branch, or the base branch is changed + push: + branches: + - 'master' + - 'develop' + - 'release/**' + +jobs: + verify: + strategy: + matrix: + node-version: [ '22' ] + os: [ 'ubuntu-latest' ] + name: verify + runs-on: ${{ matrix.os }} + steps: + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d # https://github.com/actions/setup-node/releases/tag/v1.4.4 + with: + node-version: ${{ matrix.node-version }} + + - name: Checkout main repository + uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 # https://github.com/actions/checkout/releases/tag/v2.0.0 + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build:ui + + - name: Check the generated stylesheet is committed + run: git diff --exit-code -- 'hyperformula-ui/**/cssText.ts' + + - name: Check the generated API docs are committed + run: | + npm run docs --workspace=hyperformula-ui/packages/core + git diff --exit-code -- hyperformula-ui/packages/core/DOCS.md + + - name: Lint + run: npm run lint --workspace=hyperformula-ui/packages/core + + - name: Typecheck + run: npm run typecheck --workspace=hyperformula-ui/packages/core + + - name: Run unit tests + run: npm run test:ui + + - name: Check the package contents + run: npm pack --dry-run --workspace=hyperformula-ui/packages/core + + - name: Check the published types resolve under every module setting + run: npm run check:types --workspace=hyperformula-ui/packages/core + + e2e: + strategy: + matrix: + node-version: [ '22' ] + os: [ 'ubuntu-latest' ] + name: e2e + runs-on: ${{ matrix.os }} + steps: + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d # https://github.com/actions/setup-node/releases/tag/v1.4.4 + with: + node-version: ${{ matrix.node-version }} + + - name: Checkout main repository + uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 # https://github.com/actions/checkout/releases/tag/v2.0.0 + + - name: Install dependencies + run: npm ci + + # The demo resolves hyperformula from this workspace, so the engine's bundles and typings must exist. + - name: Build the engine + run: npm run bundle-all + + - name: Lint and typecheck the demo and the suite + run: | + npm run lint --workspace=demo-js --workspace=@hfe-demo/shared --workspace=e2e + npm run typecheck --workspace=demo-js --workspace=@hfe-demo/shared --workspace=e2e + + - name: Install Chromium + run: npm exec --workspace=e2e -- playwright install --with-deps chromium + + - name: Run end-to-end tests + run: npm run test:e2e diff --git a/README.md b/README.md index 95bfecf3e..09a3ff6c5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This repository holds the engine and everything built around it. | Directory | What it is | Published as | |---|---|---| | [`hyperformula/`](hyperformula/) | The calculation engine. **Start here** — its [README](hyperformula/README.md) is the product documentation. | The [`hyperformula`](https://www.npmjs.com/package/hyperformula) package on npm: ES modules, CommonJS, UMD bundles for the browser (also served by the jsDelivr and unpkg CDNs), and TypeScript typings | -| [`hyperformula-ui/`](hyperformula-ui/) | UI components for working with HyperFormula: a group of packages, with their demos and end-to-end tests. Not imported yet. | Not yet — nothing is published from this directory until the packages are imported | +| [`hyperformula-ui/`](hyperformula-ui/) | UI components for working with HyperFormula: the formula editor package, an editor-only demo, and an end-to-end test. Its [README](hyperformula-ui/README.md) lists what is where. | The `hyperformula-ui` package on npm, once released: ES modules and TypeScript typings | | [`docs/`](docs/) | The documentation portal. Installed separately; not a workspace member. | Not a package. Built and deployed as the documentation site at [handsontable.com/docs/hyperformula](https://handsontable.com/docs/hyperformula/) | The engine's history is [`CHANGELOG.md`](CHANGELOG.md) at the root. The UI packages version and release on their own until they are mature, then join the engine's version — see [`dev-docs/STRUCTURE.md`](dev-docs/STRUCTURE.md#what-the-move-decided). diff --git a/dev-docs/AGENT-TOOLING.md b/dev-docs/AGENT-TOOLING.md index 95e41db9a..30ae6c411 100644 --- a/dev-docs/AGENT-TOOLING.md +++ b/dev-docs/AGENT-TOOLING.md @@ -40,6 +40,7 @@ A skill holds the **steps**: what to do, in what order, and what to check. It do | Skill | For | |---|---| | `hyperformula-dev` | Any work in `hyperformula/src/` — the entry point | +| `hyperformula-ui-dev` | Any work in `hyperformula-ui/` — the entry point for the formula editor | | `hyperformula-function-dev` | Adding or changing a built-in function | | `hyperformula-unit-testing` | Writing or modifying tests | | `test-writing-discipline` | Any red test, and any test that might be going green for the wrong reason | @@ -47,4 +48,4 @@ A skill holds the **steps**: what to do, in what order, and what to check. It do | `writing-docs-pages` | The documentation portal | | `changelog-creation` | The changelog entry | | `pr-creation` | Opening or updating a pull request | -| `hyperformula-code-review` | Reviewing a diff, a branch, or a pull request | +| `hyperformula-code-review` | Reviewing a diff, a branch, or a pull request, in the engine or the UI | diff --git a/dev-docs/BUILD.md b/dev-docs/BUILD.md index 8a72962ed..c1273b71a 100644 --- a/dev-docs/BUILD.md +++ b/dev-docs/BUILD.md @@ -40,13 +40,15 @@ Config is [`docs/wrangler.jsonc`](../docs/wrangler.jsonc); the Worker entry poin ## Release and licences -`npm run release` runs `script/release/release.sh`. Releasing is maintainer-owned — do not invent steps around it, and do not run it as part of another task. +`npm run release` runs `script/release/release.sh`, which releases the engine only. Releasing is maintainer-owned — do not invent steps around it, and do not run it as part of another task. + +The `hyperformula-ui` package is released by hand, on its own version line: [`hyperformula-ui/dev-docs/RELEASE.md`](../hyperformula-ui/dev-docs/RELEASE.md). `npm run check:licenses` asserts that every production dependency carries a permissive licence. ## Scripts and CI -Where each script lives and what calls it is in [`STRUCTURE.md`](STRUCTURE.md#scripts-at-three-levels). The release script keeps its own rules in [`script/release/release-README.md`](../script/release/release-README.md). +Where each script lives and what calls it is in [`STRUCTURE.md`](STRUCTURE.md#scripts-at-each-level). The release script keeps its own rules in [`script/release/release-README.md`](../script/release/release-README.md). - **A step runs in the workflow that needs it.** A step only the tests need belongs to the test workflows, not to `lint`. - **`pre*` and `post*` scripts run the way the scripts are actually called** — by CI, and on a maintainer's machine. npm skips them when `ignore-scripts` is set, which is why `script/release/release.sh` copies the root files itself before `npm publish` instead of trusting `prepack` alone. diff --git a/dev-docs/CODE-REVIEW.md b/dev-docs/CODE-REVIEW.md index c8a471400..d5c824406 100644 --- a/dev-docs/CODE-REVIEW.md +++ b/dev-docs/CODE-REVIEW.md @@ -41,7 +41,7 @@ Review in this order, and report the first serious finding rather than burying i 5. **Scope** — the pull request holds [one change](DEFINITION-OF-DONE.md#one-pull-request-one-change). Say so when unrelated changes have been folded in, rather than approving them through. 6. **Style, last and briefly** — ESLint owns formatting. Comment only on what it cannot check: a misleading name, a function doing two things, duplicated logic an existing helper already covers. -What to look for in each category in an engine change: [`hyperformula/dev-docs/REVIEWING.md`](../hyperformula/dev-docs/REVIEWING.md). +What to look for in each category in an engine change: [`hyperformula/dev-docs/REVIEWING.md`](../hyperformula/dev-docs/REVIEWING.md). In a `hyperformula-ui` change: [`hyperformula-ui/dev-docs/REVIEWING.md`](../hyperformula-ui/dev-docs/REVIEWING.md). ## The change follows our guidelines diff --git a/dev-docs/CODE-STYLE.md b/dev-docs/CODE-STYLE.md index eaadfdfe6..98a8f35c9 100644 --- a/dev-docs/CODE-STYLE.md +++ b/dev-docs/CODE-STYLE.md @@ -2,6 +2,8 @@ ESLint is the source of truth for formatting and code rules — run `npm run lint` before submitting changes (see [the linter section of the building guide](../docs/guide/building.md#run-the-linter)). Some of what follows it enforces, the `jsdoc` rules among them; the rest is what no linter can check for you. +Code in `hyperformula-ui/` follows its own conventions instead — Biome rather than ESLint, among others: [`hyperformula-ui/dev-docs/CODE-STYLE.md`](../hyperformula-ui/dev-docs/CODE-STYLE.md). + ## Style - Prefer a functional approach where possible (`filter`, `map`, `reduce`). diff --git a/dev-docs/DEFINITION-OF-DONE.md b/dev-docs/DEFINITION-OF-DONE.md index 4a699c01c..1692681df 100644 --- a/dev-docs/DEFINITION-OF-DONE.md +++ b/dev-docs/DEFINITION-OF-DONE.md @@ -32,7 +32,9 @@ npm run lint npm run test:jest ``` -Add `npm run test` (which includes the browser run) when the change touches bundling, module format, or anything browser-specific. Add `npm run docs:generate-function-docs` when it touches a function or its catalogue entry — from the repository root, after `npm run docs:install`, because the generator runs in the portal's own install. +Add `npm run test` (which includes the browser run) when the change touches bundling, module format, or anything browser-specific. + +A change in `hyperformula-ui/` runs its own gate instead, from the repository root: `npm run build:ui`, `npm run typecheck` and `npm run test:ui`, plus `npm run test:e2e` when it changes the demo or how the editor mounts in a page. See [`hyperformula-ui/dev-docs/TESTING.md`](../hyperformula-ui/dev-docs/TESTING.md). Add `npm run docs:generate-function-docs` when it touches a function or its catalogue entry — from the repository root, after `npm run docs:install`, because the generator runs in the portal's own install. Read the output. Do not open a pull request on a red run and describe it as ready. A green Jest run without the private suite covers only the smoke tests — see [Fetching the private suite](../hyperformula/dev-docs/TESTING.md#fetching-the-private-suite). A red CI job unrelated to the change is explained in the pull request and reported, not ignored. diff --git a/dev-docs/README.md b/dev-docs/README.md index 436d1d37d..d10e5d422 100644 --- a/dev-docs/README.md +++ b/dev-docs/README.md @@ -18,7 +18,7 @@ In every directory, `CLAUDE.md` is a symlink to its sibling `AGENTS.md`. Edit `A ## Where to look -Repository-wide standards and process live here. Each package documents its own internals: the engine's are in [`hyperformula/dev-docs/`](../hyperformula/dev-docs/README.md). +Repository-wide standards and process live here. Each package documents its own internals: the engine's are in [`hyperformula/dev-docs/`](../hyperformula/dev-docs/README.md), the UI's in [`hyperformula-ui/dev-docs/`](../hyperformula-ui/dev-docs/README.md). | You are working on | Read | |---|---| @@ -42,6 +42,12 @@ Inside the engine — architecture, the parser, the interpreter, the dependency |---|---| | Anything in `hyperformula/src/` | [`hyperformula/dev-docs/README.md`](../hyperformula/dev-docs/README.md) | +Inside the UI — the formula editor's architecture, its code style, its suites and its release: + +| You are working on | Read | +|---|---| +| Anything in `hyperformula-ui/` | [`hyperformula-ui/dev-docs/README.md`](../hyperformula-ui/dev-docs/README.md) | + Outside both: [`README.md`](../README.md) for what the repository holds, [`hyperformula/README.md`](../hyperformula/README.md) for what the engine is and how to install and use it, [`docs/README.md`](../docs/README.md) for running the documentation portal, [`hyperformula/test/README.md`](../hyperformula/test/README.md) for attaching the private test suite, and [`CONTRIBUTING.md`](../CONTRIBUTING.md) for external contributors. ## Conventions diff --git a/dev-docs/STRUCTURE.md b/dev-docs/STRUCTURE.md index e3601ef0b..d4b880d17 100644 --- a/dev-docs/STRUCTURE.md +++ b/dev-docs/STRUCTURE.md @@ -30,12 +30,14 @@ A monorepo. Three top-level directories hold code; the rest is repository-wide. │ ├── package.json README.md │ └── AGENTS.md CLAUDE.md │ -├── hyperformula-ui/ # ── a group of packages: UI components (not imported yet; planned layout below) -│ ├── packages/*/ # one directory per published package -│ ├── demo/*/ # demo applications (private) +├── hyperformula-ui/ # ── a group of packages: UI components +│ ├── packages/core/ # the hyperformula-ui package (published) +│ ├── demo/js/ demo/shared/ # the editor-only demo (private) │ ├── e2e/ # end-to-end suite (private) +│ ├── scripts/ # stylesheet and API docs generators, called by the core's build │ ├── dev-docs/ # the UI's own internals reference -│ └── AGENTS.md CLAUDE.md README.md, and its shared toolchain configuration +│ ├── tsconfig.*.json rspack.base.mjs vitest.base.ts biome.json # shared toolchain configuration +│ └── AGENTS.md CLAUDE.md README.md CHANGELOG.md │ ├── docs/ # ── the documentation portal (NOT a workspace member) │ ├── guide/ # Markdown guides @@ -63,30 +65,35 @@ A monorepo. Three top-level directories hold code; the rest is repository-wide. ## Workspaces -`workspaces` in the root `package.json` lists `hyperformula`. `npm ci` at the root installs it into a shared `node_modules`. `hyperformula-ui/` is a placeholder and is deliberately not listed yet — see [What the move still owes](#what-the-move-still-owes). +`workspaces` in the root `package.json` lists `hyperformula` and the UI's members. `npm ci` at the root installs them into a shared `node_modules`. -`hyperformula-ui/` will be a folder, not a package. npm does not support a workspace that declares workspaces of its own, so the root lists the UI's members directly: `hyperformula-ui/packages/*`, `hyperformula-ui/demo/*` and `hyperformula-ui/e2e`. +`hyperformula-ui/` is a folder, not a package. npm does not support a workspace that declares workspaces of its own, so the root lists the UI's members directly: `hyperformula-ui/packages/*`, `hyperformula-ui/demo/*` and `hyperformula-ui/e2e`. Name a UI workspace by path, `--workspace=hyperformula-ui/packages/core`: a bare `--workspace=hyperformula-ui` also matches workspaces by folder. + +The UI's packages declare their own TypeScript 5 and Biome, because the version npm hoists to the root is the engine's TypeScript 4. The demo and the end-to-end suite depend on `hyperformula` and resolve it from this workspace, so they need the engine built (`npm run bundle-all`) before they typecheck or run. The core package does not import the engine. **`docs/` is deliberately outside the workspace.** The criterion is age, not size. The portal runs on VuePress 1.x, which is end-of-life, builds with webpack 4, and only runs on current Node with `--openssl-legacy-provider`. In a shared install its old packages are hoisted to the root, where anything else can start resolving them by accident — the engine's language build required `fs-extra` without declaring it, and resolved the copy that only the portal's tree supplied. So it has its own `package.json` and installs separately with `npm run docs:install`. The leak runs the other way too: everything the portal imports — `chevrotain` for the grammar diagram, and the engine's ESLint plugins that `examples/eslintrc.examples.js` extends — is declared in `docs/package.json`, rather than resolved from the engine's copies at the root. The one exception is `.vuepress/subtheme/`: it is a typedoc theme that the engine's `typedoc:build-api` loads, so its `typedoc-plugin-markdown` must be the engine's copy, which `hyperformula/package.json` declares. -Size alone does not keep a package out. The UI's dependencies, its frameworks, grid libraries and browser test runner, are larger than the portal's but current, and the UI joins the workspace when it is imported. A root `npm ci` installs them too, so the contributor and CI install grows. What the published `hyperformula` package depends on does not change: those are the UI's own dependencies, not the engine's. +Size alone does not keep a package out. The UI's toolchain, its bundler, test runners and browser test runner, is current, so the UI is in the workspace. A root `npm ci` installs it too, so the contributor and CI install grows. What the published `hyperformula` package depends on does not change: those are the UI's own dependencies, not the engine's. ## Where a command runs | Command | Runs in | |---|---| -| `npm run lint` | Fanned out to every workspace that defines `lint`; each lints itself with its own configuration | +| `npm run lint`, `npm run typecheck` | Fanned out to every workspace that defines the script; each uses its own configuration | | `npm run docs:lint` | The portal's code — `.vuepress/` and `worker/` — with its own configuration, separate because the portal installs separately. Not the Markdown content, and not `examples/`, which `code-examples-generator.sh` formats | | `npm run test:jest`, `bundle-all`, `compile` | Fanned out to `hyperformula` | +| `npm run build:ui`, `test:ui`, `test:e2e`, `dev:ui` | Fanned out to the UI's core package, its end-to-end suite, and its demo | | `npm run docs:*` | Orchestrated from the root across both `hyperformula` and `docs` | Run a package's own scripts from its directory, or with `--workspace=hyperformula`. See [`BUILD.md`](BUILD.md). ## Build outputs -All git-ignored, all under `hyperformula/`: `lib/` (`tsc` output, the input to every bundle), `es/`, `commonjs/`, `dist/`, `languages/`, `typings/`. The portal's output is `docs/.vuepress/dist/`, and `docs/api/` plus `docs/guide/built-in-functions.md` are generated. +All git-ignored. Under `hyperformula/`: `lib/` (`tsc` output, the input to every bundle), `es/`, `commonjs/`, `dist/`, `languages/`, `typings/`. The UI's is `hyperformula-ui/packages/core/dist/`. The portal's output is `docs/.vuepress/dist/`, and `docs/api/` plus `docs/guide/built-in-functions.md` are generated. + +Two generated files in the UI are committed, not ignored: `hyperformula-ui/packages/core/src/theme/cssText.ts` and `hyperformula-ui/packages/core/DOCS.md`. Regenerate them with the change that affects them; CI fails when the stylesheet is stale. -Never edit any of them. Never read the **build artifacts** — `lib/`, `es/`, `commonjs/`, `dist/`, `languages/`, `typings/`, `docs/.vuepress/dist/` — to answer a question about behaviour; read `hyperformula/src/` instead, and the agent deny list in `.claude/settings.json` enforces that. +Never edit any of them. Never read the **build artifacts** — `lib/`, `es/`, `commonjs/`, `dist/`, `languages/`, `typings/`, `docs/.vuepress/dist/` — to answer a question about behaviour; read `hyperformula/src/` or `hyperformula-ui/packages/core/src/` instead, and the agent deny list in `.claude/settings.json` enforces that. `docs/api/` and `docs/guide/built-in-functions.md` are the exception. They are generated, so editing them is pointless, but they *are* the API reference and the function reference and reading them is often exactly right. @@ -96,9 +103,11 @@ This directory holds what applies to the whole repository: the definition of don [`hyperformula/dev-docs/`](../hyperformula/dev-docs/README.md) holds the engine's internals: architecture, the parser, the interpreter, the dependency graph, the function catalogue, translations, performance, its test suites, and its own build steps. -The split is by ownership. A fact lives in exactly one of them, and `hyperformula-ui` gets its own, `hyperformula-ui/dev-docs/`, when it lands. +[`hyperformula-ui/dev-docs/`](../hyperformula-ui/dev-docs/README.md) holds the UI's: its architecture and design, its code style, its suites, and its release procedure. + +The split is by ownership. A fact lives in exactly one of them. -## Scripts at three levels +## Scripts at each level Each script lives with whatever invokes it, and every one has exactly one caller: @@ -107,42 +116,28 @@ Each script lives with whatever invokes it, and every one has exactly one caller | `script/` | `release/` and `check-licenses.mjs` — both span the whole repository | | `hyperformula/script/` | `check-file.js`, `check-publish-package.js`, `if-ne-env.js` — called by the engine's build; `check-license-key-parser-drift.js` — called by `vendored-parser.yml`; `postinstall-skills-message.js` — shipped in the package and run by npm when a user installs it, silent inside this repository | | `docs/script/` | the built-in-functions generator and `prepare-cf-assets.js` — called by the portal | +| `hyperformula-ui/scripts/` | `generateCssText.mjs` and `generateApiDocs.mjs` — called by the UI core's `build:styles` and `docs` | ## Directories with their own `AGENTS.md` -`hyperformula/`, `hyperformula/src/`, `hyperformula/src/parser/`, `hyperformula/src/interpreter/`, `hyperformula/src/interpreter/plugin/`, `hyperformula/src/interpreter/functionMetadata/`, `hyperformula/src/DependencyGraph/`, `hyperformula/src/i18n/`, `hyperformula/test/`, `docs/`, and `script/`. +`hyperformula/`, `hyperformula/src/`, `hyperformula/src/parser/`, `hyperformula/src/interpreter/`, `hyperformula/src/interpreter/plugin/`, `hyperformula/src/interpreter/functionMetadata/`, `hyperformula/src/DependencyGraph/`, `hyperformula/src/i18n/`, `hyperformula/test/`, `hyperformula-ui/`, `hyperformula-ui/packages/core/`, `docs/`, and `script/`. Each is a pointer of a few lines — what the directory is, and which `dev-docs/` page or local `README.md` holds the detail. They load automatically when an agent reads a file in that subtree, so they stay small on purpose. ## What the move still owes -1. **Import `hyperformula-ui`, nested.** The directory is a placeholder. The UI is imported from the formula-builder repository in a separate change, as a whole: its repository moves under `hyperformula-ui/` with its own layout intact (`git filter-repo --to-subdirectory-filter hyperformula-ui`), so its history survives and the relative paths in its shared configuration keep working. Its packages keep the names they have today. - - **Before the import**, in the formula-builder repository itself, convert it from pnpm to npm. The UI adjusts to this repository, not the other way round, and it arrives already working under npm: - - `catalog:` specifications become plain version ranges, and `pnpm-workspace.yaml` goes; - - `workspace:*` specifications, between its own packages and in their `peerDependencies`, become the shared version range, which the release script bumps — npm rejects the `workspace:` protocol outright; - - `pnpm -r`, `pnpm --filter` and `pnpm exec` in its scripts, its CI workflow and its Playwright `webServer` commands become `npm run --workspace=…`, `--workspaces --if-present` and `npm exec`; - - `pnpm-lock.yaml` and the `packageManager` field go, replaced by a `package-lock.json` there. The import drops that lockfile: the root `package-lock.json` covers the UI from then on; - - every package that runs `tsc` declares its own `typescript`: npm hoists one version to the root, which is the engine's 4.x, so a package needing 5.x must declare it to get its own copy. - - **The import change itself** then has to: - - add `hyperformula-ui/packages/*`, `hyperformula-ui/demo/*` and `hyperformula-ui/e2e` to the root `workspaces` array — not before: npm silently ignores an entry with no `package.json`, so listing them early buys nothing, and the lockfile is regenerated when the packages land either way; - - give each UI package a `lint` script running its own linter, so the root `npm run lint` picks it up; - - license each published UI package like the engine: `"license": "GPL-3.0-only"` in its `package.json`, the root `LICENSE.txt` in its tarball through the same `prepack` copy the engine uses, and an entry, by package name, in `WORKSPACES` in `script/check-licenses.mjs`, so its production dependencies pass the same allowlist; - - point the root fan-out scripts, which today target `--workspace=hyperformula` only, at the UI's packages too; - - delete the UI's own `.nvmrc`, if it has one — the root `.nvmrc` covers the whole repository — and add an `AGENTS.md` with a `CLAUDE.md` symlink, and `hyperformula-ui/dev-docs/`; - - keep the UI's own version and history: its packages stay on their `0.x` line, with `hyperformula-ui/CHANGELOG.md` and a release path of their own, tagged with a prefix such as `hyperformula-ui@0.3.0` so the tags cannot collide with the engine's bare `3.5.0`. `script/release/release.sh` keeps releasing the engine only. The UI's `peerDependencies` on `hyperformula` say which engine versions it works with. -2. **Path-filter CI.** Each package's jobs should run only when its own paths change, with full runs on `develop`, `master`, and release branches. Not done here on purpose: a naive `paths:` filter on a workflow that branch protection lists as a required check leaves the check permanently pending, and pull requests become unmergeable. Doing it safely needs the required-checks list, which lives in repository settings rather than in the tree, and the `dorny/paths-filter`-plus-single-gate shape that the Handsontable monorepo uses. -3. **Before this merges, switch the Workers Builds deploy commands.** The Cloudflare dashboard still runs `npx wrangler deploy` and `npx wrangler versions upload` at the repository root, which find no configuration and no `wrangler` there now that `wrangler.jsonc` lives in `docs/`. Set the deploy command to `npm run docs:deploy:cf` and the non-production branch deploy command to `npm run docs:preview:cf`, as [`docs/README.md`](../docs/README.md#deployment) describes. Do it first: every branch with the old layout already defines both scripts at its root, so the switch breaks nothing. Until it is made, every preview build fails, and production stops updating once the move reaches `master`. +1. **Path-filter CI.** Each package's jobs should run only when its own paths change, with full runs on `develop`, `master`, and release branches. Not done here on purpose: a naive `paths:` filter on a workflow that branch protection lists as a required check leaves the check permanently pending, and pull requests become unmergeable. Doing it safely needs the required-checks list, which lives in repository settings rather than in the tree, and the `dorny/paths-filter`-plus-single-gate shape that the Handsontable monorepo uses. +2. **Before this merges, switch the Workers Builds deploy commands.** The Cloudflare dashboard still runs `npx wrangler deploy` and `npx wrangler versions upload` at the repository root, which find no configuration and no `wrangler` there now that `wrangler.jsonc` lives in `docs/`. Set the deploy command to `npm run docs:deploy:cf` and the non-production branch deploy command to `npm run docs:preview:cf`, as [`docs/README.md`](../docs/README.md#deployment) describes. Do it first: every branch with the old layout already defines both scripts at its root, so the switch breaks nothing. Until it is made, every preview build fails, and production stops updating once the move reaches `master`. ## What the move decided -- **npm workspaces, not pnpm.** A package-manager migration is a risk the move did not need to carry at the same time. The same holds for the UI, which uses pnpm today: it converts to npm in its own repository before it is imported, so this repository runs one package manager. +- **npm workspaces, not pnpm.** A package-manager migration is a risk the move did not need to carry at the same time. The UI, which used pnpm, was converted to npm when it was imported, so this repository runs one package manager. - **`docs/` is not a workspace member, because its toolchain is legacy, not because it is large.** VuePress 1.x, webpack 4 and `--openssl-legacy-provider` must never be hoisted into the shared install. The UI, larger but current, does join the workspace — see [Workspaces](#workspaces). It installs on its own with `npm run docs:install`, and CI installs it before building the portal. -- **`hyperformula-ui/` is nested, not flat.** The UI keeps its own layout under one directory, rather than each of its packages getting a top-level directory of its own. The import is then one move with the history intact, the UI's toolchain stays separable from the engine's, and each package's internals still travel with it. The cost: `hyperformula-ui/` is a folder rather than a package, and the root lists its members by glob. -- **`dev-docs/` at two levels, not one at the root.** One directory at the root was the original plan; it was dropped in favour of splitting by ownership, so that each package's internals travel with the package and `hyperformula-ui` gets its own when it lands. Repository-wide standards stay here, and a fact lives in exactly one level — see [`dev-docs/` at two levels](#dev-docs-at-two-levels). -- **The UI packages are GPL-3.0-only, like the engine** — the working assumption until a licensing decision says otherwise. It sets what the import does with their manifests, their tarballs and the licence gate; see [What the move still owes](#what-the-move-still-owes). -- **The UI versions on its own until it is mature, then joins the engine's version.** While its API is still moving, the UI releases on its own `0.x` line, where every minor release may break, with its own changelog — rather than starting at `3.x` and forcing an engine major, or a break smuggled into a minor, whenever the UI changes incompatibly. Once the team judges the UI ready, the versions join — there is no fixed trigger — and from then on the packages release together, on one version, from one changelog. A release then cuts every published package at the same version, whether or not each one changed, and `CHANGELOG.md` at the repository root is the single history for all of them; the UI's changelog is folded into it. That keeps one number to reason about — the version a user reports a bug against identifies the state of the whole repository — at the cost of publishing a package whose code did not move. This order is the safe one: joining separate versions only needs version numbers to go up, while splitting a shared version after users depend on it is hard. +- **`hyperformula-ui/` is nested, not flat.** The UI keeps its own layout under one directory, rather than each of its packages getting a top-level directory of its own. Its shared configuration keeps working at the same relative paths, its toolchain stays separable from the engine's, and each package's internals still travel with it. The cost: `hyperformula-ui/` is a folder rather than a package, and the root lists its members by glob. +- **Only the formula builder's core was imported, without its history.** It came from the formula-builder repository at commit `e85b52b` as one snapshot, with the shared configuration it needs, the editor-only demo and its end-to-end check, and was renamed from `@hfe/core` to `hyperformula-ui`. Grid adapters are not part of the product: Handsontable ships its own as a built-in plugin, and adapters for other grids are examples maintained outside this repository. The formula-builder repository keeps the full history. +- **`dev-docs/` at two levels, not one at the root.** One directory at the root was the original plan; it was dropped in favour of splitting by ownership, so that each package's internals travel with the package and `hyperformula-ui` has its own. Repository-wide standards stay here, and a fact lives in exactly one level — see [`dev-docs/` at two levels](#dev-docs-at-two-levels). +- **The UI packages are GPL-3.0-only, like the engine.** Each published one declares the licence in its `package.json`, carries the root `LICENSE.txt` in its tarball through the same `prepack` copy the engine uses, and is listed in `WORKSPACES` in `script/check-licenses.mjs`, so its production dependencies pass the same allowlist. +- **The UI versions on its own until it is mature, then joins the engine's version.** While its API is still moving, the UI releases on its own `0.x` line, where every minor release may break, with its own changelog and its own manual release procedure, [`hyperformula-ui/dev-docs/RELEASE.md`](../hyperformula-ui/dev-docs/RELEASE.md), with tags prefixed `hyperformula-ui@` so they cannot collide with the engine's bare `3.5.0` — rather than starting at `3.x` and forcing an engine major, or a break smuggled into a minor, whenever the UI changes incompatibly. Once the team judges the UI ready, the versions join — there is no fixed trigger — and from then on the packages release together, on one version, from one changelog. A release then cuts every published package at the same version, whether or not each one changed, and `CHANGELOG.md` at the repository root is the single history for all of them; the UI's changelog is folded into it. That keeps one number to reason about — the version a user reports a bug against identifies the state of the whole repository — at the cost of publishing a package whose code did not move. This order is the safe one: joining separate versions only needs version numbers to go up, while splitting a shared version after users depend on it is hard. - **The published tarball still carries a changelog and a licence.** `hyperformula`'s `prepack` copies the root `CHANGELOG.md` and `LICENSE.txt` into the package and `postpack` removes them again, so each is one file under version control and npm consumers still get both. The webpack banner reads the root `LICENSE.txt` directly. - **One `.nvmrc`, at the root.** The whole repository runs on one Node version; `nvm` finds the root file from any subdirectory, and Workers Builds, which starts at the root, reads it too. - **Each directory lints itself.** `hyperformula/` and `docs/` each carry their own `.eslintrc.js` and `.eslintignore`, and each package declares the lint tooling it uses. The root `npm run lint` only fans out with `--workspaces --if-present`, so a package with a different linter or TypeScript version — the UI — brings its own, and the engine's rules, licence header included, never reach it. `docs/` is not a workspace, so its lint is `npm run docs:lint`, run by the documentation CI job, which installs the portal anyway. diff --git a/hyperformula-ui/.gitignore b/hyperformula-ui/.gitignore new file mode 100644 index 000000000..0366b92e6 --- /dev/null +++ b/hyperformula-ui/.gitignore @@ -0,0 +1,6 @@ +dist +*.tsbuildinfo +playwright-report +test-results +.vite +packages/core/LICENSE.txt diff --git a/hyperformula-ui/AGENTS.md b/hyperformula-ui/AGENTS.md new file mode 100644 index 000000000..a3bedf1a4 --- /dev/null +++ b/hyperformula-ui/AGENTS.md @@ -0,0 +1,10 @@ +# `hyperformula-ui/` — UI components + +A folder of npm workspaces, not a package: the published `hyperformula-ui` package in `packages/core/`, an editor-only demo in `demo/`, and a Playwright suite in `e2e/`. + +- How the UI works, its own code style, its tests and its release: [`dev-docs/README.md`](dev-docs/README.md) +- Repository-wide standards: [`../dev-docs/README.md`](../dev-docs/README.md) + +The code style here is not the engine's. Read [`dev-docs/CODE-STYLE.md`](dev-docs/CODE-STYLE.md) before editing. + +Skill: `hyperformula-ui-dev`. diff --git a/hyperformula-ui/CHANGELOG.md b/hyperformula-ui/CHANGELOG.md new file mode 100644 index 000000000..09d271049 --- /dev/null +++ b/hyperformula-ui/CHANGELOG.md @@ -0,0 +1,11 @@ +# Changelog + +All notable changes to the `hyperformula-ui` package are documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added +- Added the `hyperformula-ui` package: a formula editor for HyperFormula with syntax and reference highlighting, function autocomplete and help, range picking, and an optional formula bar, connected to any grid through the `IGridAdapter` interface. [#1832](https://github.com/handsontable/hyperformula/pull/1832) diff --git a/hyperformula-ui/CLAUDE.md b/hyperformula-ui/CLAUDE.md new file mode 120000 index 000000000..47dc3e3d8 --- /dev/null +++ b/hyperformula-ui/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file diff --git a/hyperformula-ui/README.md b/hyperformula-ui/README.md index 7aa5d839e..872f15aa8 100644 --- a/hyperformula-ui/README.md +++ b/hyperformula-ui/README.md @@ -1,7 +1,16 @@ # `hyperformula-ui/` -Reserved for the HyperFormula UI components: reference highlighting, the inline formula editor, and function help. +UI components for HyperFormula. Today that is one published package, [`hyperformula-ui`](packages/core/README.md): a formula editor with syntax and reference highlighting, function autocomplete and help, and a formula bar, for any grid. -The UI is not here yet. It is imported from the formula-builder repository in a separate change, nested: the whole repository moves into this directory with its layout and history intact, so this directory will hold a group of packages rather than a single one. Until then it holds only this file, and nothing from it is listed in the root `workspaces` array. +| Directory | What it is | Published | +|---|---|---| +| [`packages/core/`](packages/core/) | The `hyperformula-ui` package | Yes, to npm | +| [`demo/`](demo/) | An editor-only demo page, run with `npm run dev:ui` | No | +| [`e2e/`](e2e/) | A Playwright smoke test against the demo | No | +| [`dev-docs/`](dev-docs/README.md) | Architecture, code style, tests and the release procedure | No | -The planned layout, and everything the import has to do: [`dev-docs/STRUCTURE.md`](../dev-docs/STRUCTURE.md#what-the-move-still-owes). +Run everything from the repository root after `npm ci`; the commands are in [`dev-docs/SPEC.md`](dev-docs/SPEC.md#12-build--commands). + +The code was imported from the formula-builder repository at commit `e85b52b`, without its history. Grid integrations live outside this repository: Handsontable ships its own, as a built-in plugin. + +The packages version on their own `0.x` line, with their own [`CHANGELOG.md`](CHANGELOG.md), until they join the engine's version. diff --git a/hyperformula-ui/biome.json b/hyperformula-ui/biome.json new file mode 100644 index 000000000..1feca076f --- /dev/null +++ b/hyperformula-ui/biome.json @@ -0,0 +1,111 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.16/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "includes": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.cjs", + "**/*.json", + "**/*.jsonc", + "**/*.css", + "!**/dist", + "!**/node_modules", + "!**/playwright-report", + "!**/test-results", + "!**/.vite" + ] + }, + "css": { + "formatter": { + "enabled": true, + "quoteStyle": "double" + }, + "linter": { + "enabled": true + } + }, + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100, + "lineEnding": "lf" + }, + "javascript": { + "formatter": { + "quoteStyle": "double", + "trailingCommas": "all", + "semicolons": "always", + "arrowParentheses": "always", + "bracketSpacing": true, + "bracketSameLine": false + } + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "style": { + "useConst": "error", + "useTemplate": "error", + "noNonNullAssertion": "warn", + "noParameterAssign": "error", + "useImportType": "error", + "useExportType": "error", + "useNodejsImportProtocol": "error", + "useBlockStatements": "error", + "noNegationElse": "error", + "useShorthandAssign": "error", + "useNumberNamespace": "error", + "noUselessElse": "error", + "useDefaultParameterLast": "error", + "useShorthandFunctionType": "error", + "useSingleVarDeclarator": "error", + "useConsistentArrayType": { "level": "error", "options": { "syntax": "shorthand" } }, + "useSelfClosingElements": "error", + "useFilenamingConvention": { + "level": "error", + "options": { "filenameCases": ["camelCase", "kebab-case"], "requireAscii": true } + } + }, + "suspicious": { + "noExplicitAny": "warn", + "noConsole": { "level": "warn", "options": { "allow": ["error", "warn"] } }, + "noDoubleEquals": "error", + "noAssignInExpressions": "error", + "noShadowRestrictedNames": "error" + }, + "correctness": { + "noUnusedVariables": "error", + "noUnusedImports": "error", + "noUnusedFunctionParameters": "warn" + }, + "complexity": { + "noBannedTypes": "error", + "useFlatMap": "error", + "noImportantStyles": "off", + "noUselessTernary": "error", + "noUselessCatch": "error", + "noUselessFragments": "error", + "noUselessRename": "error", + "noUselessUndefinedInitialization": "error", + "useOptionalChain": "error", + "useLiteralKeys": "error", + "useRegexLiterals": "error" + }, + "performance": { + "noDelete": "error" + }, + "a11y": { + "useSemanticElements": "off" + } + } + } +} diff --git a/hyperformula-ui/demo/js/basic/README.md b/hyperformula-ui/demo/js/basic/README.md new file mode 100644 index 000000000..9268d3761 --- /dev/null +++ b/hyperformula-ui/demo/js/basic/README.md @@ -0,0 +1,18 @@ +# basic — `hyperformula-ui` only, no grid + +Demonstrates `FormulaBuilder` running without any grid adapter — the lowest +layer of the integration surface. Constructs the builder against a host +element and opens the editor imperatively via `openEditor`. + +**Imports:** `hyperformula-ui` (`FormulaBuilder`) only — no adapter package. + +**Construction** (`basic/main.ts`): + +```ts +const builder = new FormulaBuilder({ rootEl: host, hyperformula: engine }); +const editor = builder.editor; +... +builder.openEditor(host, "=SUM(A1:B5) + 2"); +``` + +`FormulaEditor`/`FormulaBuilder` internals: [`dev-docs/ARCHITECTURE.md`](../../../dev-docs/ARCHITECTURE.md). diff --git a/hyperformula-ui/demo/js/basic/index.html b/hyperformula-ui/demo/js/basic/index.html new file mode 100644 index 000000000..7d546d55c --- /dev/null +++ b/hyperformula-ui/demo/js/basic/index.html @@ -0,0 +1,61 @@ + + +
+ + +(start typing)+