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.
This pull request includes several updates across multiple files to enhance functionality and improve the user interface. The most important changes include the addition of new components, improvements to existing components, and refactoring for better code organization.
New Features and Enhancements:
app/auth/projects/page.tsx: Added a new action column with a menu for updating projects, including the use ofuseMutationUpdateProjectfor handling project updates. [1] [2]components/InsertImageModal/InsertImageModal.tsx: Introduced tabbed navigation to select assets either from the desktop or project assets, and added a button to apply the selected project asset. [1] [2]Refactoring and Code Improvements:
components/FormAddProject/FormAddProject.tsx: Refactored to support updating projects by passingname,description, andformTitleas props and updating default values in the form. [1] [2]app/auth/projects/[project_id]/settings/page.tsx: Added TODO comments suggesting future improvements, such as using a hook for thedeleteAssetfunction and using theProjectAssetscomponent. (app/auth/projects/[project_id]/settings/page.tsxL86-R86, app/auth/projects/[project_id]/settings/page.tsxR125)app/auth/projects/[project_id]/video/[video_id]/page.tsx: Added hover states for displaying copy icons for video name and description, and imported theCopyIconcomponent. (app/auth/projects/[project_id]/video/[video_id]/page.tsxR79-R80, app/auth/projects/[project_id]/video/[video_id]/page.tsxR232-R263)Minor Updates:
components/List/List.tsx: Updated theListcomponent to support both row and column directions, adding flexibility to its layout.components/InsertImageModal/InsertImageModal.tsx: Added imports for new components and functionality, includingSelectTab,TabList, andProjectAssets. [1] [2]