8000 Dev by golovencoserghei · Pull Request #552 · bagrinsergiu/MB-migration · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dev #552

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

Merged
merged 54 commits into from
May 13, 2025
Merged

Dev #552

merged 54 commits into from
May 13, 2025

Conversation

golovencoserghei
Copy link
Contributor

No description provided.

sergheigolovenco and others added 30 commits April 3, 2025 16:11
Introduced `addHeight` and `addSectionHeight` methods to BrizyComponent for customizing height settings. Updated MediaLayoutElement to set a default section height of 100vh during transformation.
fix(elements): added colorpalette to model
feat: add height configuration for Brizy components
Updated button handling logic to properly pass optional parameters. Enhanced link handling with a fallback for missing attributes using exception handling. Adjusted button styles and defaults in the JSON configuration.
fix: improve button handling and link fallback behavior
Adjusted color conversion logic to consistently use `rgba2hex` for section palette values and improved color fallback prioritization. Reordered key references to prefer `text` over `btn-text` for button styling, ensuring more consistent behavior across components.
Introduce `getMediaURL` for dynamic media URL generation. Add `isVideo` to detect video files and enhance existing link handling for media types. Refactor methods for better readability and consistency.
…-for-mp4-file

feat(media): add video handling and media URL generation
Added support for setting tablet and mobile margin top values to the Brizy component. This enhances responsiveness and ensures proper spacing across devices.
Refactored donation button styling logic including alignment, padding, and hover functionality for better readability and maintainability. Updated selector formatting and added fallback values for padding to ensure consistent styling. Introduced slight delays for hover simulations and improved handling of hover opacity defaults.
refactor: improve donation button style handling
Enhanced the `getItemImageComponent` method to include padding adjustments. This improves layout flexibility by adding a bottom padding of 10 units to the target component.
Corrected the margin configuration by adding a new method call to ensure proper spacing adjustments. This change resolves potential layout issues on mobile devices.
Voyage - image/text sections - top/bottom padding
Introduces a `getDonationsButtonOptions` method to allow specifying custom mobile padding for donation buttons in various elements. Default and theme-specific padding configurations are now supported, improving layout flexibility.
…-pading

feat: add customizable donations button padding options
Introduce a new optional `$position` parameter to the `handleRowListItem` method across multiple themes. This allows customizing layout alignment and padding based on the specified position, improving flexibility and consistency.
…dding

feat: add position parameter to handleRowListItem method
Renamed `handleDonations` to `handleDonationsButton` for clarity and updated its usage across multiple components. Introduced methods for handling rich text items more flexibly while ensuring type safety and consistency. Added detailed margin and styling configurations, enhancing layout handling.
refactor: rename and enhance donation handling methods
Updated mobile margin values to fix layout inconsistencies and introduced a custom CSS method for enhanced tabs styling. These changes improve visual alignment and maintain consistency across different sections.
fix: adjust mobile margins and add custom CSS for tabs
Introduced the afterTransformToTabsItem method to allow additional transformations on Brizy tab sections after they are created. Updated logic to include mobile margin adjustments for tabs in the Voyage theme.
Update padding values for LeftMedia and RightMedia elements
Reduce top and bottom padding in LeftMedia and RightMedia.
Introduced a `getHeightTypeHandleSectionStyles` method to define height types (auto/custom/full) and updated `handleSectionBackground` to adjust logic based on these types. Enhanced flexibility for managing section height in layouts, with specific implementations in `MediaLayoutElement`.
golovencoserghei and others added 24 commits April 23, 2025 16:41
…d-widget-

Add support for handling dynamic section height types.
Adjusted mobile padding values for consistency and introduced a new method to retrieve the top margin of the first element in RightMedia and LeftMedia classes. These changes improve layout alignment and styling control across themes.
Added methods for setting padding, margin, and custom height styles to improve layout flexibility in `BrizyComponent`. Updated GridLayoutElement to leverage these improvements for better responsiveness and styling consistency.
…r-radius

Enhance layout handling with new padding and height styles
Fixing the page titles on mobile so they appear and are centered
Integrated a new migration system using the Phinx library and its dependencies. Added a `Bridge` class to handle project transfers and a new `/bridge` route in the main application. Updated `composer.json` and `composer.lock` to include required packages for database migration and configuration handling.
Introduce MySQL driver class to handle database connections and queries. Refactor Bridge class to manage source projects, including new methods for setting and retrieving source project data. Update routing logic in `index.php` and modify `docker-compose.yaml` port mapping.
Introduced a new `/mapping` endpoint to handle project ID mappings. Handles specific project ID matching and returns corresponding values or errors in JSON responses.
Add support for a second database for mapping preparation and update database connection logic accordingly. Introduce `ApplicationBootstrapper` to centralize application initialization and streamline request handling. Modify HTTP endpoints to include additional functionalities and improve error handling.
Added `addPreparedProject` method to handle dynamic mapping of projects and introduced centralized input validation. Refactored database connection logic for reusability and enhanced error handling across the bridge layer.
fix(icons): icons are divided in two lines because of empty text
Introduced support for manual migration mode (`mgr_manual`) and enhanced project page handling, along with relevant updates to the migration platform and core configuration. Added APIs to fetch project UUID, check page changes, and manage mappings, improving flexibility and traceability in the migration process.
Add `RequestHandler` classes for GET, POST, and DELETE, improving request handling modularity. Enhance migration logic by enabling manual migration labeling and expanding functionality for bulk operations. Refactor database interactions and improve project/page change checks for more granular control and reporting.
Introduce `phinx.php` to manage database migrations and seeds. The file specifies paths for migration and seed files and configures a production environment with MySQL settings.
Updated `ApplicationBootstrapper` to refine the migration flow logic and introduce restructuring for project data management. Added centralized logging initialization and enhanced error handling. Additionally, updated dependencies in `composer.lock` to include the latest versions of libraries for better compatibility and performance.
Relocated the `/health` endpoint logic to the primary application handler. This improves code organization by consolidating request handling in one place.
Refactored manual migration logic to use dynamic dataVersion settings, improving clarity and flexibility. Adjusted database environment configuration to load from `.env` files, and replaced hardcoded values with environment variables to enhance security. Fixed suffix handling for dimensions and improved error logging across multiple components.
Introduce '/app' and '/addTagManualMigration' endpoints in the API. Enhance `setLabelManualMigration` to accept an optional project ID. Add methods to handle manual migration tagging via database and refine related logic in BrizyAPI interactions.
feat: add support for project migration with Phinx
@golovencoserghei golovencoserghei merged commit 9b8648e into main May 13, 2025
@golovencoserghei golovencoserghei deleted the dev branch May 15, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None ye 4D1C t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0