Commit Graph

  • 7fb9dd0267 fix: cache database username to avoid redundant API calls\n\n- Added cachedDbUsername variable to store username after first API call\n- Modified loadPricelistsDbUsername to check cache before making API request\n- Reduces unnecessary API calls when opening pricelists modal multiple times\n- Improves performance and reduces server load Mikhail Chusavitin 2026-02-02 14:19:23 +03:00
  • ed1d6e642c fix: cache database username to avoid redundant API calls\n\n- Added cachedDbUsername variable to store username after first API call\n- Modified loadPricelistsDbUsername to check cache before making API request\n- Reduces unnecessary API calls when opening pricelists modal multiple times\n- Improves performance and reduces server load Mikhail Chusavitin 2026-02-02 14:19:23 +03:00
  • 61646bea46 fix: hide pagination when pricelists loading fails\n\n- Added pagination hiding when pricelists load error occurs\n- Prevents display of empty pagination controls when there's an error\n- Maintains consistent UI behavior Mikhail Chusavitin 2026-02-02 14:15:23 +03:00
  • 2f0648f2d4 fix: hide pagination when pricelists loading fails\n\n- Added pagination hiding when pricelists load error occurs\n- Prevents display of empty pagination controls when there's an error\n- Maintains consistent UI behavior Mikhail Chusavitin 2026-02-02 14:15:23 +03:00
  • 9495f929aa fix: add double-submit protection for pricelist creation\n\n- Added isCreatingPricelist flag to prevent duplicate submissions\n- Disable submit button during creation process\n- Show loading text during submission\n- Re-enable button and restore text in finally block\n- Prevents accidental creation of duplicate pricelists Mikhail Chusavitin 2026-02-02 14:03:39 +03:00
  • 1d5e358f80 fix: add double-submit protection for pricelist creation\n\n- Added isCreatingPricelist flag to prevent duplicate submissions\n- Disable submit button during creation process\n- Show loading text during submission\n- Re-enable button and restore text in finally block\n- Prevents accidental creation of duplicate pricelists Mikhail Chusavitin 2026-02-02 14:03:39 +03:00
  • b80bde7dac fix: add showToast fallback for robustness\n\n- Added fallback showToast function to prevent undefined errors\n- If showToast is not available from base.html, use simple alert fallback\n- Maintains same functionality while improving robustness\n- Addresses potential undefined showToast issue in pricelists functions Mikhail Chusavitin 2026-02-02 13:50:32 +03:00
  • 78fd25472f fix: add showToast fallback for robustness\n\n- Added fallback showToast function to prevent undefined errors\n- If showToast is not available from base.html, use simple alert fallback\n- Maintains same functionality while improving robustness\n- Addresses potential undefined showToast issue in pricelists functions Mikhail Chusavitin 2026-02-02 13:50:32 +03:00
  • e307a2765d fix: rename global canWrite variable to avoid naming conflicts\n\n- Renamed global 'canWrite' variable to 'pricelistsCanWrite' to avoid potential conflicts\n- Updated all references to the renamed variable in pricelists functions\n- Maintains same functionality while improving code quality Mikhail Chusavitin 2026-02-02 13:00:05 +03:00
  • 2b5c81001a fix: rename global canWrite variable to avoid naming conflicts\n\n- Renamed global 'canWrite' variable to 'pricelistsCanWrite' to avoid potential conflicts\n- Updated all references to the renamed variable in pricelists functions\n- Maintains same functionality while improving code quality Mikhail Chusavitin 2026-02-02 13:00:05 +03:00
  • 6f1feb942a fix: handle URL tab parameter in admin pricing page Mikhail Chusavitin 2026-02-02 12:56:14 +03:00
  • f9096ccad2 fix: handle URL tab parameter in admin pricing page Mikhail Chusavitin 2026-02-02 12:56:14 +03:00
  • 236e37376e fix: properly hide main tab content when pricelists tab is active\n\n- Fixed tab switching logic to properly hide main tab-content when pricelists tab is selected\n- Ensures no 'Загрузка...' text appears in pricelists tab\n- Maintains proper tab visibility for all other tabs Mikhail Chusavitin 2026-02-02 12:45:33 +03:00
  • d26a8c5604 fix: properly hide main tab content when pricelists tab is active\n\n- Fixed tab switching logic to properly hide main tab-content when pricelists tab is selected\n- Ensures no 'Загрузка...' text appears in pricelists tab\n- Maintains proper tab visibility for all other tabs Mikhail Chusavitin 2026-02-02 12:45:33 +03:00
  • ded6e09b5e feat: move pricelists to admin pricing tab\n\n- Removed separate 'Прайслисты' link from navigation\n- Added 4th tab 'Прайслисты' to admin_pricing.html\n- Moved pricelists table, create modal, and CRUD functionality to admin pricing\n- Updated /pricelists route to redirect to /admin/pricing?tab=pricelists\n\nFixes task 2: Прайслисты → вкладка в "Администратор цен" Mikhail Chusavitin 2026-02-02 12:42:05 +03:00
  • 087701fe99 feat: move pricelists to admin pricing tab\n\n- Removed separate 'Прайслисты' link from navigation\n- Added 4th tab 'Прайслисты' to admin_pricing.html\n- Moved pricelists table, create modal, and CRUD functionality to admin pricing\n- Updated /pricelists route to redirect to /admin/pricing?tab=pricelists\n\nFixes task 2: Прайслисты → вкладка в "Администратор цен" Mikhail Chusavitin 2026-02-02 12:42:05 +03:00
  • 96bbe0a510 fix: use originalHTML to restore button state after sync Mikhail Chusavitin 2026-02-02 12:32:44 +03:00
  • 5a9c5371ba fix: use originalHTML to restore button state after sync Mikhail Chusavitin 2026-02-02 12:32:44 +03:00
  • b672cbf27d feat: implement comprehensive sync UI improvements and bug fixes Mikhail Chusavitin 2026-02-02 12:17:17 +03:00
  • 6b5f826f4b feat: implement comprehensive sync UI improvements and bug fixes Mikhail Chusavitin 2026-02-02 12:17:17 +03:00
  • e206531364 feat: implement sync icon + pricelist badge UI improvements Mikhail Chusavitin 2026-02-02 11:18:24 +03:00
  • 630245b720 feat: implement sync icon + pricelist badge UI improvements Mikhail Chusavitin 2026-02-02 11:18:24 +03:00
  • 9bd2acd4f7 Add offline RefreshPrices, fix sync bugs, implement auto-restart Mikhail Chusavitin 2026-02-02 11:03:41 +03:00
  • 32413838aa Add offline RefreshPrices, fix sync bugs, implement auto-restart Mikhail Chusavitin 2026-02-02 11:03:41 +03:00
  • ec3c16f3fc Add UI sync status indicator with pending badge Michael Chus 2026-02-02 06:38:23 +03:00
  • 228f64d205 Add UI sync status indicator with pending badge Michael Chus 2026-02-02 06:38:23 +03:00
  • 1f739a3ab2 Update CLAUDE.md TODO list and add local-first documentation Michael Chus 2026-02-01 22:20:23 +03:00
  • 47ce3314b4 Update CLAUDE.md TODO list and add local-first documentation Michael Chus 2026-02-01 22:20:23 +03:00
  • be77256d4e Add background sync worker and complete local-first architecture Michael Chus 2026-02-01 22:17:00 +03:00
  • ba5b14c72f Add background sync worker and complete local-first architecture Michael Chus 2026-02-01 22:17:00 +03:00
  • 143d217397 Add Phase 2: Local SQLite database with sync functionality Michael Chus 2026-02-01 11:00:32 +03:00
  • 0a93973d02 Add Phase 2: Local SQLite database with sync functionality Michael Chus 2026-02-01 11:00:32 +03:00
  • 8b8d2f18f9 Update CLAUDE.md with new architecture, remove Docker Michael Chus 2026-01-31 14:57:23 +03:00
  • 6b44de48a2 Update CLAUDE.md with new architecture, remove Docker Michael Chus 2026-01-31 14:57:23 +03:00
  • 8c1c8ccace Add Go binaries to .gitignore Michael Chus 2026-01-31 10:31:43 +03:00
  • cc73a7a11e Add Go binaries to .gitignore Michael Chus 2026-01-31 10:31:43 +03:00
  • f31ae69233 Add price refresh functionality to configurator Michael Chus 2026-01-31 10:31:00 +03:00
  • 3821095254 Add price refresh functionality to configurator Michael Chus 2026-01-31 10:31:00 +03:00
  • 3132ab2fa2 Add cron job functionality and Docker integration v1.0.0 Michael Chus 2026-01-31 00:31:43 +03:00
  • d224eea893 Add cron job functionality and Docker integration Michael Chus 2026-01-31 00:31:43 +03:00
  • 73acc5410f Update documentation to reflect actual implementation Michael Chus 2026-01-31 00:06:46 +03:00
  • d294154a6e Update documentation to reflect actual implementation Michael Chus 2026-01-31 00:06:46 +03:00
  • 68d0e9a540 delete dangling files Michael Chus 2026-01-30 23:51:24 +03:00
  • 31c8d4ba28 delete dangling files Michael Chus 2026-01-30 23:51:24 +03:00
  • 8309a5dc0e Add hide component feature, usage indicators, and Docker support Michael Chus 2026-01-30 22:49:11 +03:00
  • e5bcb1cd86 Add hide component feature, usage indicators, and Docker support Michael Chus 2026-01-30 22:49:11 +03:00
  • 48921c699d Add meta component pricing functionality and admin UI enhancements Mikhail Chusavitin 2026-01-30 20:49:59 +03:00
  • 4b486c8b32 Add meta component pricing functionality and admin UI enhancements Mikhail Chusavitin 2026-01-30 20:49:59 +03:00
  • d32b1c5d0c Добавлены сортировка по категориям, секции PCI и автосохранение Mikhail Chusavitin 2026-01-30 17:48:44 +03:00
  • db37040399 Исправления расчёта цен и добавление функционала своей цены Mikhail Chusavitin 2026-01-27 11:53:39 +03:00
  • 7ded78f2c3 Улучшения управления ценами и конфигурациями Mikhail Chusavitin 2026-01-27 11:39:12 +03:00
  • d7d6e9d62c New Quotator and some major changes to pricing admin Mikhail Chusavitin 2026-01-26 18:30:45 +03:00
  • a93644131c Redesign configurator UI with tabs and remove Excel export Mikhail Chusavitin 2026-01-26 15:57:15 +03:00
  • 44ccb01203 Merge branch 'main' of https://git.mchus.pro/mchus/QuoteForge Mikhail Chusavitin 2026-01-23 10:50:39 +03:00
  • 190a9aa0a3 Add initial backend implementation Mikhail Chusavitin 2026-01-23 10:49:56 +03:00
  • ad3b1e036c Update README.md Michael Chus 2026-01-22 17:30:34 +03:00
  • 6356e4608b Update LICENSE Michael Chus 2026-01-22 17:29:47 +03:00
  • a4ab83d4d9 Initial commit Mikhail Chusavitin 2026-01-22 17:26:48 +03:00
  • f7b0911fc1 Initial commit Michael Chus 2026-01-22 15:49:35 +03:00