-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support canvas sharing and duplication #547
Open
mrcfps
wants to merge
15
commits into
main
Choose a base branch
from
feat/static-share
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,329
−619
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Replace OptionalJwtAuthGuard with JwtAuthGuard across multiple controllers - Remove public sharing logic from action, canvas, knowledge, and misc services - Modify service methods to require authenticated user - Update type definitions to remove isPublic-related properties - Simplify access control by enforcing user-specific data retrieval
- Add error handling for file retrieval in misc service - Enhance share deletion to remove child records and associated files - Implement share not found overlay for readonly canvas - Update share settings UI with loading states and refetch - Add context support for detecting share not found scenarios - Update translations for share access descriptions
- Add new `duplicateShare` endpoint in share controller and service - Remove deprecated canvas duplication queue and processor - Modify canvas duplication logic to support optional ownership check - Update frontend hooks and components to use new share duplication flow - Enhance image node and canvas service with improved metadata handling
- Improve `batchRemoveObjects` to mark files as deleted in database first - Optimize file duplication process with batch insert and duplicate checking - Add user context to file removal operations - Reduce database queries during file operations
- Modify duplicate canvas button to prompt login for non-authenticated users - Integrate auth store to open login modal when duplication is attempted - Remove login check condition from duplicate button rendering - Simplify duplicate button logic with centralized authentication check
…prove UI disabled states - Remove JWT guard from skill list endpoint in API - Update chat input readonly styling with black text and transparent background - Enhance config manager disabled states with consistent color styling - Add dynamic node size update on config panel expand/collapse - Simplify skills list query by removing login dependency
- Update deployment workflows for web (prod and staging) with static public endpoint - Modify docker-compose environment to include static public endpoint - Update .env.example with new static public endpoint configuration
- Update user service to include avatar in updateUser method - Extend OpenAPI schema with avatar field for user settings - Generate corresponding TypeScript types for avatar property
- Extend canvas service to fetch and return user details for canvas owner - Update canvas context to include owner information - Modify readonly canvas title component to display owner avatar and name - Update OpenAPI schema and types to support owner field in canvas data
- Integrate antd-img-crop for avatar image cropping - Implement avatar upload with file type and size validation - Add translations for avatar upload and cropping - Update account settings component to support avatar selection and preview
- Include Open Graph title, description, and image for landing page - Set website type and dynamic URL for better social media preview - Use existing translations for consistent metadata
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Tip
Close issue syntax:
Fixes #<issue number>
orResolves #<issue number>
, see documentation for more details.Impact Areas
Please check the areas this PR affects:
Screenshots/Videos
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods