Commit Graph

33 Commits

Author SHA1 Message Date
Egor
b42c52714b Fix formatting and improve favicon update logic 2026-01-27 17:59:36 +03:00
Egor
b523da2fb0 Merge pull request #101 from BEDOLAGA-DEV/feat/husky-eslint-security
feat/husky eslint security
2026-01-27 17:50:15 +03:00
c0mrade
bc90ba3779 refactor: migrate to eslint flat config and format codebase with prettier
- Remove legacy .eslintrc.cjs and .eslintignore
- Add eslint.config.js with flat config, security rules (no-eval, no-implied-eval, no-new-func, no-script-url)
- Add .prettierrc and .prettierignore
- Format entire codebase with prettier
2026-01-27 17:37:31 +03:00
evansvl
0461f2e5c3 feat: Add new Layout component with navigation, branding, theme switching, and Telegram Web App integration. 2026-01-25 23:03:32 +03:00
Egor
0207f5259a Update Layout.tsx 2026-01-21 08:41:40 +03:00
Egor
97ebb33189 Update Layout.tsx 2026-01-21 05:31:18 +03:00
PEDZEO
b7e6ee490c Fix keyboard detection using focus events instead of visualViewport 2026-01-21 02:21:57 +03:00
PEDZEO
fb46c84b58 Hide bottom navigation when virtual keyboard is open
- Added visualViewport API detection for keyboard state
- Bottom nav fades out when keyboard opens (opacity + pointer-events)
- Prevents nav from jumping up with keyboard on mobile
2026-01-21 02:18:20 +03:00
Dev
29f568cc95 feat: redesign header, switch font to Manrope, fix z-indexes 2026-01-20 23:06:57 +05:00
Egor
89880195ad Update Layout.tsx 2026-01-20 07:40:46 +03:00
Egor
3a4f9b66da Update Layout.tsx 2026-01-20 07:20:00 +03:00
Dev
7dcfecbb80 Close mobile menu when clicking bottom nav items 2026-01-20 09:01:57 +05:00
PEDZEO
a76803f4ea Improve mobile menu interaction in Layout component: add click handler to close menu on outside click and prevent event propagation for mobile menu button, enhancing user experience and interaction consistency. 2026-01-20 03:59:17 +03:00
PEDZEO
92b1d30cbb Refactor scroll locking in ConnectionModal and TopUpModal: simplify the implementation by removing unnecessary style manipulations and enhancing event listeners for touch and wheel scroll prevention, ensuring a smoother user experience across devices. 2026-01-20 03:52:27 +03:00
PEDZEO
2d8a0bd63a Add pull to refresh functionality in Layout component: integrate usePullToRefresh hook, implement visual indicator for refresh state, and ensure compatibility with mobile menu interactions for improved user experience. 2026-01-20 03:35:58 +03:00
PEDZEO
61eaf30da9 Enhance Layout component: improve mobile menu scroll locking functionality for cross-platform support, restore original body and HTML styles on menu close, and prevent touchmove events outside of menu content for better user experience. 2026-01-20 03:19:06 +03:00
PEDZEO
64acfbee72 Add fullscreen functionality: introduce API methods for getting and updating fullscreen settings, implement caching for fullscreen state, and integrate fullscreen toggle in AdminSettings. Remove unused fullscreen icons from Layout component. 2026-01-20 02:17:22 +03:00
PEDZEO
13f6380763 Update Layout component: adjust padding for safe area in fullscreen mode to accommodate Telegram native controls, enhancing layout functionality. 2026-01-20 01:35:22 +03:00
PEDZEO
05e969a3aa Fix Layout component: change padding from right to left for Telegram native controls in fullscreen mode to improve layout consistency. 2026-01-20 01:32:56 +03:00
PEDZEO
3a98fdff7d Update Layout component: add right padding in fullscreen mode for Telegram native controls to enhance layout usability. 2026-01-20 01:27:29 +03:00
PEDZEO
6048d90e46 Enhance Layout and useTelegramWebApp hook: add contentSafeAreaInset state and adjust header padding for fullscreen mode to improve layout responsiveness. 2026-01-20 01:21:40 +03:00
PEDZEO
8753000a03 Add Telegram WebApp support: initialize app, enhance layout with fullscreen toggle, and improve polling mechanism in Wheel component 2026-01-20 00:13:11 +03:00
PEDZEO
0039a8a9b3 Implement logo preloading on page load and enhance branding image display with fade-in effect 2026-01-19 23:36:05 +03:00
Egor
cde7909925 Update Layout.tsx 2026-01-19 10:32:29 +03:00
Egor
1eef2495bb Add files via upload 2026-01-19 10:19:58 +03:00
PEDZEO
638f1d5456 Refactor Dockerfile and Vite configuration to remove VITE_APP_VERSION and streamline build process
- Removed VITE_APP_VERSION from Dockerfile and GitHub workflows.
- Simplified Vite configuration by eliminating the Git version retrieval function and global constant for app version.
- Updated ColorPicker and other components to enhance accessibility with aria-labels.
- Introduced unique identifiers for buttons in the AppEditorModal for better React key management.
- Improved error handling in the Login component to provide user-friendly messages without exposing sensitive data.
2026-01-19 07:39:09 +03:00
PEDZEO
5409317501 Add VITE_APP_VERSION environment variable and integrate versioning into the application
- Introduced VITE_APP_VERSION in Dockerfile and GitHub workflows to capture the version from Git tags.
- Updated vite.config.ts to define a global constant for the app version.
- Enhanced Layout component to display the app version in the footer for admin pages.
- Added logic to conditionally render the LanguageSwitcher based on active promotions.
2026-01-19 07:17:49 +03:00
PEDZEO
af96eecac7 Add ToastProvider to main app component, integrate TicketNotificationBell in Layout, and define ticket notification types in types index. Enhance globals.css with toast progress bar animation. 2026-01-19 00:41:55 +03:00
Никита
5c62fd1a37 Adjust layout div width for header component 2026-01-18 06:44:25 +03:00
Egor
8cc03851a8 Add files via upload 2026-01-18 06:02:16 +03:00
evansvl
15c9b0321e enhanced user experience for header 2026-01-17 20:48:58 +03:00
Egor
b82db24400 Update Layout.tsx 2026-01-16 05:43:34 +03:00
Egor
7be6b5c0ae Add files via upload 2026-01-15 19:18:17 +03:00