From 6a108e8dfe24e0569866fb4f21fec74e2b7cb6f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 08:44:59 +0000 Subject: [PATCH] Version Packages --- .changeset/async-fetch-error-state.md | 19 -------------- .changeset/cool-badgers-type.md | 19 -------------- packages/core/CHANGELOG.md | 36 +++++++++++++++++++++++++++ packages/core/package.json | 2 +- 4 files changed, 37 insertions(+), 39 deletions(-) delete mode 100644 .changeset/async-fetch-error-state.md delete mode 100644 .changeset/cool-badgers-type.md diff --git a/.changeset/async-fetch-error-state.md b/.changeset/async-fetch-error-state.md deleted file mode 100644 index 47bad86f..00000000 --- a/.changeset/async-fetch-error-state.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@tailor-platform/app-shell": minor ---- - -Add a built-in error state to `Combobox.Async`, `Autocomplete.Async`, and `Select.Async` - -When an async fetcher throws or rejects, the components now render an inline error state in the popover — a "Couldn't load results." message plus a **Retry** button that re-runs the last fetch — instead of silently falling back to the misleading "No results." empty state. This makes failed fetches distinguishable from genuinely-empty results without any consumer code. - -The debounce/abort lifecycle is handled centrally: aborted/superseded requests are ignored, and outages are de-duped so typing during an outage doesn't stack repeated announcements. - -Three new props on each `.Async` component: - -| Prop | Type | Default | Description | -| -------------- | -------------------------- | -------------------------- | ------------------------------------------------------------------ | -| `errorText` | `string` | `"Couldn't load results."` | Message shown in the popover when the fetcher fails | -| `retryText` | `string` | `"Retry"` | Label for the retry button | -| `onFetchError` | `(error: unknown) => void` | - | Called once per outage when a fetch fails (logging/error tracking) | - -The `Combobox.useAsync` / `Autocomplete.useAsync` / `Select.useAsync` hooks now also expose `error` and a `retry()` function and accept an `onFetchError` option, for consumers building custom compositions with `Parts`. diff --git a/.changeset/cool-badgers-type.md b/.changeset/cool-badgers-type.md deleted file mode 100644 index 366e12b2..00000000 --- a/.changeset/cool-badgers-type.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@tailor-platform/app-shell": minor ---- - -Add a built-in `/__appinfo` page to `AppShell` for exposing app metadata and the current AppShell version. - -```tsx - -``` - -The page stays out of AppShell's built-in auto-generated sidebar navigation, appears in the Command Palette as a page entry, and includes a copy button for the rendered app information. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index d856e5ef..ea214066 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,41 @@ # @tailor-platform/app-shell +## 1.10.0 + +### Minor Changes + +- 73d0c0a: Add a built-in error state to `Combobox.Async`, `Autocomplete.Async`, and `Select.Async` + + When an async fetcher throws or rejects, the components now render an inline error state in the popover — a "Couldn't load results." message plus a **Retry** button that re-runs the last fetch — instead of silently falling back to the misleading "No results." empty state. This makes failed fetches distinguishable from genuinely-empty results without any consumer code. + + The debounce/abort lifecycle is handled centrally: aborted/superseded requests are ignored, and outages are de-duped so typing during an outage doesn't stack repeated announcements. + + Three new props on each `.Async` component: + + | Prop | Type | Default | Description | + | -------------- | -------------------------- | -------------------------- | ------------------------------------------------------------------ | + | `errorText` | `string` | `"Couldn't load results."` | Message shown in the popover when the fetcher fails | + | `retryText` | `string` | `"Retry"` | Label for the retry button | + | `onFetchError` | `(error: unknown) => void` | - | Called once per outage when a fetch fails (logging/error tracking) | + + The `Combobox.useAsync` / `Autocomplete.useAsync` / `Select.useAsync` hooks now also expose `error` and a `retry()` function and accept an `onFetchError` option, for consumers building custom compositions with `Parts`. + +- 16c1046: Add a built-in `/__appinfo` page to `AppShell` for exposing app metadata and the current AppShell version. + + ```tsx + + ``` + + The page stays out of AppShell's built-in auto-generated sidebar navigation, appears in the Command Palette as a page entry, and includes a copy button for the rendered app information. + ## 1.9.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index d6945923..6f278a3e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tailor-platform/app-shell", - "version": "1.9.0", + "version": "1.10.0", "description": "An opinionated React application framework for building ERP applications on Tailor Platform", "keywords": [ "app-shell",