Commit 213530b
docs(coder): add server deployment guide (#467)
* feat(ui): enhance remember me toggle with neumorphic curved design
Improved the "Remember me" toggle on the login page with a more
pronounced curved neumorphic design that better matches the design system.
Changes:
- Increased toggle size (h-7 w-14) for better visibility and proportions
- Applied neumorphic shadows:
- OFF state: Inset shadow (pressed/recessed appearance)
- ON state: Raised shadow with primary gradient background
- Enhanced knob styling with gradient and subtle shadow
- Improved curve appearance with consistent rounded-full styling
- Smoother transitions (300ms) for better visual feedback
- Added focus ring for better accessibility
The toggle now properly follows the neumorphic design system with:
- Dual shadows (light + dark) for depth
- Rounded corners matching design guidelines
- Primary blue gradient for active state
- Soft neumorphic background for inactive state
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(ui): ensure toggle has perfect pill-shaped rounded corners
- Explicitly set borderRadius: 9999px for perfect rounding
- Added overflow: hidden for clean edges
- Increased size to h-8/w-16 for better curved appearance
- Larger knob (h-6/w-6) for better visibility
- Removed focus ring classes that may cause rectangular appearance
- Added border-0 to prevent any border issues
This ensures the toggle appears as a smooth, curved pill shape
without any rectangular appearance.
* chore(debug): add console logging to diagnose login redirect issue
Added detailed console logs to track:
- Login action response and type
- Action fulfillment status
- Target route for navigation
- AccessToken presence in localStorage
- Navigate function execution
This will help debug why login success message shows but
redirect to dashboard is not happening.
* feat(ui): use logo green color for input focus border
Changed input field focus styling from black to logo green (#21d8aa):
- Added 2px green border on focus state
- Updated focus shadow to use subtle green tint
- Maintains neumorphic inset shadow effect
- Error state shows red border for validation
This matches the SimpleAccounts brand green color from the logo.
* fix(login): remove black outline from input focus, show only green border
- Added focus:outline-none to email and password input fields
- Removes default browser outline causing double border appearance
- Only custom green border (#21d8aa from logo) now shows on focus
- Fixes issue where both black and green borders appeared simultaneously
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(ui): remove default focus ring from input component
- Removed focus-visible:ring-2 and focus-visible:ring-ring classes
- Removed focus-visible:ring-offset-2 class
- Allows custom neumorphic focus styles without ring interference
- Fixes black border appearing on input focus across the app
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(auth): add authorization header to api requests
- Added request interceptor to attach accessToken to all api requests
- Fixes login redirect loop where checkAuthStatus() was failing
- The /rest/user/current call now includes bearer token
- Resolves issue where user couldn't navigate to /admin after login
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(login): use replace navigation to prevent history issues
- Changed navigate() to navigate(targetRoute, { replace: true })
- Prevents login page from staying in browser history
- May help resolve redirect issues after successful login
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(auth): add null check for access token in auth api interceptor
- prevent sending 'Bearer null' or 'Bearer undefined' to backend
- only add authorization header if access token exists in local storage
- fixes login redirect issue where auth check fails immediately after login
* fix(auth): improve token validation and add debug logging
- add robust token validation in both api and authApi interceptors
- check for empty/whitespace-only tokens
- add comprehensive debug logging to admin layout component
- log token presence, length, and checkAuthStatus responses
- helps diagnose login redirect loop issue
* fix(backend): resolve hibernate lazy initialization errors
Fix multiple 500 errors caused by Hibernate lazy loading issues when
serializing entities to JSON after session closes.
Backend Changes:
- Add @transactional annotations to keep session open during
JSON serialization
- UserController.currentUser(): Added @transactional and
explicit Hibernate.initialize()
- CompanyController.getCompanyDetails(): @transactional
- CurrencyConversionController.getActiveCurrencyList():
@transactional
- BankAccountController.getBankAccountList(): @transactional
- RoleModuleController.getModuleListByRoleCode():
@transactional
- Add @JsonIgnoreProperties to User entity for Hibernate proxies
- Add exception logging to UserController
- Add JWT header logging to JwtRequestFilter
Frontend Changes:
- Fix API_ROOT_URL to route through Vite proxy (config.js)
- Add debug logging to axios interceptor (auth_api.js)
- Add proxy logging to Vite config
- Remove invalid datasetKeyProvider prop from Chart.js
components (bank_account, cash_flow, paid_invoices)
Testing:
- Add Playwright E2E test for login redirect flow
Fixes:
- Empty sidebar navigation (roleModule 500 error)
- Dashboard API failures (company details, currency
conversion, bank list)
- Login redirect after authentication
- React console warnings about invalid DOM props
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* feat(ui): migrate from neumorphic to minimal corporate theme
Complete UI redesign following modern SaaS design patterns (Stripe, Linear, OpenAI):
BREAKING CHANGES:
- Replaced neumorphic soft UI with clean corporate design
- Updated all CSS variables from --neu-* to --corp-*
- Changed from gray backgrounds (#e8eef5) to white (#ffffff)
- Replaced dual shadows with subtle single shadows + borders
Core Changes:
- index.css: Complete CSS variable rewrite for corporate theme
- tailwind.config.js: Added corporate color system and utilities
- DESIGN-GUIDE.md: Comprehensive design system documentation
- MIGRATION-TO-CORPORATE.md: Step-by-step migration guide
- CLAUDE.md: Updated to reference corporate design system
Layout Updates:
- sidebar.jsx: Fixed visibility bug (removed hidden class), applied corporate styling
- header.jsx: Updated to corporate theme with clean borders
- admin/index.js: Corporate page header and breadcrumb styling
Dashboard Migration:
- screen.js: All inline neumorphic styles replaced with corporate variables
- style.scss: Complete SCSS rewrite with corporate mixins and classes
Design Features:
- White/light gray backgrounds for maximum readability
- Clean 1px borders with subtle shadows
- Professional minimal appearance
- Proper hover states and transitions
- WCAG AA accessibility compliance
- Brand blue (#2064d8) reserved for primary actions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* test(sidebar): update test to match corporate theme active state
Changed test assertion from checking amber border to checking
blue background + white text, matching the new corporate theme
active state styling.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* feat(coder): add code-server web ide support
- Add official code-server module to Coder template
- Configure auto-install of VS Code extensions from devcontainer.json
- Remove redundant code-server installation from Dockerfile
- Reduces Docker image size and improves Coder integration
This enables browser-based VS Code access through Coder's app system
with proper authentication and automatic URL handling.
* fix(coder): upgrade coder provider to v2.13.1 for code-server compatibility
- Update coder provider version from ~> 0.12 to >= 2.5.0
- code-server module requires coder provider >= 2.5.0
- Regenerate .terraform.lock.hcl with upgraded provider versions
- Fixes CI/CD template deployment failure
* feat(coder): add app shortcuts for frontend, backend, and swagger ui
- Add Frontend app (React on port 3000) with healthcheck
- Add Backend API app (Spring Boot on port 8080) with healthcheck
- Add Swagger UI app for API documentation
- Apps appear in Coder workspace UI for easy access
- Enables one-click access to running applications
* fix(coder): use existing endpoint for backend healthcheck and preserve neu utilities
- Change backend healthcheck from /actuator/health to /rest/config/getreleasenumber
(actuator endpoint doesn't exist, was causing 404 and unhealthy status)
- Add neu-* shadow and color utilities to Tailwind config for backward compatibility
(existing screens still use neu classes during migration to corporate theme)
Addresses PR review comments on #466
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* docs(coder): add server deployment guide with docker configuration
* feat(devcontainer): auto-start frontend and backend on workspace startup
- Add automatic startup of Frontend (React + Vite) on port 3000
- Add automatic startup of Backend (Spring Boot) on port 8080
- Servers run in background with logs at /tmp/frontend.log and /tmp/backend.log
- Display helpful commands for viewing logs and stopping servers
- Prevents duplicate starts if servers are already running
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* feat(coder): make workspace apps optional to avoid confusion
- Add 'Enable Workspace Apps' parameter (default: disabled)
- Frontend, Backend, and Swagger apps only show when enabled
- Prevents confusing unhealthy app links in workspace UI
- Users can enable apps via workspace parameters when needed
---------
Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent fd75f83 commit 213530b
3 files changed
Lines changed: 282 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
43 | 53 | | |
44 | 54 | | |
45 | 55 | | |
| |||
394 | 404 | | |
395 | 405 | | |
396 | 406 | | |
| 407 | + | |
397 | 408 | | |
| 409 | + | |
| 410 | + | |
398 | 411 | | |
399 | 412 | | |
400 | 413 | | |
| |||
411 | 424 | | |
412 | 425 | | |
413 | 426 | | |
| 427 | + | |
414 | 428 | | |
| 429 | + | |
| 430 | + | |
415 | 431 | | |
416 | 432 | | |
417 | 433 | | |
| |||
428 | 444 | | |
429 | 445 | | |
430 | 446 | | |
| 447 | + | |
431 | 448 | | |
| 449 | + | |
| 450 | + | |
432 | 451 | | |
433 | 452 | | |
434 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
0 commit comments