Commit Graph

577 Commits

Author SHA1 Message Date
Yong 7dc5fe071a Merge pull request #244 from run-llama/changeset-release/main
ci: version packages
@llamaindex/ui@4.0.0 @llamaindex/workflow-debugger@0.2.15 @llamaindex/workflows-client@1.8.3
2026-01-26 17:32:55 -08:00
github-actions[bot] 2076a359a0 ci: version packages 2026-01-27 01:11:36 +00:00
Yong e062378909 Merge pull request #262 from run-llama/uploadzone-v2-update-li-5139
Uploadzone v2 update
2026-01-26 17:10:27 -08:00
Yong 765c8608a1 formatting 2026-01-26 17:05:35 -08:00
Yong d36a06dd2e lint 2026-01-26 17:00:58 -08:00
Yong db0982abf1 major release changeset 2026-01-26 16:51:35 -08:00
Yong 5af99d470c remove classname from uploadzone + fix tabs in file-upload 2026-01-26 16:48:14 -08:00
Adrian Lyjak 81db80686e fix: update workflows SDK action to replace existing PR (#261) 2026-01-26 19:17:43 -05:00
Yong da56385955 fix spacing 2026-01-26 16:01:48 -08:00
Yong 9917b8ff68 remove showsupportedfile 2026-01-26 15:49:51 -08:00
Yong 3e6bb48aa8 abstract out upload zone into a separate component 2026-01-26 15:26:52 -08:00
Yong ef8ee8a3fe update styling for empty state for uploadzone 2026-01-26 14:11:29 -08:00
github-actions[bot] 9c1f1f032b chore: update workflows SDK (#260)
Co-authored-by: llama-org-ci-bot[bot] <231146559+llama-org-ci-bot[bot]@users.noreply.github.com>
2026-01-26 14:21:04 -05:00
Yong 3d3fba8379 Merge pull request #258 from run-llama/ms/add-dialog-table-v2
feat: add dialog and table v2
2026-01-20 11:40:25 -08:00
Marcus Schiesser c767f5dcce chore: add changeset 2026-01-20 18:54:39 +08:00
Marcus Schiesser 48b1b7a9fd fix: test 2026-01-20 18:49:15 +08:00
Marcus Schiesser a03f797e2f fix: format/lint 2026-01-20 18:25:58 +08:00
Marcus Schiesser d3b3d7e78c chore: update contract 2026-01-20 18:25:26 +08:00
Marcus Schiesser 6cd5ac340e feat: update dialog and table component to v2 2026-01-20 16:43:13 +08:00
Adrian Lyjak 7e392ed647 Fix PDF zoom controls (#257)
* fix: Prevent auto-scale from overriding manual PDF zoom changes

The recent fit mode feature added a useEffect that recalculates and sets
the initial scale whenever firstPageDims changes. However, firstPageDims
is derived from pageBaseDims state which updates on every page re-render.
This caused manual zoom changes to be immediately overwritten:

1. User clicks zoom button
2. setScale triggers page re-renders
3. handleLoadPage updates pageBaseDims
4. firstPageDims reference changes
5. useEffect fires and resets scale to initial value

Fix: Add isInitialScaleSet ref to ensure auto-scaling only happens once
per document load, preserving user's manual zoom adjustments.

* fix: Allow fitMode toggle to re-scale PDF after manual zoom

The previous fix prevented auto-scale from overriding manual zoom, but
it also prevented the fitMode toggle from working. This adds tracking
of the previous fitMode value so that changing fitMode resets the
isInitialScaleSet flag and allows re-scaling.

Also adds changeset entry for the fix.

* chore: Remove changeset for unreleased feature fix

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-18 10:45:34 -05:00
Huu Le 03adf7b5bf feat: Replace EmptyState by the new Empty component (#252) 2026-01-16 09:53:53 +08:00
Marcus Schiesser 6020952754 chore: update dropdown to v2 (#253) 2026-01-15 14:00:25 -08:00
Huu Le 936c5249cd feat: Update select component to v2 (#249)
---------
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
2026-01-15 10:59:53 +08:00
Yong 1e975e2a02 Merge pull request #251 from run-llama/update-file-system-select
updating styling for file system in upload/document preview
2026-01-14 18:01:37 -08:00
Yong 48806d6a34 updating styling for file system in upload/document preview 2026-01-14 17:55:07 -08:00
Huu Le 799ed940f5 feat: update RadioGroup component to v2 (#247) 2026-01-13 16:52:22 +08:00
Huu Le a6c9e7bee1 feat: Update Input component to v2 (#246)
---------

Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
2026-01-13 10:09:09 +08:00
Adrian Lyjak 30aa0fe753 fix: Fit highlight to viewport (#243)
* Fix highlight scrolling on virtualized PDFs

Use instant scroll for multi-page navigation (>1 page) to avoid layout
shift issues when virtualization loads/unloads pages during smooth scroll.
Smooth scroll only used for single-page navigation where layout is stable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* handle storybook

* Fix indexes story import failure in CI

Revert conditional meta pattern that confused Storybook's vitest plugin
during story discovery, causing "Failed to fetch dynamically imported
module" errors in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 13:47:11 -05:00
Huu Le bcef3d5469 Merge pull request #241 from run-llama/update-accordion-v2
update accordion to v2
2026-01-12 11:17:37 +07:00
leehuwuj 5732e95e04 add tooltip and badge 2026-01-12 11:08:55 +07:00
leehuwuj abc926ae81 Merge remote-tracking branch 'origin' into update-accordion-v2 2026-01-12 11:03:42 +07:00
Huu Le 03c8db5dac feat: Update tooltip to v2 (#245) 2026-01-12 12:02:37 +08:00
Yong 7ac2ea147b Merge pull request #242 from run-llama/add-alert-v2
Add alert v2
2026-01-11 19:29:18 -08:00
leehuwuj 18ec5dc152 Merge remote-tracking branch 'origin' into update-accordion-v2 2026-01-12 10:23:35 +07:00
leehuwuj 39f7caeec7 add button 2026-01-12 10:22:24 +07:00
leehuwuj 9a2a823d2f Merge remote-tracking branch 'origin' into add-alert-v2 2026-01-12 10:19:28 +07:00
Huu Le f547f6493c feat: Use new badge component (#237) 2026-01-12 11:13:59 +08:00
Huu Le 650dc36e88 style: Update to tonik button and increase height of file toolbar and PDF navigator for UI consistency (#234) 2026-01-12 11:12:07 +08:00
Yong 5ae3857e1b Merge pull request #240 from run-llama/update-checkbox-v2
Update checkbox for v2
2026-01-11 18:50:09 -08:00
Yong a286444ddd Merge pull request #239 from run-llama/update-separator-to-v2
Update separator to v2
2026-01-11 18:48:36 -08:00
Yong ed21204e69 formatting 2026-01-09 16:39:28 -08:00
Yong 13cce4abae add alert 2026-01-09 14:55:32 -08:00
Yong 2573798a6b more lint 2026-01-09 14:52:04 -08:00
Yong 2650effe24 lint 2026-01-09 14:50:42 -08:00
Yong 3c927290b1 add todos for marcus 2026-01-09 14:18:13 -08:00
Yong 8c49e363cf formatting 2026-01-09 14:08:50 -08:00
Yong 8a1ce27d64 update accordion to v2 2026-01-09 14:04:30 -08:00
Yong 88f20232ce lint 2026-01-09 13:24:32 -08:00
Yong 59c4f81f8b update for v2 2026-01-09 13:20:32 -08:00
Yong 860340680f format 2026-01-09 12:08:11 -08:00