feat(ui): add array cards and demos - #62
Conversation
Add a full JSONPath playground for uncapped browsing, row switching, source-aware evaluation, and match previews. Improve tree picker stacking, viewport fitting, footer actions, and lazy-node loading so nested selectors remain usable in dialogs and constrained layouts.
Add reusable endpoint, 1Password, and secret form controls alongside richer combobox options. Support date-range and exact-value filters, query pagination/provider diagnostics, and task execution details. Expose the new models, components, and helpers through the shared package exports. BREAKING CHANGE: SecretKeySelector now requires 1Password loaders when the onepassword source is enabled.
… workspaces Add reusable query browsing, sampling, and OpenSearch query-building flows for profile creation and editing. Introduce a schema-configured profile editor route with column management, previews, JSONPath selection, YAML editing, parameter validation, and row-limit controls. Cover the new models, components, integrations, and authoring workflows with focused tests and Storybook coverage.
Add `x-array-display: "cards"` for titled, always-expanded object-array editors using the existing `x-item` summary configuration. Also keep inline array items aligned with the form's label/value grid and share item-row controls across displays.
Expose profile authoring and query browsing through reusable package/demo surfaces, with Storybook and kitchen-sink coverage. Preserve provider error diagnostics through query execution and let users copy complete diagnostic reports without expanding details.
|
Important Review skippedToo many files! This PR contains 160 files, which is 60 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (160)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| */ | ||
| export function configureProfiles(options: { basePath?: string; schema: ProfileSchema }): void { | ||
| if (options.basePath !== undefined) { | ||
| const trimmed = options.basePath.trim().replace(/\/+$/, ""); |
| const slug = Array.from(name.trim().toLowerCase()) | ||
| .map((character) => | ||
| /[a-z0-9]/.test(character) | ||
| ? character | ||
| : /[ ._/-]/.test(character) | ||
| ? "-" | ||
| : "", | ||
| ) | ||
| .join("") | ||
| .replace(/^-+|-+$/g, ""); |
What
x-array-display: "cards"for titled, always-expanded object-array editors.Notes