36 Commits

Author SHA1 Message Date
be150fdb84 update 2026-03-26 23:26:44 +01:00
ad24195cdd Add CL3 support to products list and supplemental feed 2026-03-17 00:39:08 +01:00
f39f216409 feat: Update client bestseller statistics handling and UI display 2026-03-07 22:01:35 +01:00
640d4c8b05 feat: Implement client bestseller settings management with UI and backend support 2026-03-04 09:20:35 +01:00
61665c6d4f feat: Add product name retrieval and enhance supplemental feed offer ID normalization 2026-03-03 10:42:16 +01:00
fd0db9b145 feat: Add Supplemental Feeds feature with UI and backend support
- Implemented the main view for Supplemental Feeds, displaying clients with Merchant Account IDs and their associated feed files.
- Added styling for the feeds page and its components, including headers, empty states, and dropdown menus for syncing actions.
- Created backend logic to generate supplemental feeds for clients, including file handling and data sanitization.
- Integrated new routes and views for managing feeds, ensuring proper data retrieval and display.
- Updated navigation to include the new Supplemental Feeds section.
- Added necessary documentation for CRON job management related to feed generation.
2026-02-26 20:17:13 +01:00
4aefa5f445 feat: Enhance campaign terms management with keyword addition and match type change functionality
- Added a toolbar for adding keywords in the campaign terms view.
- Implemented match type change functionality with a confirmation dialog.
- Added delete functionality for keywords with confirmation.
- Updated styles for new buttons and icons in the campaign terms view.
- Enhanced product view with warning icons for product alerts and corresponding modal display.
- Updated product table to include a new column for warnings and adjusted column visibility settings.
- Documented project overview, code style conventions, suggested commands, and task completion checklist.
2026-02-24 01:30:13 +01:00
95cfb7a495 feat: add search and custom label filters to products view
- Added a search input for filtering products by name or ID.
- Introduced a custom label input for filtering by CL4.
- Implemented debounce functionality for both filters to optimize performance.
- Updated local storage handling to persist filter values.
- Modified styles for new filter groups in the product layout.

chore: add .serena configuration files

- Created .serena/.gitignore to exclude cache files.
- Added .serena/project.yml for project configuration.

fix: add status column to campaign_ad_groups table

- Altered the campaign_ad_groups table to include a status column with ENUM values 'active' and 'paused'./c
2026-02-22 11:59:20 +01:00
7573312038 feat: Add Gemini AI integration for product title and description optimization
- Implemented Gemini API service for generating optimized product titles and descriptions based on Google Merchant Center guidelines.
- Added settings for Gemini API key and model selection in user settings.
- Enhanced product management views to support AI-generated suggestions for titles and descriptions.
- Enabled state saving for various data tables across campaign, terms, logs, and products views.
- Introduced AI prompt templates for generating product descriptions and categories.
2026-02-22 00:44:03 +01:00
b54a9a71b1 Add CLI script to fetch active Meta Ads insights for campaigns, adsets, and ads
- Implemented a new PHP script to retrieve insights for the last N days (default 30).
- Supports command-line options for token, account ID, days, API version, and output file.
- Fetches data at campaign, adset, and ad levels, with filtering for active statuses.
- Handles JSON output and optional file saving, including directory creation if necessary.
- Includes error handling for cURL requests and JSON responses.
2026-02-20 23:45:36 +01:00
167ced3573 feat: Enhance user settings with cron URL plan display
- Added a new field to display the cron URL plan in user settings.
- Updated JavaScript to handle the new plan data.

refactor: Unify product model and migrate data

- Migrated product data from `products_data` to `products` table.
- Added new columns to `products` for better data organization.
- Created `products_aggregate` table for storing aggregated product metrics.

chore: Drop deprecated products_data table

- Removed `products_data` table as data is now stored in `products`.

feat: Add merchant URL flags to products

- Introduced flags for tracking merchant URL status in `products` table.
- Normalized product URLs to handle empty or invalid values.

feat: Link campaign alerts to specific products

- Added `product_id` column to `campaign_alerts` table for better tracking.
- Created an index for efficient querying of alerts by product.

chore: Add debug scripts for client data inspection

- Created debug scripts to inspect client data from local and remote databases.
- Included error handling and output formatting for better readability.
2026-02-20 17:50:14 +01:00
efbdcce08a feat: Add XML file management functionality
- Created XmlFiles control class for handling XML file views and regeneration.
- Implemented method to retrieve clients with XML feeds in the factory class.
- Added database migration to include google_merchant_account_id in clients table.
- Created migrations for products_keyword_planner_terms and products_merchant_sync_log tables.
- Added campaign_keywords table migration for managing campaign keyword data.
- Developed main view template for displaying XML files and their statuses.
- Introduced a debug script for analyzing product URLs and their statuses.
2026-02-18 21:23:53 +01:00
4635cefcbb feat: update font to Roboto across templates and add campaign/ad group filters in product views
- Changed font from Open Sans to Roboto in layout files.
- Added campaign and ad group filters in products main view.
- Enhanced product history to include campaign and ad group IDs.
- Updated migrations to support new campaign and ad group dimensions in product statistics.
- Introduced new migration files for managing campaign types and dropping obsolete columns.
2026-02-18 01:21:22 +01:00
59c086384b update 2026-02-16 00:43:39 +01:00
afe9d6216d Add migrations for Google Ads settings and demo data
- Create migration for global settings table and add google_ads_customer_id and google_ads_start_date columns to clients table.
- Add migration to include product_url column in products_data table.
- Insert demo data for campaigns, products, and their history for client 'pomysloweprezenty.pl'.
- Implement client management interface with modals for adding and editing clients, including Google Ads Customer ID and data retrieval start date.
2026-02-15 17:46:32 +01:00
9d62cfc845 feat: Dodaj funkcjonalność usuwania zaznaczonych produktów w interfejsie użytkownika 2026-01-30 00:27:44 +01:00
cd5ab2b8b6 feat: Dodaj funkcjonalność usuwania komentarzy oraz wyświetlanie ich w historii produktów 2026-01-26 23:40:20 +01:00
e165fd3ef3 feat: Dodaj funkcjonalność usuwania produktów oraz aktualizację interfejsu użytkownika 2025-12-17 23:04:07 +01:00
f5db5263ab feat: Add Google Taxonomy integration and product editing enhancements
- Implemented Google Taxonomy loading via AJAX in main_view.php, allowing users to select categories for products.
- Enhanced product editing modal to include fields for product title, description, and Google category selection.
- Updated AJAX calls to save product data, including custom title, description, and selected Google category.
- Added character count validation for product title input.
- Integrated Select2 for improved category selection UI.
- Created google-taxonomy.php to fetch and cache Google Taxonomy data, ensuring efficient retrieval and fallback mechanisms.
- Removed outdated custom feed XML file.
- Updated layout-logged.php to include necessary Select2 styles and scripts.
2025-11-20 23:46:21 +01:00
92ce677f7c Dodaj metodę get_roas_bounds w klasie Products oraz zaktualizuj metodę get_products, aby wyświetlała minimalny i maksymalny ROAS z paskiem wydajności. 2025-10-21 00:17:58 +02:00
4e21a63cc9 Zaktualizuj warunek dla etykiety 'custom_label_4' w klasie Products, zmieniając 'product_deleted' na 'deleted' 2025-08-21 10:55:00 +02:00
e0ac1cf118 Add comment form alongside chart in product history
- Introduced a new layout for the product history page, integrating a comment form next to the chart.
- Styled the comment form with SCSS for better user experience.
- Implemented form submission via AJAX to save comments without page reload.
- Set default date in the comment form to today's date.
- Enhanced error handling for AJAX requests related to comment submission.
2025-08-20 23:59:56 +02:00
9e31461073 Dodaj metodę get_min_roas w klasie Products oraz zaktualizuj szablon product_history.php, aby wyświetlał linię limitu ROAS na wykresie. 2025-08-20 16:24:53 +02:00
522db8d363 Dodaj kolor etykiety 'pla_single' w klasie Products 2025-07-04 16:16:46 +02:00
ea6163bee2 Zmień etykietę 'pause' na 'paused' w klasie Products dla poprawy spójności kolorów. 2025-05-15 23:46:53 +02:00
9d5119e421 Dodaj kolor etykiety 'pause' w klasie Products 2025-05-15 23:15:54 +02:00
056559d0f3 Update ROAS calculations to include all-time values and adjust cache metadata 2025-04-24 00:17:36 +02:00
2ea0cc28a6 Refactor code structure for improved readability and maintainability 2025-04-13 00:52:21 +02:00
aeb7599811 Add functionality to manage and display minimum ROAS for bestsellers; implement AJAX calls for retrieval and saving 2025-04-08 00:18:57 +02:00
ce9c9a1507 Add bold styling for low ROAS values and enhance product display 2025-03-08 11:31:20 +01:00
02fb4cefd3 Update product cache metadata and add custom class for deleted products 2025-02-09 23:19:05 +01:00
575d4aace0 Add minimum ROAS functionality to product management; implement saving and display in product listing 2025-01-29 22:53:41 +01:00
bd0b5c58c0 Refactor product ordering logic to use POST data; improve query structure and enhance readability 2025-01-06 13:08:18 +01:00
730ff661c8 Add search functionality to product listing and enable custom title editing 2024-12-16 23:36:09 +01:00
03a6d68c62 Enhance product display with custom names and improved styling; update table headers 2024-12-15 21:36:38 +01:00
82a183fd18 first commit 2024-12-10 23:24:15 +01:00