-
Notifications
You must be signed in to change notification settings - Fork 36
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: added ownership registration #513
Merged
Merged
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
- Updated `subscribe-to-unlock-card.tsx` to include a free trial button. - Integrated neon effect using `RainbowEffect` and `NeonPaper` for styling. - Added `handleTrial` function to manage button's loading state with a 2-second timeout. - Refactored UI structure with additional styling adjustments for layout consistency.
- Updated "subscribe-to-unlock-card.tsx" to replace the MUI LoadingButton with a custom StyledBoxGradient component for enhanced styling. - Introduced a new StyledBoxGradient component with a gradient animation and clean design to improve UI interactivity and consistency. - Removed redundant styles from LoadingButton and applied them to StyledBoxGradient for better reusability.
- **src/sections/studio/index.tsx**: Created the main Studio section containing layout and structure. - **src/pages/dashboard/studio.tsx**: Added Studio feature with access control and replaced the "Coming Soon" placeholder for authorized users. - **src/sections/components/studio-process.tsx**: Developed new StudioProcess component to manage content publishing flow and UI. - **src/sections/components/studio-process-modal.tsx**: Added modal to handle content submission. - **src/assets/illustrations/process.svg**: Added a new illustration for the Studio process. - **src/components/subscribe-to-unlock-card.tsx**: Adjusted gradient styling for consistency.
- Introduced `MarketingView` component in `src/sections/marketing/index.tsx`, incorporating grid and stack layouts. - Created reusable `MarketingProcessModal` in `src/sections/marketing/components/marketing-process-modal.tsx` for handling marketing dialogs. - Added `marketing.svg` illustration to `src/assets/illustrations` for visual enhancements.
… abi also added is active campaign hook
# Conflicts: # src/config/abi/LedgerVault.json # src/hooks/use-authorize-policy.ts # src/hooks/use-get-active-licenses.ts # src/hooks/use-metamask.ts # src/hooks/use-subscribe.ts # src/pages/dashboard/marketing.tsx # src/pages/dashboard/studio.tsx # src/sections/finance/components/finance-deposit-from-metamask.tsx # src/sections/finance/components/finance-deposit.tsx # src/sections/finance/components/finance-quick-transfer.tsx # src/sections/finance/components/finance-withdraw-from-metamask.tsx
- Added `src/assets/illustrations/ownership.svg` file. This SVG includes various gradients, styles, and graphical elements intended for UI/UX or branding purposes.
- Updated `StudioPublishModalProps` to `ModalProps` in `src/components/modal.tsx`. - Updated corresponding type reference in the Modal component to improve readability and maintain concise naming conventions.
- Introduced `MarketingProcessContentModal` in `marketing-process-content-modal.tsx` for handling campaign forms with Formik. - Simplified `MarketingProcess` in `marketing-process.tsx` by utilizing `MarketingProcessContentModal` and restructured the UI with `ProcessSectionCard`. - Improved modularity and readability by separating UI concerns and form handling logic into distinct components.
- Replaced custom layout and style logic with `ProcessSectionCard` for the main interface in `ownership-process.tsx`. - Streamlined modal implementation by switching to `OwnershipProcessModal`. - Cleaned up unused imports and redundant styles, improving maintainability. - Simplified JSX structure and removed verbose comments while preserving functionality.
- Introduced a new `ProcessIllustrationCard` functional component in `src/components/process-illustration-card.tsx`. - Utilized `Stack` from MUI for responsive layout and styling. - Integrated custom `Image` component to display illustrations with props for `src` and `alt`.
- Introduced `ProcessSectionCard` in `src/components/process-section-card.tsx`. - The component provides a versatile section card with a title, description, button, and illustration. - Utilizes Material-UI components, custom hooks, and gradient styles for a responsive, visually appealing layout.
- Replaced verbose JSX structure in `studio-process.tsx` with the streamlined `ProcessSectionCard` component for better reusability and readability. - Removed unnecessary imports such as `useResponsive` and `useTheme` to clean up the code. - Simplified modal integration and updated descriptive text for more concise display logic.
…ubtitles handle to videos
Quality Gate passedIssues Measures |
geolffreym
approved these changes
Jan 30, 2025
@@ -81,7 +88,7 @@ export const VideoPlayer: FC<VideoPlayerProps> = ({ src, titleMovie, onBack, sho | |||
enableDateRangeMetadataCues: false, | |||
enableMetadataCues: false, | |||
enableID3MetadataCues: false, | |||
enableWebVTT: false, // TODO change when subtitles needed | |||
enableWebVTT: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happen of the movie has not subs?
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.
This PR introduces various improvements and new features, mainly focusing on ownership registration, asset management, and video enhancements. Key updates include:
Temporary "Register Ownership" Section: A temporary section for ownership registration has been added for Mihail.
Ownership Registration features:
Validates whether an asset is already registered.
Registers the asset and uploads it to Lens.
Supports adding multiple assets, separated by commas.
Video Subtitles Handling: Added support for subtitle management in videos.
Asset Ownership ABI: Included the ABI for asset ownership operations.