181 Commits

Author SHA1 Message Date
Bieber
db4c029a55
[sync] fix: show ai model icon T1693 (#1055) (#2443)
Synced from teableio/teable-ee@dc4cd9c

Co-authored-by: teable-bot <bot@teable.io>
2026-01-16 16:06:55 +08:00
Bieber
0d82b7bd9c
[sync] fix(link-field): add bottom padding to filter records container (#2432)
Synced from teableio/teable-ee@5e99422

Co-authored-by: teable-bot <bot@teable.io>
2026-01-14 18:16:25 +08:00
Uno
83e2c1f1ba
fix: quick search T1478, T1396 (#2354)
* fix: update settings title translation in QuickAction component

* fix: space search

* fix: update QuickAction component to use id as value and add keywords for accessibility

* fix: enhance CommandDialog and Command components with filtering capabilities
2025-12-29 12:23:55 +08:00
Bieber
9b38ba6fc4
feat: sync change workflow T1481 (#2356) 2025-12-29 12:02:56 +08:00
Aries X
8391b5bbef
fix: csv preview is empty (#2348)
relative issueId: T1460
2025-12-26 17:21:00 +08:00
Boris
4667a128b7
fix: only social auth defaults to redirecting T1449 (#2345)
* fix: only social auth defaults to redirecting

* feat: close preview when click image preview others block
2025-12-26 12:15:23 +08:00
Boris
28f8f953cb
fix: some UI issue (T1440,T1443,T1444) (#2343)
* fix: limit template list dialog max-width

* fix: image to copy onContextMenu

* chore: remove useless code
2025-12-25 19:53:18 +08:00
Boris
7abb150453
feat: support background upload for attachment files (T1038) (#2335)
* feat: support background upload for attachment files

* fix: download file

* fix: remove debug code

* fix: download file in preview
2025-12-25 11:36:50 +08:00
Uno
438d447ac1
feat: credit calc T1317 (#2313)
* fix: button field enable

* feat: add Business billing level and update related components

* refactor: remove Plus billing level from components and adjust related logic

* fix: update billing levels in components to reflect recent changes

* fix: adjust target billing level logic and improve space owner check in UpgradeWrapper component

* fix: enhance space query logic in UpgradeWrapper

* refactor: optimize confirm function with useCallback for better performance
2025-12-24 19:14:15 +08:00
Uno
03f54a60be
feat: add confirmation option for button clicks T1005 (#2095)
* feat: add confirmation dialog for button actions

* fix: update theme styles for prompt editor

* feat: add confirm text editor to button options

* fix: update placeholder styles in editor themes to inherit font size
2025-12-24 11:00:13 +08:00
Boris
58e22c1542
feat(ui-lib): add zoom and rotate capabilities to image preview (T640) (#2327)
* feat(ui-lib): add zoom and rotate capabilities to image preview

* feat: touch device drag

* perf(ui-lib): optimize image preview performance with ResizeObserver and dimension caching
2025-12-23 18:24:40 +08:00
Jun Lu
75f04ee8f0
feat:update view toolbar components style T1312 (#2289)
* feat:update view toolbar components style T1312

* fix eslint

* add i18n
2025-12-18 14:10:38 +08:00
Uno
482ecbf1a4
fix: enhance BaseNodeTree with ChevronDownIcon and adjust indentation T1292,T1307 (#2285)
* fix: enhance BaseNodeTree with ChevronDownIcon and adjust indentation

* fix: update BaseNodeTree to conditionally allow table and app creation based on community status

* fix: adjust SpaceSwitcher button styling for improved layout

* fix: update BaseItem button click handling to prevent event propagation

* fix: refactor duplicate table name handling in BaseNodeMore component

* fix: update QuickAction component to include class for emoji size adjustment
2025-12-17 16:45:51 +08:00
Jun Lu
60759b4bdd
fix: input color in dark mode T1275 (#2282)
* fix: input color in dark mode T1275

* fix more input type color
2025-12-16 12:32:36 +08:00
Bieber
a652c26cf4
feat: add base creation functionality and improve UI for empty spaces T1283 (#2281) 2025-12-16 11:22:19 +08:00
Uno
e9079b501f
feat: space layout (#2236)
* feat: space layout

* feat: add lastModifiedTime and createdUser details to service responses

* refactor: update trash service and UI components

* refactor: remove unused router dependency

* feat: enhance UI for shared bases and trash pages with improved layout and descriptions

* feat: add createdTime field to service responses and update sorting logic in BaseList component

* fix: adjust layout in SpaceInnerPage component

* feat: add new translation keys in multiple languages

* fix: adjust padding in BaseItem component for improved layout

* feat: update translations and replace icon in trash components

* feat: double-click editing in BaseNodeTree

* refactor: remove dragHandleProps from BaseItem and BaseList components for cleaner code

* fix: update some style issue for space layout

* refactor: improve layout and styling

* fix:  adjust layout in BaseItem and BaseList components

* refactor: enhance layout and styling

* refactor: rename variables for clarity in user-related data handling across services

* refactor: initialize treeItems from cache  to prevent empty state flash on remount

* refactor: optimize BaseList sorting logic to handle null values and improve readability

---------

Co-authored-by: hammond <hammond@teable.io>
2025-12-11 22:45:40 +08:00
SkyHuang
30928efc00
chore: update sonner package (#2244) 2025-12-10 18:36:14 +08:00
Uno
8deafdad3c
feat: base node (#2168)
* feat: add BaseNode and BaseNodeFolder models with migration

* feat: add tree component in ui-lib

* feat: implement BaseNode and BaseNodeFolder functionality with CRUD operations and event handling

* feat: enhance migration script

* feat: add support for user last visit tracking and resource deletion events

* feat: implement permission management for BaseNode with role-based access control

* refactor:  PinService to optimize resource fetching and enhance code readability

* fix: router

* feat: base import/export/duplicae support base node

* test: add unit tests for BaseNodeService methods including SQL generation and edge cases

* feat: implement folder depth validation and enhance node movement logic in BaseNodeService

* feat: integrate performance caching for base node list

* refactor: remove unused routes from BasePageRouter

* feat: enhance dashboard renaming functionality with improved state management and keyboard shortcuts

* refactor: simplify BaseNodeTree component by removing unnecessary separator and enhancing drop logic

* feat: enhance QuickAction search

* fix: sorting for nodes in BaseImportService to ensure proper parent-child relationships

* fix: delete folder and pin list

* feat: add permanent delete functionality for base nodes and enhance delete logic in BaseNodeService

* feat: enhance error handling in BaseNodeService and BaseNodeFolderService with localized messages

* refactor: rename hooks and reorganize imports in base node feature

* refactor: remove console log and clean up imports in PinItem component

* fix: pin sql

* fix: e2e

* fix: sharedb presence handling

* fix: e2e

* refactor: optimize database transactions in BaseNodeService

* fix: improve URL generation in BaseNode components

* refactor: remove unnecessary permission decorator and adjust layout in BaseNodeTree component

* feat: add validation for folder depth when moving nodes

* fix: refine anchorId logic in BaseNodeTree component for improved node positioning

* fix: adjust emoji picker size in BaseNodeTree component for better UI consistency

* fix: enhance expanded when create

* feat: implement auto-scroll functionality during drag in BaseNodeTree component

* fix: update TreeItemLabel and TreeDragLine styles for improved visual consistency

* fix: enhance canDrop logic in BaseNodeTree for improved item drop validation

* refactor: add resourceMeta in baseNodeSchema

* fix: e2e

* refactor: update folder creation and update endpoints to return structured response objects

* fix: e2e

* feat: add disallowDashboard setting and deprecation banner in dashboard components

* fix: type check

* feat: add loading state to BaseNodeContext and integrate skeleton loading in BaseNodeTree

* feat: enhance BaseNode service and UI to include defaultViewId in resourceMeta

* refactor: simplify URL construction in getNodeUrl and streamline table navigation in BaseNodeTree

* refactor: improve styling and structure in BaseNodeTree for better responsiveness and accessibility

* feat: add workflow state render

* fix: sync dataLoader returned undefined error

* refactor: update styling in BaseNodeTree for improved layout and consistency

* refactor: remove setEditingNodeId  when create and duplicate

* refactor: extract table creation logic  for improved readability

* refactor: update dropdown menu width and enhance delete confirmation title with resource type

* fix: common noun i18n

* feat: introduce useBaseNodeContext hook for improved context management in BaseNode components

* refactor: update  useBaseNode for enhanced context management

* refactor: enhance BaseNodeTree component with edit mode support and improved local storage handling

* feat: add onUpdateError callback to useBaseNodeCrud and BaseNodeTree for improved error handling

* refactor:  improved UI consistency

* refactor: improve menu invalidation

* refactor: remove permanent delete functionality from UI components

* refactor: permission handling by consolidating base node actions

* feat: implement base node event handling with create, update, and delete events

* refactor: base node event

* refactor: remove table iist in ssr

* feat: enhance BaseNodeTree with  highlight

* feat: update BaseNodeTree to expand parent nodes on selection

* refactor: replace nativeEnum with enum

* fix: enhance router visits check

* refactor: remove unused user last visit mutation from BaseNodeTree
2025-12-09 22:07:15 +08:00
Jun Lu
6fd609a476
fix: personal setting modal style (#2233)
* fix: personal setting modal style

* fix more style and i18n issues

* Remove unused comment in LanguagePicker component

Remove commented code about language selection fallback.

Signed-off-by: Jun Lu <hammond@teable.io>

---------

Signed-off-by: Jun Lu <hammond@teable.io>
2025-12-09 17:06:26 +08:00
Bieber
b4cb680f53
refactor: ai sdk 6 (#2118)
* chore: update tracing details

* feat: add attachemnt ro

* feat: upgrade to zod 4 and ai-sdk 5

* chore: openapi -> meta

* feat: ai-sdk 6

* chore: standard resource type

* feat: grid view state subscriber

* feat: pick upgrade node to 22

* fix: remove swagger to makesure backend start

* fix: remove swagger to makesure backend start

* chore: fix typecheck

* chore: clean ui effect

* chore: i18n for tools

* fix: card ui

* chore: update ai sdk provider

* fix: should not delete the last view in table

* feat: better zod error

* chore: clean base card

* fix: restore into base logic

* chore: i18n for tools

* chore: i18n for tools

* fix: swagger is back

* fix: pnpm lock

* fix: unit test

* fix: remove token

* fix: typecheck

* feat: proxy setting

* chore: update i18n for chat

* chore: tools i18n

* chore: upgrade ai sdk

* chore: i18n for ai gateway

* chore: rename app generation to app builder

* chore: remove deprecated version

* feat: adjust feature limitations

* chore: tools i18n

* fix: lint issue

* fix: api tag

* chore: zod i18n

* chore: add credit limit exceeded error handling

---------

Co-authored-by: SkyHuang <sky.huang.fe@gmail.com>
2025-12-09 14:43:29 +08:00
Boris
302ec60864
refactor: space base invitation UI (#2167)
* feat: add new base invitation UI

* refactor: space invitation ui

* fix: i18n

* fix: detail optimization

* change some style (#2172)

---------

Co-authored-by: Jun Lu <hammond@teable.io>
2025-11-28 14:50:08 +08:00
Jun Lu
c6ea58f14f
fix: fix input background color (#2165) 2025-11-24 16:36:54 +08:00
Jun Lu
c6f82677f1
fix: color opacity in dark mode (#2160) 2025-11-21 12:23:08 +08:00
Jun Lu
e2b47b38e0
feat:new dark model color system (#2155) 2025-11-20 15:00:55 +08:00
Uno
1808f69a49
fix: enhance toast notifications with duration and close button (#2078)
* fix: enhance toast notifications with duration and close button

* fix: add pointer-events-auto class to toast notifications for improved interaction

* fix: update toast error handling and improve interaction with toasts

* fix: set default position for toast notifications

* refactor: replace useToast with sonner toast

* style: enhance toast appearance

* fix: enhance error and warning handling in toast notifications

* fix: set default duration for toast notifications and enhance message handling

* style: adjust close button positioning in toast notifications

* style: improve content styling for toast notifications

* refactor: consolidate toast import from sonner across components
2025-11-11 15:30:20 +08:00
Boris
16f7cb9482
feat: optimize attachment upload UI for better user experience (#2075)
* feat: optimize attachment upload UI for better user experience

* fix: init aiRobot avatar

* fix: handle upload attachment

* chore: remove useless code files

* fix: auto scrollBottom when upload file

* fix: adjust the size and spacing of the upload button
2025-11-06 11:11:44 +08:00
SkyHuang
40ca9c0048
fix: add necessary warnings for space deletion (#2016)
* perf: add necessary warnings for space deletion

* fix: prevent event propagation in modal component

* fix: update query enabling condition
2025-10-22 11:31:54 +08:00
Aries X
7538ee4681
perf: add cache for integration (#1934)
* perf: add cache for integration

* chore: delete unnecessary service

* perf: add confirm when paste、delete、clear records
2025-09-28 14:33:42 +08:00
Jun Lu
d0e0ede5c6
feat: Optimize the layout and style of field editing (#1925)
* feat: 优化字段编辑的排版和样式

* remove border-border color

* remove border-border color

* set sheet width

* restore field sheet max width
2025-09-26 16:58:14 +08:00
Bieber
a8e451f1ff chore: publish 1.10.0 release 2025-09-15 23:51:58 +08:00
Boris
7efd397838
chore: upgrade zod to 3.25.76 (#1847) 2025-09-09 18:58:58 +08:00
Uno
5d9e05c4a4
fix: add permanent delete in base and table delete (#1797)
* fix: adjust CommandList height in FieldMenu component for better visibility

* feat: add permanent delete in base and table delete ConfirmDialog

* fix: update export tips

* refactor: update permanent delete  button labels

* refactor: reorganize delete signal logic in TableOpenApiService

* fix: delete table ops

* fix: update export tips in Chinese localization for clarity
2025-09-08 18:10:41 +08:00
Boris
9a2a0a848f
feat: ai (#1783)
* feat: agent mode and group tools

* feat: optimize code previee and display

* perf: aichat ui

perf: chat agent

* chore: update ai slogan

* chore: add i18n for agent waiting state

* chore: resolve the dev redis connection

* feat: implement mul hybrid coding model (#1685)

* feat: add more agent for ai chat (#1686)

* chore: update i18n

* chore: delete useless component

* perf: first frame for ai panel

* perf: add build base agent for complex apps builder task

* chore: add more buildbase operator

* chore: update teable ai icon

* perf: smooth build base (#1692)

* feat: ai automation (#1710)

* chore: update type and i18n automation ai relative

* chore: update lock file

* perf: build base UI (#1731)

* perf: use queue to show the process of build base

* perf: limit `table`、`field`、`view` display when create base by ai

* feat: create operator by ai need to confirm

* feat: app

* perf: limit model level setting (#1741)

* feat: limit the model for ai chat

* test: update space e2e

* fix: user should not get full ai model info (#1744)

* fix: user should not get full ai model info

* perf: optimise ai integration display

* perf: ai relative ui (#1757)

* fix: delete temperature for supporting `gpt-5` (#1761)

* feat: user friendly interface

* feat: chat attachment (#1762)

* refactor: model setting (#1764)

* perf: agent task UI (#1763)

* perf: update ai config do not trigger ai enable in setting

* perf: build base task list

* chore: update i18n

* style: better dark mode

* chore: permission tips

* chore: better api token create experience

* feat: better shared bases

* feat: better collaborators display

* chore: update agent type

* feat: attachment ui (#1771)

* perf: ai chat abort i18n (#1773)

* feat: update uploadFromUrl params

* perf: add analyze attachment i18 (#1777)

* feat: permission for app

* feat: ai chat add suggestions (#1779)

* perf: ai generate animation border (#1780)

* feat: add app config

* fix: ai preview e2e (#1781)

* fix: ai preview e2e (#1782)

* feat: add app usage limit

* perf: ai ui adjust

* feat: ai ui

* revert: billable

* feat: show all collaborators for space

* fix: free user conflict ai ui (#1785)

* fix: badge show timing

* feat: app usage limit

* feat: add web search (#1789)

* perf: csv excel ai analze (#1790)

* fix: lint error

* perf: add a function to resolve excel and csv

* fix: lint error (#1791)

* perf: ai ui optimise (#1792)

---------

Co-authored-by: caoxing <caoxing9@gmail.com>
Co-authored-by: SkyHuang <sky.huang.fe@gmail.com>
Co-authored-by: Bieber <artist@teable.io>
2025-08-21 19:27:21 +08:00
Bieber
aa0cc4c030
chore: publish 1.9.1 release (#1755) 2025-08-13 21:06:03 +08:00
Bieber
a7b2ae158a
chore: publish 1.9.0 release (#1676) 2025-07-16 21:31:41 +08:00
Boris
6ec693d33a
fix: force video reload when src changes in VideoPreview component (#1593) 2025-06-11 17:28:27 +08:00
Aries X
a2745e3399
perf: plate upgrade (#1529)
* chore: update plate-ui component config

* perf: update plate latest version

* perf: update error message i18n

* perf: add markdown editor

* fix: comment quote empty when img is the first line content

* fix: paste img in comment editor should add blank text

* fix: first come into comment editor blur the cursor

* chore: add some logger in duplicate process
2025-05-23 11:17:01 +08:00
SkyHuang
ca508e8ed1
feat: ai config supplement (#1518)
* feat: ai config for attachment and rating fields

* fix: update schema for ai config

* fix: update schema

* chore: update icon for ai

* feat: support ollama

* chore: migration for ai robot user

* perf: record history panel supports copying text field values

* feat: ai config for number field
2025-05-14 17:55:20 +08:00
Aries X
3559c549dd
chore: rename some function and e2e (#1471)
* chore: update export base function name

* perf: enhance replaceMap function util

* chore: rename import-base e2e

* fix: confirm dialog interact with outsize when trigger mousedown

* chore: update export base tips

* perf: simplify base service

* chore: update duplicate base tips

* fix: reset password button text

* perf: update `.tea` file icon when import base

* perf: search field count default to infinity
2025-05-09 13:37:59 +08:00
Bieber
6582c1d7ee
chore: publish 1.8.0 release (#1447) 2025-04-16 14:57:11 +08:00
SkyHuang
d317a8dab8
feat: field ai config (#1414)
* feat: field ai config

* perf: field ai configuration interactive optimization

* chore: i18n for field ai config

* chore: db migration

* chore: update icons

* feat: validate field ai config

* chore: update e2e testing for field ai config

* chore: update unit testing

* fix: add task cancel event

* fix: the field's ai config was reset when modifying the select field value

* feat: update ui rendering for field ai config

* fix: reset field ai config when changing field type

* fix: create task reference when AI config includes attachments

* perf: the interaction of grid selection

* chore: db migration

* chore: update i18n

* feat: duplicate for field ai config

* feat: update usage limit for field ai config
2025-04-10 16:57:19 +08:00
Bieber
bbcbf9671c
chore: publish 1.7.0 release (#1393)
* chore: publish 1.7.0 release
2025-03-21 13:33:12 +08:00
SkyHuang
de7a756d16
fix: remove the restrictions on the year selection range of the calendar component (#1352) 2025-02-28 15:03:23 +08:00
Boris
d704a13f8e
feat: table plugin (#1340)
* chore: sonner component import

* chore: publish 1.6.1-beta.0 release

* chore: publish 1.6.1-beta.1 release

* feat: add plugin status ui and fix some plugin ui

* feat: add panel plugin and record menu plugin

* feat: chart plugin support table panel

* fix: line and area chart label decimal

* fix: init plugin context order when install

* fix: update plugin logo

* chore: revert versions
2025-02-25 18:39:04 +08:00
Aries X
8fb5d3792b
fix: excel preview crash when row number is 1 or 0 (#1302) 2025-02-10 10:39:30 +08:00
Bieber
80743f8c12
chore: license 2025 (#1294)
* docs: new year

* chore: patch language picker
2025-02-06 14:42:47 +08:00
Bieber
973cfb8c16
chore: publish 1.6.0 release (#1290) 2025-02-05 16:57:54 +08:00
Boris
4b338bacde
feat: support email verify, update email and optimise signin and signup page (#1252)
* feat: account email verify

* feat: support change email

* fix: e2e

* feat: additions e2e
2025-01-17 15:09:40 +08:00
SkyHuang
8f437ff493
feat: personal view (#1250)
* feat: personal view

* feat: personal view for all views

* fix: e2e testing for aggregation

* feat: personal view supports read-only permissions
2025-01-16 14:26:29 +08:00
Bieber
7a819c7128
feat: ai (#1117)
* feat(ai): backend api

* feat(ai): generate formula with AI

* chore: fix lint

* feat(ai): store ai config in database

* feat(ssr): inject public config into SSR props

* feat(ai): global ai config

* fix(ai): enable AI features based on configuration

* fix(ai): get model config from settings

* chore: migration

* feat: adapt to multiple LLM providers

* chore: update i18n for ai config

* perf: formula editor ai interaction

* chore: update icons

* perf: formula ai prompt

* feat: ai config

* chore: add slider component

* feat: distinguish sensitive fields of the setting api

* chore: update ai icon

* chore: update i18n

* feat: ai generate api

---------

Co-authored-by: mayneyao <i@gine.me>
Co-authored-by: SkyHuang <sky.huang.fe@gmail.com>
2025-01-03 19:21:12 +08:00