778d671a5f
Merge tag '1.14.5_cleaned'
...
project was cleaned
2026-04-23 11:47:44 +03:00
6bf95a0df0
fix: prevent username input from unmounting during typing in login form
...
The username input was conditionally hidden when it had a value, causing
the field to disappear and focus to jump to password when typing. Fixed by:
1. Always rendering the username input (removed conditional)
2. Using controlled input with value prop
3. Only auto-focus password when username is already entered
This fixes the focus-jumping bug that made it impossible to enter usernames.
2026-04-21 17:54:19 +03:00
2cbc036eb2
fix: critical mobile viewport fixes - login, modals, page constraints
...
- Remove min-h-screen or make responsive (md:min-h-screen for desktop only)
- Login modal: p-8 → p-4 md:p-6, space-y-8 → space-y-3 md:space-y-4
- NewItemDialog: responsive spacing p-4 md:p-6, gaps 3 md:gap-4
- StockAdjustmentPanel: p-6 → p-4 md:p-6, gaps/spacing reduced for mobile
- All container padding and gaps now follow mobile-first pattern
- Fixes viewport overflow on 375px portrait mode
- Tests: 291/291 passing
2026-04-19 19:04:17 +03:00
c0232bb2f1
refactor: remove all bold font weights from UI/UX (291 replacements)
...
Replace font-bold, font-black, and font-semibold with font-normal throughout:
- 26 component files
- 1 CSS utility file (globals.css)
- 291 total occurrences
Text hierarchy now maintained through font-size differences only.
All tests passing (291/291).
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-04-19 18:28:23 +03:00
73dde9b40d
feat: add responsive typography scaling for desktop readability
...
- Add CSS clamp() for fluid font-size scaling (16px to 20px based on viewport)
- Apply responsive breakpoint classes to all components:
* text-xs → lg:text-sm xl:text-base
* text-sm → lg:text-base xl:text-lg
* text-base → lg:text-lg xl:text-xl
* text-lg → lg:text-xl xl:text-2xl
* text-xl → lg:text-2xl xl:text-3xl
* text-2xl → lg:text-3xl xl:text-4xl
* text-3xl → lg:text-4xl xl:text-5xl
- Apply responsive padding/spacing scaling proportionally
- Updated 27 component and page files
- Build verified: 6 routes, zero TypeScript errors
- Fixes readability on MacBook Pro 14" and other desktop screens without browser zoom
2026-04-19 18:03:21 +03:00
2465141a18
test: fix data-testid attribute names and update E2E test URLs to port 8917
2026-04-19 10:08:52 +03:00
28c55f86ce
test: add data-testid attributes to login page for E2E tests
2026-04-19 09:51:43 +03:00
9611b991b6
refactor(design): implement improved OLED dark palette and typography system
...
- Upgraded color palette with enhanced contrast (5.2:1 to 15:1 ratios)
- Replaced all text-slate-* utilities with semantic color tokens
- Added Fira Code + Fira Sans typography stack
- Converted CSS variables from SCSS to direct hex values
- Updated 26 components with improved color semantics
- Added cursor-pointer and focus states (accessibility phase 1)
- Added aria-labels to 35+ icon-only buttons
- Added prefers-reduced-motion support in globals.css
WCAG AA compliance verified across all text color combinations.
Fixes invisible text issues (slate-500 4.2:1 → muted 5.2:1).
2026-04-17 13:14:09 +03:00
be251c8a40
Build [v1.10.6]
2026-04-15 19:28:47 +03:00
Daniel Bedeleanu
9d7e4f0ca3
Build [v1.9.11] (The Convergence: Manual Login & Runtime Discovery)
2026-04-13 22:15:57 +03:00
Daniel Bedeleanu
2e5c666cc8
Build [v1.5.0] - Box Management & Label Printing
2026-04-12 21:30:50 +03:00
Daniel Bedeleanu
704934165f
Build [v.1.3.6]
2026-04-11 17:14:22 +03:00
Daniel Bedeleanu
a8d74f3ae8
debug: add detailed logging to login response handling
2026-04-11 15:14:54 +03:00
Daniel Bedeleanu
d9e75368fb
debug: add error logging to getUsers call for troubleshooting
2026-04-11 14:40:44 +03:00
Daniel Bedeleanu
45b0f8b35c
fix: make getUsers endpoint public for login page + translate remaining Romanian comments
2026-04-11 14:32:17 +03:00
Daniel Bedeleanu
e6ca33f2f0
feat: frontend JWT handling, rate limiting [H-02], CORS config
...
Frontend:
- Creiez frontend/lib/auth.ts cu saveToken, getToken, getAuthHeader, clearAuth
- Modific api.ts: axiosInstance cu interceptor Bearer token + 401 → /login redirect
- Modific login page: salveaza JWT token din response
Backend:
- [H-02] Integrez slowapi rate limiting: 10 req/minute pe /items/extract-label
- [M-01] CORS: ALLOWED_ORIGINS din env (dev fallback: localhost:3000, localhost:3002)
- [C-01] JWT_SECRET_KEY din env (dev fallback: ephemeral key)
docker-compose.yml:
- Adaug ALLOWED_ORIGINS env var (dev: localhost)
- Adaug JWT_SECRET_KEY env var cu fallback warning
Status:
- ✅ JWT backend: complet
- ✅ JWT frontend: token save + attach + 401 handling
- ✅ Rate limiting: 10/min pe extract-label
- ✅ CORS: configurable via env
Gata pentru dev + testing local.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-04-11 13:42:09 +03:00
Daniel Bedeleanu
a4cea4ce07
feat: offline ldap support and ui polish v1.2.4
2026-04-11 11:41:39 +03:00
Daniel Bedeleanu
4136d49936
style: ui readability refactor v1.2.2 (removed uppercase, tracking, increased font sizes)
2026-04-11 11:22:40 +03:00