Commit Graph

797 Commits

Author SHA1 Message Date
Marvin Zhang
9ade564d0a Remove unused TypeScript declaration files for task, token, and user components in the Crawlab UI, streamlining the codebase and improving maintainability. 2025-09-16 09:31:34 +08:00
Marvin Zhang
72177b2728 fix: update node disconnected status styling and behavior 2025-09-14 15:20:01 +08:00
Marvin Zhang
07bb7f8ba9 fix: enhance node metrics handling by checking state before accessing metrics map 2025-09-12 16:34:40 +08:00
Marvin Zhang
60be5072e5 feat: add node disconnection handling and update task statuses accordingly 2025-09-12 15:40:29 +08:00
Marvin Zhang
05a71da26e refactor: comment out AI chat features in NormalLayout.vue for future implementation 2025-09-12 15:01:29 +08:00
Marvin Zhang
b5f10cb6a8 feat: add TypeScript interfaces for Vuex store modules
- Introduced new interfaces for various store modules including environment, file, git, layout, node, notification alerts, channels, requests, settings, plugins, projects, roles, schedules, spiders, systems, tags, tasks, tokens, and users.
- Each module includes state, getters, mutations, and actions definitions to enhance type safety and maintainability.
- Added utility interfaces for file handling and view-specific types for database, git, login, node, project, result, schedule, spider, task, and user.
- Improved overall structure and organization of TypeScript typings for better developer experience.
2025-09-12 14:57:42 +08:00
Marvin Zhang
babecc46c0 refactor: update DependencySetupDialog to use language key for tag label; modify useDependencyList to dispatch node retrieval on mount 2025-08-08 11:12:05 +08:00
Marvin Zhang
f5f83a010f refactor: update metric list structure for improved layout and responsiveness; enhance styling with grid display 2025-08-07 11:12:50 +08:00
Marvin Zhang
060396af3d refactor: enhance data structure annotations and improve layout responsiveness in Home component 2025-08-07 09:58:11 +08:00
Marvin Zhang
3678d14082 feat: implement bounded goroutine pools for task execution and notification handling; enhance task scheduler with graceful shutdown and cleanup routines; update metric component for new time range options 2025-08-06 17:57:37 +08:00
Marvin Zhang
a2d13fae36 feat: temporarily disable batch file saving route and implement alternative handler in spider controller 2025-07-23 14:55:04 +08:00
Marvin Zhang
8bd3ef0b72 feat: add goroutine count metric to the MetricService and update related files 2025-07-08 14:08:31 +08:00
Marvin Zhang
7e4187f388 chore: add TypeScript declaration files for various components and services 2025-07-08 14:08:13 +08:00
Marvin Zhang
38c3a7534a fix: unable to select all options in some dropdown 2025-06-18 22:33:04 +08:00
Marvin Zhang
09cfe37272 fix: unable to sync files to worker nodes when running tasks 2025-06-18 21:50:53 +08:00
Marvin Zhang
c06a9c6052 feat: update AutoProbe service and interfaces to support AutoProbeV2 2025-06-16 22:54:33 +08:00
Marvin Zhang
c4a469b440 feat: enhance SystemDetail layout and improve customization form with scrollbar 2025-06-15 17:16:32 +08:00
Marvin Zhang
c3230fdbe1 refactor: streamline database handling and remove unused options 2025-06-13 21:53:23 +08:00
Marvin Zhang
0bd2b62792 feat: add DTOs for models and update project spiders type to array 2025-06-12 19:58:21 +08:00
Marvin Zhang
fe79cbb1a5 feat: add custom label template for active navigation item in DetailLayout 2025-06-12 10:31:26 +08:00
Marvin Zhang
79b7e074e1 refactor: update filter parameter in API requests and improve component structure 2025-06-12 00:17:40 +08:00
Marvin Zhang
3552b7805b refactor: remove unused javascript-time-ago types and enhance node sorting logic 2025-06-11 22:30:46 +08:00
Marvin Zhang
ca069cb570 feat: implement navigation list management in store and detail layout 2025-06-11 18:04:51 +08:00
Marvin Zhang
de69c2b01b refactor: replace activeNodes with allList in dependency dialogs and related components 2025-06-11 13:34:08 +08:00
Marvin Zhang
1f3a9586b3 feat: enhance data model associations and remove unused components 2025-06-09 23:00:47 +08:00
Marvin Zhang
c48d74bf0e feat: add active nodes management and project retrieval functionality 2025-06-09 10:50:33 +08:00
Marvin Zhang
8a00af115c feat: refactor to remove unused 'getAllList' methods and related state properties 2025-06-09 10:20:39 +08:00
Marvin Zhang
7b3f431ebe Merge remote-tracking branch 'origin/develop' into develop 2025-06-06 15:00:13 +08:00
Marvin Zhang
8d32d54fe8 feat: add development and index generation run configurations; update SVG files and improve icon styles 2025-06-06 14:59:59 +08:00
Marvin Zhang
805ef38a87 feat: add translation for AutoProbe menu item in router 2025-06-03 13:10:45 +08:00
Marvin Zhang
2aefdd3ee1 feat: add AI assistant SVG icon and integrate it into the header with a toggle button 2025-05-30 23:27:47 +08:00
Marvin Zhang
1cb5133fe0 feat: unhide the AutoProbe route in the navigation menu 2025-05-29 22:24:52 +08:00
Marvin Zhang
062077a9bd feat: restructure user parameters for PostUser and simplify email validation; refactor UserAvatar styles and improve user name handling 2025-05-29 22:16:27 +08:00
Marvin Zhang
57348da3f2 feat: implement auto naming for URL input and enhance data fetching with debounce in AutoProbe components 2025-05-28 18:05:23 +08:00
Marvin Zhang
14027f1c0c feat: enhance AutoProbe state management with page pattern and data handling 2025-05-26 11:28:56 +08:00
Marvin Zhang
0f80639a96 feat: add OpenRouter support and refactor LLM provider imports
- Introduced OpenRouter as a new LLM provider in the system.
- Updated LLM provider imports from '@/utils/ai' to '@/utils/llm' for consistency.
- Added new SVG icon for OpenRouter in the assets directory.
- Enhanced AutoProbe interfaces to accommodate new pattern structures.
2025-05-25 23:13:37 +08:00
Marvin Zhang
0022b5ae40 feat: add display configuration options and enhance element filtering in AutoProbeResultsPreview component
- Introduced showLabel and focusMode options for better control over element display.
- Updated page element filtering logic to accommodate new focus mode functionality.
- Added translations for new display configuration options in English and Chinese.
- Included csstype dependency for improved type management in styles.
2025-05-21 00:03:04 +08:00
Marvin Zhang
9e56ae7b00 refactor: rename overlayRef to screenshotRef and update related scaling logic in AutoProbeResultsPreview component 2025-05-20 14:29:55 +08:00
Marvin Zhang
4857d22cd7 feat: add activeNavItem prop and enhance page element filtering in AutoProbe components 2025-05-19 18:07:01 +08:00
Marvin Zhang
50c4bc3750 feat: add viewport selection and run on create options in AutoProbeForm component 2025-05-19 17:32:40 +08:00
Marvin Zhang
da024f7b6f refactor: remove unused props definition in ChatMessageList component 2025-05-19 09:11:09 +08:00
Marvin Zhang
f1f74d8a6a feat: update AutoProbeResultsContainer and related interfaces for improved preview functionality
- Refactored AutoProbeResultsContainer to utilize new previewResult structure and updated API calls.
- Enhanced element styling and dynamic behavior for page elements in the preview.
- Introduced getIconByPageElementType utility for better icon management based on element type.
- Updated AutoProbe interfaces to reflect changes in data structure, including renaming PagePreview to PagePreviewResult and modifying page_elements type.
- Added rowKey functionality in AutoProbeList for improved table data handling.
2025-05-18 23:03:02 +08:00
Marvin Zhang
7afc4ba4c9 feat: enhance internationalization and update AutoProbe interfaces
- Updated Chinese translation for 'AutoProbe' to include its native term.
- Modified AutoProbe interfaces to improve data structure, including changes to page_data and the addition of new properties in AutoProbeTaskResult.
- Enhanced SidebarItem component to conditionally display badge values based on item properties.
2025-05-18 18:53:43 +08:00
Marvin Zhang
07a509c198 feat: implement preview functionality in AutoProbeResultsContainer with enhanced state management and new interfaces
- Added preview feature to display page screenshots and item coordinates.
- Introduced new interfaces for viewport and element coordinates in autoprobe models.
- Improved iframe loading state management and dynamic styling for preview elements.
- Updated AutoProbeDetailTabPatterns to pass activeId prop for better data handling.
2025-05-16 23:38:13 +08:00
Marvin Zhang
c0b0cc9f7e feat: improve iframe loading state management and enhance styling in AutoProbeResultsContainer 2025-05-16 18:17:07 +08:00
Marvin Zhang
2ec4707510 feat: enhance AutoProbe components with improved styling and iframe sandboxing 2025-05-16 17:52:05 +08:00
Marvin Zhang
5d837cca7e feat: add iframe support for URL preview in AutoProbeResultsContainer 2025-05-16 17:17:34 +08:00
Marvin Zhang
6705ce2ded feat: simplify results visibility management in AutoProbeResultsContainer 2025-05-16 13:32:10 +08:00
Marvin Zhang
9144ab5fe0 feat: enhance AutoProbeResultsContainer with dynamic cell styling and active field management 2025-05-16 13:13:13 +08:00
Marvin Zhang
f3d6a56315 refactor: update AutoProbe components and enhance structure
- Removed obsolete AutoProbeFieldDetail, AutoProbeListDetail, AutoProbePagePatternDetail, and AutoProbePaginationDetail components to streamline the codebase.
- Introduced new components: AutoProbeItemDetail and AutoProbePagePatternsSidebar for improved data management and user interaction.
- Updated index.ts to reflect new component structure and exports.
- Enhanced internationalization support with new translations for preview and extraction types.
- Refactored AutoProbeDetailTabPatterns to utilize new components and improve data handling.
2025-05-15 18:04:27 +08:00