* update: Add type
* fix: update import statement for NextApiRequest type
* fix: update imports to use type for LexicalEditor and EditorState
* Refactor imports to use 'import type' for type-only imports across multiple files
- Updated imports in various components and API files to use 'import type' for better clarity and to optimize TypeScript's type checking.
- Ensured consistent usage of type imports in files related to chat, dataset, workflow, and user management.
- Improved code readability and maintainability by distinguishing between value and type imports.
* refactor: remove old ESLint configuration and add new rules
- Deleted the old ESLint configuration file from the app project.
- Added a new ESLint configuration file with updated rules and settings.
- Changed imports to use type-only imports in various files for better clarity and performance.
- Updated TypeScript configuration to remove unnecessary options.
- Added an ESLint ignore file to exclude build and dependency directories from linting.
* fix: update imports to use 'import type' for type-only imports in schema files
* readme
* Add queue log
* Test interactive (#4509)
* Support nested node interaction (#4503)
* feat: Add a new InteractiveContext type and update InteractiveBasicType, adding an optional context property to support more complex interaction state management.
* feat: Enhance workflow interactivity by adding InteractiveContext support and updating dispatch logic to manage nested contexts and entry nodes more effectively.
* feat: Refactor dispatchWorkFlow to utilize InteractiveContext for improved context management
* feat: Enhance entry node resolution by adding validation for entryNodeIds and recursive search in InteractiveContext
* feat: Remove workflowDepth from InteractiveContext and update recovery logic to utilize parentContext for improved context management
* feat: Update getWorkflowEntryNodeIds to use lastInteractive for improved context handling in runtime nodes
* feat: Add lastInteractive support to enhance context management across workflow components
* feat: Enhance interactive workflow by adding stopForInteractive flag and improving memory edge validation in runtime logic
* feat: Refactor InteractiveContext by removing interactiveAppId and updating runtime edge handling in dispatchRunApp for improved context management
* feat: Simplify runtime node and edge initialization in dispatchRunApp by using ternary operators for improved readability and maintainability
* feat: Improve memory edge validation in initWorkflowEdgeStatus by adding detailed comments for better understanding of subset checks and recursive context searching
* feat: Remove commented-out current level information from InteractiveContext for cleaner code and improved readability
* feat: Simplify stopForInteractive check in dispatchWorkFlow for improved code clarity and maintainability
* feat: Remove stopForInteractive handling and related references for improved code clarity and maintainability
* feat: Add interactive response handling in dispatchRunAppNode for enhanced workflow interactivity
* feat: Add context property to InteractiveBasicType and InteractiveNodeType for improved interactivity management
* feat: remove comments
* feat: Remove the node property from ChatDispatchProps to simplify type definitions
* feat: Remove workflowInteractiveResponse from dispatchRunAppNode for cleaner code
* feat: Refactor interactive value handling in chat history processing for improved clarity
* feat: Simplify initWorkflowEdgeStatus logic for better readability and maintainability
* feat: Add workflowInteractiveResponse to dispatchWorkFlow for enhanced functionality
* feat: Enhance interactive response handling with nested children support
* feat: Remove commented-out code for interactive node handling to improve clarity
* feat: remove InteractiveContext type
* feat: Refactor UserSelectInteractive and UserInputInteractive params for improved structure and clarity
* feat: remove
* feat: The front end supports extracting the deepest interaction parameters to enhance interaction processing
* feat: The front end supports extracting the deepest interaction parameters to enhance interaction processing
* fix: handle undefined interactive values in runtimeEdges and runtimeNodes initialization
* fix: handle undefined interactive values in runtimeNodes and runtimeEdges initialization
* fix: update runtimeNodes and runtimeEdges initialization to use last interactive value
* fix: remove unused imports and replace getLastInteractiveValue with lastInteractive in runtimeEdges initialization
* fix: import WorkflowInteractiveResponseType and handle lastInteractive as undefined in chatTest
* feat: implement extractDeepestInteractive function and refactor usage in AIResponseBox and ChatBox utils
* fix: refactor initWorkflowEdgeStatus and getWorkflowEntryNodeIds calls in dispatchRunAppNode for recovery handling
* fix: ensure lastInteractive is handled consistently as undefined in runtimeEdges and runtimeNodes initialization
* fix: update dispatchFormInput and dispatchUserSelect to use lastInteractive consistently
* fix: update condition checks in dispatchFormInput and dispatchUserSelect to ensure lastInteractive type is validated correctly
* fix: refactor dispatchRunAppNode to replace isRecovery with childrenInteractive for improved clarity in runtimeNodes and runtimeEdges initialization
* refactor: streamline runtimeNodes and runtimeEdges initialization in dispatchRunAppNode for improved readability and maintainability
* fix: update rewriteNodeOutputByHistories function to accept runtimeNodes and interactive as parameters for improved clarity
* fix: simplify interactiveResponse assignment in dispatchWorkFlow for improved clarity
* fix: update entryNodeIds check in getWorkflowEntryNodeIds to ensure it's an array for improved reliability
* remove some invalid code
---------
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com>
* update doc
* update log
* fix: update debug workflow to conditionally include nextStepSkipNodes… (#4511)
* fix: update debug workflow to conditionally include nextStepSkipNodes based on lastInteractive for improved debugging accuracy
* fix : type error
* remove invalid code
* fix: QA queue
* fix: interactive
* Test log (#4519)
* add log (#4504)
* add log
* update log i18n
* update log
* delete template
* add i18NT
* add team operation log
---------
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com>
* remove search
* update doc
---------
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com>
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com>
* feat(member-group): Team (#2616)
* feat: member-group schema define
* feat(fe): create group
* feat: add group edit modal
* feat(fe): add avatar group component
* feat: edit group
fix: permission select menu style
* feat: bio-mode support for select-member component
* fix: avatar group key unique
* feat: group manage
* feat: divide member into group and clbs
* feat: finish team permission
* chore: adjust
* fix: get clbs
* perf: groups code
* pref: member group for team (#2706)
* chore: fe adjust
fix: remove the member from groups when removing from team
feat: change the groups avatar when updating the team's avatar
* chore: DefaultGroupName as a constant string ''
* fix: create default group when create team for root
* feat: comment
* feat: 4811 init
* pref: member group for team (#2732)
* chore: default group name
* feat: get default group when get by tmbid
* feat(fe): adjust
* member ui
* fix: delete group (#2736)
* perf: init4811
* pref: member group (#2818)
* fix: update clb per then refetch clb list
* fix: calculate group permission
* feat(fe): group tag
* refactor(fe): team and group manage
* feat: manage group member
* feat: add group transfer owner modal
* feat: group manage member
* chore: adjust the file structure
* pref: member group
* chore: adjust fe style
* fix: ts error
* chore: fe adjust
* chore: fe adjust
* chore: adjust
* chore: adjust the code
* perf: i18n and schema name
* pref: member-group (#2862)
* feat: group list ordered by updateTime
* fix: transfer ownership of group when deleting member
* fix: i18n fix
* feat: can not set member as admin/owner when user is not active
* fix: GroupInfoModal hover input do not change color
* fix(fe): searchinput do not scroll
* perf: team group ui
* doc
* remove enum
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
* fix: outlink manage be able to delete/update others
* fix: remove enum validation for teamMemberSchema.
because the old data has the role property, which may cause unknown bug
* perf: change findAndRemove to deleteOne
* chore: purge old permission
- remove useless role of teamMember
- Cleanup auth apis' Props and Return type Definitions
* chore: a better way of RequireAtLeastOne
Signed-off-by: Finley Ge <m13203533462@163.com>
---------
Signed-off-by: Finley Ge <m13203533462@163.com>
* Permission (#1442)
* Revert "lafAccount add pat & re request when token invalid (#76)" (#77)
This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.
* feat: add permission display in the team manager modal
* feat: add permission i18n
* feat: let team module acquire permission ablity
* feat: add ownerPermission property into metaData
* feat: team premission system
* feat: extract the resourcePermission from resource schemas
* fix: move enum definition to constant
* feat: auth member permission handler, invite user
* feat: permission manage
* feat: adjust the style
* feat: team card style
- add a new icon
* feat: team permission in guest mode
* chore: change the type
* chore: delete useless file
* chore: delete useless code
* feat: do not show owner in PermissionManage view
* chore: fix style
* fix: icon remove fill
* feat: adjust the codes
---------
Co-authored-by: Archer <545436317@qq.com>
* perf: permission modal
* lock
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>