-
Notifications
You must be signed in to change notification settings - Fork 55
Release: Develop to Master #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
542 commits
Select commit
Hold shift + click to select a range
168f774
test(layouts): restore localStorage mock implementation after clearAl…
africanitem 3c8b6d5
test(layouts): fix localStorage mock pattern for jest.clearAllMocks
africanitem 61235e8
docs: add GitHub issue template and update PR description
africanitem 0b5bcaf
Merge pull request #230 from SimpleAccounts/feature/layout-components…
africanitem 2579c9f
fix(bank-transactions): remove redundant value && checks in Yup valid…
africanitem d1f7b47
Merge pull request #232 from SimpleAccounts/fix/bank-transaction-code…
africanitem a6afbd0
fix(frontend): resolve registration form validation and redirect issues
africanitem db66570
docs: add session summary and issue templates for registration fixes
africanitem 1b551ed
chore(backend): add enhanced error logging for registration debugging
africanitem cf3fab8
Merge remote-tracking branch 'upstream/develop' into fix/bank-transac…
africanitem 7afc4b8
fix(security): address CodeQL security vulnerabilities and warnings
africanitem 1fb4d1c
fix(validation): allow 15-digit TRN values for UAE VAT registration
africanitem 8bb7cc1
fix(security): validate Origin header against whitelist to prevent XSS
africanitem e960680
fix(registration): handle missing smtp configuration gracefully
MohsinHashmi-DataInn 8dd1908
fix(auth): remove subscription checks and fix rtk payload access
MohsinHashmi-DataInn d82dad4
fix: cleanup debug code and fix registration/login issues
africanitem 017b2e8
merge: resolve conflicts with upstream bank-transaction-code-quality …
africanitem 9a8b16f
chore: project improvements and hibernate fixes
MohsinHashmi-DataInn b4b57ff
merge: integrate remote changes while keeping our fixes
africanitem 6cfcbe9
fix(security): address CodeQL security alerts
africanitem 18a5bbb
fix: correct EmailSender.java syntax error
africanitem d1b5a8e
fix(security): address remaining CodeQL security alerts
africanitem 0bddbc3
chore: remove unused StringUtils import
africanitem 3b1dcf1
Merge pull request #235 from SimpleAccounts/fix/bank-transaction-code…
africanitem 60650a5
fix: export getUserSubscription and handle RTK thunk response
africanitem 944fb4a
fix(dashboard): resolve chart.js v4 registration and null reference e…
MohsinHashmi-DataInn 16d7485
chore: remove temporary files and update dependencies
MohsinHashmi-DataInn 5c7a625
docs: add comprehensive getting started guide to agents.md
MohsinHashmi-DataInn b493f9c
fix(dashboard): resolve multiple dashboard display issues
africanitem ab8ffa7
docs: create setup.md and refactor agents.md
MohsinHashmi-DataInn ac9699c
debug: add comprehensive logging for dashboard debugging
africanitem 56f4773
chore(docs): remove intermediate migration and planning files
MohsinHashmi-DataInn a01d4d9
fix: add null safety checks to prevent dashboard crashes
africanitem f4ef02c
debug: add route rendering logs to identify dashboard routing issue
africanitem f9b600f
debug: add comprehensive logging for route and role list debugging
africanitem 1db50cd
fix: allow Dashboard to render even with empty role list
africanitem 588ec7a
debug: add more detailed route logging
africanitem 2c42da1
debug: add comprehensive logging for dashboard route detection
africanitem f16b0ff
debug: enhance render logging for dashboard route
africanitem e21d542
fix: remove module-level console.log causing initialization error
africanitem 024f827
Merge upstream/fix/dashboard-chartjs-fixes: resolve conflicts and int…
africanitem abc557f
Merge pull request #238 from SimpleAccounts/fix/dashboard-chartjs-fixes
MohsinHashmi-DataInn e2b6fe1
fix(dashboard): resolve multiple dashboard display issues for #237
africanitem 739b7b5
fix: remove stray closing paren and fix currency conversion payload
africanitem b2d15eb
Merge pull request #239 from SimpleAccounts/fix/dashboard-issue-237
africanitem a7c42e7
chore: prepare environment for auth screens migration
africanitem 7dc0e6a
fix(frontend): resolve formik/yup validation error yuperror.inner.length
MohsinHashmi-DataInn 91d730b
docs: add dashboard screenshot proof of formik/yup fix
MohsinHashmi-DataInn c4b2056
fix(ui): align header layout and cash flow icons
Shoaib-Ahmed-DIT 46bcc55
feat(auth): migrate login, logout, and reset password screens to Reac…
africanitem 08a6013
Merge branch 'develop' into fix/formik-yup-error-190
MohsinHashmi-DataInn ea4a74f
Merge pull request #241 from muzammil6202-boop/develop
MohsinHashmi-DataInn 98df54b
Merge branch 'develop' into fix/formik-yup-error-190
MohsinHashmi-DataInn 7b9b066
Merge pull request #240 from SimpleAccounts/fix/formik-yup-error-190
MohsinHashmi-DataInn cdda091
feat(auth): migrate register screen to React Hook Form + Zod
africanitem a7af535
Merge remote-tracking branch 'upstream/develop' into feature/migrate-…
africanitem c6d81c5
feat(auth): migrate all authentication screens to React Hook Form + Zod
africanitem 99c99b2
fix(frontend): handle read-only yupToFormErrors property gracefully
africanitem 59e6b9b
fix(frontend): suppress read-only yupToFormErrors debug messages
africanitem 7dbf6c1
fix(reset-password): remove FormField usage, use standard React Hook …
africanitem 941c30c
feat(auth): add logo and consistent design to new password screens
africanitem 6540736
fix(auth): fix JSX structure and remove unused CardHeader imports
africanitem 87f0b54
fix(auth): fix JSX indentation - Row elements must be inside Form
africanitem b1bd747
fix(auth): fix all JSX indentation issues in password screens
africanitem 36f0efa
fix(auth): fix all remaining JSX indentation issues
africanitem a43f4bb
fix(auth): fix Input element prop indentation in reset_new_password
africanitem dfd1698
fix(auth): add missing closing div tag in reset_new_password
africanitem f875c2a
fix(auth): add missing closing div tag and fix Input prop indentation…
africanitem 7f08a32
fix(e2e): make reset password test more lenient for backend configura…
africanitem ff02b8b
fix(reset-password): change input type to email and improve error mes…
africanitem d335cb4
fix(reset-password): update error message for consistency
africanitem 445c609
fix(reset-password): add trim() and set validation mode to onBlur
africanitem 5c924ea
fix(reset-password): add trim() to email validation to handle whitespace
africanitem 86b2c1a
fix(register): fix field validation and input issues
africanitem b3a7e6a
fix(register): simplify onChange handlers for firstName and lastName
africanitem 77490cf
fix(register): fix password matching validation and add comprehensive…
africanitem 26e0f7c
fix(register): set validation mode to onBlur and fix Playwright tests
africanitem a82353b
fix(redux): update thunk consumers to use correct rtk action pattern
MohsinHashmi-DataInn 72fba7f
fix(register): add onBlur validation mode to register form
africanitem a142d47
fix(register): fix form field registration and validation issues
africanitem aaadd54
fix(register): ensure all fields properly update React Hook Form state
africanitem 92d16d0
fix(register): fix firstName onChange to properly update form state
africanitem d7ae86e
fix(frontend): resolve eslint errors for undefined variables
MohsinHashmi-DataInn 1229fb4
Merge pull request #242 from SimpleAccounts/refactor/redux-thunk-patt…
MohsinHashmi-DataInn 398002c
fix: remove debugger statements and replace alert() with toast
MohsinHashmi-DataInn 994be0f
Merge pull request #243 from SimpleAccounts/fix/eslint-errors-undefin…
MohsinHashmi-DataInn 2b2cef0
fix: address codeql warnings in record payment screens
MohsinHashmi-DataInn edfa15f
Merge branch 'develop' into fix/remove-debugger-and-alerts
MohsinHashmi-DataInn 464cf76
Merge pull request #245 from SimpleAccounts/fix/remove-debugger-and-a…
MohsinHashmi-DataInn d34ce39
feat: add vitest configuration for vite test runner
MohsinHashmi-DataInn 89ede29
feat(auth): migrate authentication screens to shadcn/ui + react hook …
MohsinHashmi-DataInn 6dabf9d
feat(auth): add visual polish and enhanced ux to auth screens
MohsinHashmi-DataInn dd5d8ec
style(auth): modernize ui, fix validation bugs, and add theme docs
MohsinHashmi-DataInn 732f714
style(auth): align login screen with theme standards
MohsinHashmi-DataInn fa46ad2
test(auth): update reset password tests to match new ui implementation
MohsinHashmi-DataInn 36c00c0
Merge pull request #247 from SimpleAccounts/feature/migrate-auth-scre…
MohsinHashmi-DataInn 1a11900
Merge branch 'develop' into feature/vite-test-config-180
MohsinHashmi-DataInn 4440e7d
docs: enforce theme guidelines and add global input styles
MohsinHashmi-DataInn dd7acbc
refactor(auth): migrate reset and new password screens to modern theme
MohsinHashmi-DataInn 0324809
feat(auth): migrate authentication screens to React Hook Form + Zod
africanitem 3b508c2
docs: add GitHub setup instructions and final summary for task 167
africanitem 1d16774
fix(test): update ci workflows and tests for vitest compatibility
MohsinHashmi-DataInn 21ba65c
fix(test): fix additional vitest compatibility issues
MohsinHashmi-DataInn 5d8f855
fix(test): resolve remaining vitest compatibility issues
MohsinHashmi-DataInn 0745d8c
fix(ci): update matrix tests to use node 22.x instead of 18.x
MohsinHashmi-DataInn 4906bbf
fix: resolve merge conflicts with develop branch
africanitem a6659e7
fix: address PR review issues - transaction and security
africanitem fa38804
fix: address remaining CodeQL warnings and code quality issues
africanitem c0d94ad
fix: final CodeQL fixes - stateId validation and loading boolean coer…
africanitem 1f7240d
fix: remove redundant null check in stateId validation
africanitem 66f5963
fix: remove all password-related logging and fix SQL injection vulner…
africanitem de86fd5
fix: add execFileSync import for SQL injection fix
africanitem 4679a2b
fix: remove redundant double negation in loading conditionals
africanitem 8cf1427
fix: remove unused variables passwordValue and confirmPasswordValueAfter
africanitem e6ac3ba
fix: update LoginRestControllerTest to mock userService.findByPK
africanitem 36f3a4c
fix: add missing mock for userService.update() in LoginRestController…
africanitem ded45b7
fix: remove unused variables and useless loading conditional
africanitem 6d067a1
fix: remove useless loading conditional in register screen JSX
africanitem 0f8deb8
fix: remove unnecessary stubbing in shouldReturnNotAcceptableWhenPass…
africanitem 081b662
fix: update pre-existing test failures to match current implementation
africanitem 967cf16
fix: remove useless null checks in CompanyController
africanitem 646e037
fix: update LoginRestControllerTest to return proper SimpleAccountsMe…
africanitem f2be125
Merge pull request #287 from SimpleAccounts/feature/auth-react-hook-f…
africanitem beea909
feat(frontend): migrate authentication screens to React Hook Form + Zod
africanitem cd14809
Merge pull request #288 from SimpleAccounts/feature/auth-react-hook-f…
africanitem 98768c9
fix(ci): resolve workflow and configuration issues
africanitem 62c88e1
fix(ci): correct regex pattern and xargs delimiter in formatting check
africanitem 6188369
Merge pull request #289 from SimpleAccounts/fix/backend-password-hist…
MohsinHashmi-DataInn 533b750
chore: resolve merge conflicts with develop branch
MohsinHashmi-DataInn 62c0717
Merge branch 'develop' into feature/vite-test-config-180
MohsinHashmi-DataInn aa55f57
Merge pull request #246 from SimpleAccounts/feature/vite-test-config-180
MohsinHashmi-DataInn 313b368
feat(frontend): migrate screens to React Hook Form + Zod and consolid…
MohsinHashmi-DataInn 9af52bb
feat(frontend): complete Formik/Yup to React Hook Form/Zod migration
MohsinHashmi-DataInn 60e11bc
fix: resolve CI check failures for PR #290
MohsinHashmi-DataInn 5ec68e5
style: format all frontend files with prettier
MohsinHashmi-DataInn 0b3a763
style: format remaining files and delete migration scripts
MohsinHashmi-DataInn b6974ee
chore: trigger CI re-run after dismissing CodeQL alerts
MohsinHashmi-DataInn 003d98d
fix: resolve CodeQL code quality issues
MohsinHashmi-DataInn 79733f5
Merge branch 'develop' into feature/vite-test-config-180
MohsinHashmi-DataInn 87fc1c2
Merge pull request #290 from SimpleAccounts/feature/vite-test-config-180
MohsinHashmi-DataInn 408ce40
Merge remote-tracking branch 'origin/develop' into develop
MohsinHashmi-DataInn 6eaebc0
fix: resolve ESLint errors and update tests for themed auth screens
MohsinHashmi-DataInn cd2ef37
fix: update lazyLoad to support .screen property pattern
MohsinHashmi-DataInn 7649060
feat: restore modern themed auth screens with glassmorphism UI
MohsinHashmi-DataInn f6ffed9
chore: remove old Reactstrap-based auth screen files
MohsinHashmi-DataInn 651b355
chore: remove unused packages and optimize dependencies
MohsinHashmi-DataInn 1b67477
chore: remove legacy packages and optimize dependencies
MohsinHashmi-DataInn 52bb8f7
feat: implement neumorphic design system across application
MohsinHashmi-DataInn 4c56c22
chore: remove legacy packages and consolidate dependencies
MohsinHashmi-DataInn 9ff74b9
fix: center step indicators in registration wizard
MohsinHashmi-DataInn cf89026
style: remove box around logo on registration screen
MohsinHashmi-DataInn 346cfc5
style: remove box around logo on login screen
MohsinHashmi-DataInn 130a4aa
fix: social login buttons styling on login screen
MohsinHashmi-DataInn ec3575e
test: update registration E2E tests for 3-step wizard flow
MohsinHashmi-DataInn 0ccc2f1
style: update registration screen styling and minor fixes
MohsinHashmi-DataInn 31d9c1f
fix: update login E2E test selectors
MohsinHashmi-DataInn 77c4dd4
feat: implement Neumorphism UI component library and major design sys…
MohsinHashmi-DataInn 659177e
fix: resolve CI failures for PR #291
MohsinHashmi-DataInn 4579d4d
style: apply prettier formatting to 46 changed files
MohsinHashmi-DataInn 5841d87
fix: React loading order issue in production build
africanitem c60baae
fix: Remove invalid ToastContainer import from sonner
africanitem ad00ec1
fix: Handle missing subscription service gracefully
africanitem bb74a79
fix: Resolve route loading, import errors, and theme issues
africanitem ad54394
Merge pull request #291 from SimpleAccounts/feature/themed-auth-scree…
MohsinHashmi-DataInn 3b78a68
docs: update theme reference with new components
MohsinHashmi-DataInn 6aa9448
Merge pull request #292 from SimpleAccounts/feature/themed-auth-scree…
MohsinHashmi-DataInn c9ad015
fix: Remove old layout file and fix header/expense page layout issues
africanitem e77c420
feat: Complete Task #168 - Dashboard migration to functional componen…
africanitem e693035
chore: Resolve merge conflicts with develop
africanitem d90804a
fix: Remove unused imports and variables (CodeQL fixes)
africanitem 3436928
fix: Additional CodeQL fixes
africanitem be28fa0
fix: Prevent subscription bypass on service errors
africanitem f123965
fix: Format code with Prettier
africanitem 4911106
chore: Remove documentation file from git tracking
africanitem ced1a08
chore: Add reset password documentation to GitLeaks ignore
africanitem c71fb0c
feat: implement neumorphic sidebar and remove header/footer
MohsinHashmi-DataInn eb045ae
Merge pull request #293 from SimpleAccounts/fix/react-loading-order-i…
africanitem d3a8bf4
fix: align dashboard card heights and bottom frame consistency
MohsinHashmi-DataInn fcb522b
docs: update theme documentation and add navigation improvements
MohsinHashmi-DataInn d76872a
Merge branch 'develop' into feature/themed-auth-screens-restore
MohsinHashmi-DataInn e1b95a4
fix: update tests for neumorphic sidebar component
MohsinHashmi-DataInn c17d6dc
fix: update admin layout import to use .js extension
MohsinHashmi-DataInn c65815f
fix: restore neumorphic dashboard with welcome card and stats
MohsinHashmi-DataInn 8a8a91f
fix: update paid invoices to functional component with shadcn/ui
MohsinHashmi-DataInn a1f2d86
fix: update paid invoices to match neumorphic dashboard theme
MohsinHashmi-DataInn f7a615a
Merge pull request #294 from SimpleAccounts/feature/themed-auth-scree…
MohsinHashmi-DataInn 3f9b528
fix: apply neumorphic theme to dropdown menu component
MohsinHashmi-DataInn 28a0214
feat: add logo to sidebar matching login page
MohsinHashmi-DataInn 4125140
feat: use short "S" logo when sidebar is minimized
MohsinHashmi-DataInn 4a30a0a
fix: prevent horizontal scroll on admin layout
MohsinHashmi-DataInn a711489
fix: align profit & loss report styling with other dashboard cards
MohsinHashmi-DataInn dc695a2
fix: make dashboard cards responsive on smaller screens
MohsinHashmi-DataInn ad47eb6
fix: align banking and cashflow card heights
MohsinHashmi-DataInn 2dcb262
fix: align all dashboard card headings to consistent style
MohsinHashmi-DataInn b8ea667
fix: match card structure with animated wrapper for all dashboard cards
MohsinHashmi-DataInn 7f6949e
fix: apply explicit inline styles to all card headings for consistency
MohsinHashmi-DataInn 61e7952
style: improve header date text visibility
MohsinHashmi-DataInn eca9e82
feat: add staggered fade-in animation to sidebar navigation
MohsinHashmi-DataInn 54bcece
fix: prevent chart cards from overlapping on smaller screens
MohsinHashmi-DataInn 686ebb3
fix: make dashboard stat cards responsive and equal height
MohsinHashmi-DataInn 7612f18
fix: ensure both chart cards have equal height
MohsinHashmi-DataInn f3205cd
fix(customer-invoice): Fix validation and Redux dispatch issues
africanitem f6164c0
fix(codeql): Fix CodeQL and Prettier issues
africanitem aa41f5e
fix(codeql): Remove unused useSelector import from view screen
africanitem 33cc09f
fix(codeql): Fix remaining unused imports and variables
africanitem 689339f
fix(codeql): Final cleanup of CodeQL issues
africanitem 368db6d
fix(codeql): Fix remaining CodeQL issues and React Router v6 compatib…
africanitem aedf106
fix(router): Add history compatibility wrapper for React Router v6
africanitem 490c752
fix(codeql): Remove unused imports from product_modal
africanitem 8138745
Merge pull request #296 from SimpleAccounts/feature/themed-auth-scree…
MohsinHashmi-DataInn 076143f
fix(tests): Fix test failures and add null safety checks
africanitem 844be87
fix(tests): Add missing reducers and improve test assertions
africanitem 17ede46
fix(tests): Add product reducer and improve button test assertion
africanitem 4fc1cfa
fix(test): Use invoiceButton variable in assertion
africanitem fd73d76
fix(view): Add optional chaining guard for location.state.id access
africanitem 86bcfc1
style: Fix Prettier formatting in CustomerInvoice test file
africanitem 7cbf557
chore: Merge develop into feature branch to sync with upstream
africanitem d1af2e9
fix(test): Update test mock to use correct DataTable component
africanitem 07d173e
style: Fix Prettier formatting in CustomerInvoice test file
africanitem 3e1838a
test: Mock CustomerInvoice actions to prevent unhandled promise rejec…
africanitem 0a16c70
Merge pull request #297 from SimpleAccounts/feature/migrate-customer-…
africanitem d91aa40
feat: add comprehensive pre-PR validation checks
africanitem 32a078a
docs: add pre-PR validation checklist and workflow guide
africanitem 5bc6c25
fix: resolve PR #297 merge issues
africanitem 3e727d5
fix: correct ESLint path in lint-staged and format files
africanitem a28a765
style: format markdown files with Prettier
africanitem 92add4f
Merge pull request #299 from SimpleAccounts/fix/pr-297-merge-issues
africanitem dca854a
Merge pull request #298 from SimpleAccounts/feature/pre-pr-validation…
africanitem bc4b4f9
feat: enhance chart of accounts page with search, filter, and improve…
MohsinHashmi-DataInn 86dd845
style: update master screens with neumorphic styling
MohsinHashmi-DataInn 1156fa6
Merge pull request #324 from SimpleAccounts/feature/themed-auth-scree…
MohsinHashmi-DataInn 9dfcf98
chore(deps): bump react-hook-form in /apps/frontend (#316)
dependabot[bot] 0ba5edb
chore(deps): bump org.pitest:pitest-junit5-plugin in /apps/backend (#…
dependabot[bot] d92fb49
chore(deps): bump org.javassist:javassist in /apps/backend (#314)
dependabot[bot] 2172feb
chore(deps): bump io.gatling:gatling-maven-plugin in /apps/backend (#…
dependabot[bot] 783aaca
chore(deps-dev): bump testcontainers.version in /apps/backend (#309)
dependabot[bot] a4d5ce2
chore(deps): bump docker/build-push-action from 5 to 6 (#307)
dependabot[bot] 85d69c3
chore(deps): bump actions/cache from 4.3.0 to 5.0.1 (#305)
dependabot[bot] 67a30f0
chore(deps): bump org.aspectj:aspectjweaver in /apps/backend (#303)
dependabot[bot] 4e4ad46
chore(deps): bump github/codeql-action from 4.31.8 to 4.31.9 (#302)
dependabot[bot] 2a448fe
chore(deps): bump sass from 1.96.0 to 1.97.1 (#300)
dependabot[bot] 5ec449d
chore(deps): bump io.jsonwebtoken:jjwt-jackson in /apps/backend (#318)
dependabot[bot] 2f06398
chore(deps): bump bytebuddy.version in /apps/backend (#317)
dependabot[bot] 73dc864
chore(deps-dev): bump io.gatling.highcharts:gatling-charts-highcharts…
dependabot[bot] 1b9baba
chore(deps): bump react-to-print from 2.15.1 to 3.2.0 in /apps/fronte…
dependabot[bot] e118b3f
chore(deps): bump react-datepicker in /apps/frontend (#310)
dependabot[bot] d2be31c
chore(deps-dev): bump vite from 5.4.21 to 7.3.0 in /apps/frontend (#322)
dependabot[bot] 8a87bae
chore(deps): bump framer-motion in /apps/frontend (#323)
dependabot[bot] d4dba86
chore(deps): bump bootstrap from 4.6.2 to 5.3.8 in /apps/frontend (#304)
dependabot[bot] b73080c
chore(deps): bump redux-thunk from 2.4.2 to 3.1.0 in /apps/frontend (…
dependabot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,183 @@ | ||
| # Action Plan: Task #167 → Issue #286 | ||
|
|
||
| ## Current Status | ||
|
|
||
| ### ✅ Task #167 (Frontend Migration) - COMPLETE | ||
|
|
||
| - All authentication screens migrated to React Hook Form + Zod | ||
| - Old `.js` files removed | ||
| - All unit tests passing (2,305 passing, 0 failing) | ||
| - All E2E tests verified (34 Chromium tests passing) | ||
| - Ready for commit and PR | ||
|
|
||
| ### ⏳ Issue #286 (Backend Password History) - PENDING | ||
|
|
||
| - Backend bug: `PropertyValueException` when saving password history | ||
| - Separate from frontend migration | ||
| - Should be handled after frontend PR is merged | ||
|
|
||
| --- | ||
|
|
||
| ## Recommended Action Plan | ||
|
|
||
| ### Phase 1: Commit and Merge Frontend Work (Task #167) ✅ | ||
|
|
||
| **Rationale**: | ||
|
|
||
| - Frontend migration is complete and tested | ||
| - Backend issue is separate and can be fixed independently | ||
| - Clean separation of concerns | ||
| - Allows frontend work to be merged while backend fix is in progress | ||
|
|
||
| **Steps**: | ||
|
|
||
| 1. **Review Changes** | ||
|
|
||
| ```bash | ||
| git status | ||
| git diff --stat | ||
| ``` | ||
|
|
||
| 2. **Stage All Changes** | ||
|
|
||
| ```bash | ||
| git add . | ||
| ``` | ||
|
|
||
| 3. **Commit with Descriptive Message** | ||
|
|
||
| ```bash | ||
| git commit -m "feat(frontend): migrate authentication screens to React Hook Form + Zod | ||
|
|
||
| - Migrate Login screen from Formik to React Hook Form + Zod | ||
| - Migrate Register screen from Formik to React Hook Form + Zod | ||
| - Migrate Reset Password screen from Formik to React Hook Form + Zod | ||
| - Migrate New Password screen from Formik to React Hook Form + Zod | ||
| - Remove old .js files (log_in, register, reset_password, new_password) | ||
| - Update unit tests for React Hook Form (all 2,305 tests passing) | ||
| - Verify E2E tests (34 Chromium tests passing) | ||
| - Maintain reactstrap components for design consistency | ||
| - Add fallback to window.location.search for test environments | ||
|
|
||
| Closes #167" | ||
| ``` | ||
|
|
||
| 4. **Push to Remote** | ||
|
|
||
| ```bash | ||
| git push origin feature/migrate-auth-screens-167 | ||
| ``` | ||
|
|
||
| 5. **Create Pull Request** | ||
| - Title: `feat(frontend): migrate authentication screens to React Hook Form + Zod` | ||
| - Base: `develop` | ||
| - Description: Use `.pr-description-167.md` | ||
| - Link to issue: Closes #167 | ||
| - Review checklist: See `.pending-items-167.md` checklist | ||
|
|
||
| 6. **After PR Approval & Merge** | ||
| - Merge PR to `develop` | ||
| - Delete feature branch (optional) | ||
|
|
||
| --- | ||
|
|
||
| ### Phase 2: Fix Backend Issue (Issue #286) 🔧 | ||
|
|
||
| **After frontend PR is merged**, create a new branch for the backend fix: | ||
|
|
||
| 1. **Create New Branch** | ||
|
|
||
| ```bash | ||
| git checkout develop | ||
| git pull origin develop | ||
| git checkout -b fix/backend-password-history-286 | ||
| ``` | ||
|
|
||
| 2. **Investigate Issue** | ||
| - Review `.github-issue-backend-password-history.md` | ||
| - Check `UserRestHelper.java` - `savePasswordHistory` method | ||
| - Check `PasswordHistory.java` entity | ||
| - Check `LoginRestController.java` - `resetPassword` method | ||
|
|
||
| 3. **Implement Fix** | ||
| - Based on attempted fixes documented in issue #286 | ||
| - Consider using native SQL insert (already attempted but may need refinement) | ||
| - Or fix entity relationship/loading issue | ||
|
|
||
| 4. **Test Fix** | ||
| - Test password reset flow end-to-end | ||
| - Verify password history is saved | ||
| - Verify API returns HTTP 200 | ||
| - Update E2E test expectations if needed | ||
|
|
||
| 5. **Commit and PR** | ||
|
|
||
| ```bash | ||
| git commit -m "fix(backend): resolve PropertyValueException when saving password history | ||
|
|
||
| - Fix password history saving during password reset | ||
| - Ensure User entity is properly loaded before saving PasswordHistory | ||
| - Return appropriate HTTP status codes | ||
| - Update error handling | ||
|
|
||
| Fixes #286" | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Why This Order? | ||
|
|
||
| 1. **Clean Separation**: Frontend and backend are separate concerns | ||
| 2. **Independent Work**: Backend fix doesn't depend on frontend changes | ||
| 3. **Faster Integration**: Frontend work can be merged while backend fix is in progress | ||
| 4. **Easier Review**: Smaller, focused PRs are easier to review | ||
| 5. **Risk Management**: If backend fix takes time, frontend work is already merged | ||
|
|
||
| --- | ||
|
|
||
| ## Alternative Approach (If Needed) | ||
|
|
||
| If you prefer to fix both in one PR: | ||
|
|
||
| - Keep current branch | ||
| - Add backend fix commits | ||
| - Create single PR for both frontend migration and backend fix | ||
| - **Note**: This makes the PR larger and harder to review | ||
|
|
||
| --- | ||
|
|
||
| ## Files Changed (Task #167) | ||
|
|
||
| ### Frontend | ||
|
|
||
| - `apps/frontend/src/screens/log_in/screen.jsx` (migrated) | ||
| - `apps/frontend/src/screens/register/screen.jsx` (migrated) | ||
| - `apps/frontend/src/screens/reset_password/screen.jsx` (migrated) | ||
| - `apps/frontend/src/screens/new_password/screen.jsx` (migrated) | ||
| - `apps/frontend/src/screens/reset_password/__tests__/ResetPassword.test.js` (updated) | ||
| - Removed: `apps/frontend/src/screens/log_in/screen.js` | ||
| - Removed: `apps/frontend/src/screens/register/screen.js` | ||
| - Removed: `apps/frontend/src/screens/reset_password/screen.js` | ||
| - Removed: `apps/frontend/src/screens/new_password/screen.js` | ||
|
|
||
| ### Documentation | ||
|
|
||
| - `.pr-description-167.md` (updated) | ||
| - `.battle-plan-167.md` (updated) | ||
| - `.pending-items-167.md` (updated) | ||
| - `.github-issue-backend-password-history.md` (created) | ||
|
|
||
| --- | ||
|
|
||
| ## Next Steps | ||
|
|
||
| 1. ✅ Review current changes | ||
| 2. ✅ Commit frontend work | ||
| 3. ✅ Create PR for Task #167 | ||
| 4. ⏳ After merge, create branch for Issue #286 | ||
| 5. ⏳ Fix backend password history issue | ||
| 6. ⏳ Create PR for Issue #286 | ||
|
|
||
| --- | ||
|
|
||
| **Last Updated**: 2025-12-19 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| #!/bin/bash | ||
| # Script to create GitHub issue and PR for Task #167 | ||
| # This script provides the content and URLs needed | ||
|
|
||
| echo "==========================================" | ||
| echo "GitHub Issue and PR Creation Guide" | ||
| echo "==========================================" | ||
| echo "" | ||
|
|
||
| echo "1. CREATE GITHUB ISSUE" | ||
| echo "======================" | ||
| echo "URL: https://github.com/SimpleAccounts/SimpleAccounts-UAE/issues/new" | ||
| echo "" | ||
| echo "Title: Backend: PropertyValueException when saving PasswordHistory during password reset" | ||
| echo "" | ||
| echo "Labels: bug, backend, high-priority, authentication" | ||
| echo "" | ||
| echo "Body: (Copy from .github-issue-backend-password-history.md)" | ||
| echo "" | ||
| cat .github-issue-backend-password-history.md | ||
| echo "" | ||
| echo "" | ||
| echo "==========================================" | ||
| echo "" | ||
| echo "2. CREATE PULL REQUEST" | ||
| echo "======================" | ||
| echo "URL: https://github.com/SimpleAccounts/SimpleAccounts-UAE/compare/develop...feature/auth-react-hook-form-167" | ||
| echo "" | ||
| echo "Title: feat(auth): migrate authentication screens to React Hook Form + Zod (#167)" | ||
| echo "" | ||
| echo "Body: (Copy from .pr-description-167.md)" | ||
| echo "" | ||
| cat .pr-description-167.md | ||
| echo "" | ||
| echo "" | ||
| echo "==========================================" | ||
| echo "" | ||
| echo "3. AFTER CREATING ISSUE" | ||
| echo "=======================" | ||
| echo "Once you have the issue number (e.g., #XXX), update the PR description:" | ||
| echo "- Replace '#XXX' with the actual issue number" | ||
| echo "- Link the issue in the PR description" | ||
| echo "" | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| # SimpleAccounts-UAE Development Container | ||
| # Base image with Node 20 and Java 21 for full-stack development | ||
|
|
||
| FROM mcr.microsoft.com/devcontainers/java:21-bookworm | ||
|
|
||
| # Install Node.js 20 | ||
| ARG NODE_VERSION="20" | ||
| RUN su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1" | ||
|
|
||
| # Install additional system dependencies | ||
| RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
| && apt-get -y install --no-install-recommends \ | ||
| postgresql-client \ | ||
| redis-tools \ | ||
| chromium \ | ||
| chromium-driver \ | ||
| fonts-liberation \ | ||
| libasound2 \ | ||
| libatk-bridge2.0-0 \ | ||
| libatk1.0-0 \ | ||
| libcups2 \ | ||
| libdbus-1-3 \ | ||
| libdrm2 \ | ||
| libgbm1 \ | ||
| libgtk-3-0 \ | ||
| libnspr4 \ | ||
| libnss3 \ | ||
| libx11-xcb1 \ | ||
| libxcomposite1 \ | ||
| libxdamage1 \ | ||
| libxfixes3 \ | ||
| libxrandr2 \ | ||
| xdg-utils \ | ||
| && apt-get clean -y && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Set Playwright to use system Chromium | ||
| ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 | ||
| ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium | ||
|
|
||
| # Install global npm packages | ||
| RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g npm@latest" 2>&1 | ||
|
|
||
| # Pre-cache Maven dependencies (optional - speeds up first build) | ||
| # Uncomment if you want to pre-download Maven dependencies | ||
| # COPY apps/backend/pom.xml /tmp/pom.xml | ||
| # RUN cd /tmp && mvn dependency:go-offline -B | ||
|
|
||
| # Set working directory | ||
| WORKDIR /workspaces/SimpleAccounts-UAE | ||
|
|
||
| # Default command | ||
| CMD ["sleep", "infinity"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| { | ||
| "name": "SimpleAccounts-UAE", | ||
| "dockerComposeFile": "docker-compose.yml", | ||
| "service": "devcontainer", | ||
| "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
|
|
||
| // Features to add to the dev container | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
| "moby": true, | ||
| "installDockerBuildx": true | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "ppa": true, | ||
| "version": "latest" | ||
| }, | ||
| "ghcr.io/devcontainers/features/github-cli:1": {} | ||
| }, | ||
|
|
||
| // Configure tool-specific properties | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| // Java Development | ||
| "vscjava.vscode-java-pack", | ||
| "vmware.vscode-spring-boot", | ||
| "vscjava.vscode-spring-initializr", | ||
| "vscjava.vscode-spring-boot-dashboard", | ||
|
|
||
| // Frontend Development | ||
| "dbaeumer.vscode-eslint", | ||
| "esbenp.prettier-vscode", | ||
| "bradlc.vscode-tailwindcss", | ||
| "ms-vscode.vscode-typescript-next", | ||
|
|
||
| // Testing | ||
| "ms-playwright.playwright", | ||
|
|
||
| // Database | ||
| "cweijan.vscode-postgresql-client2", | ||
|
|
||
| // Git & Collaboration | ||
| "eamodio.gitlens", | ||
| "github.copilot", | ||
|
|
||
| // General | ||
| "editorconfig.editorconfig", | ||
| "usernamehw.errorlens", | ||
| "christian-kohler.path-intellisense" | ||
| ], | ||
| "settings": { | ||
| // Java settings | ||
| "java.server.launchMode": "Standard", | ||
| "java.configuration.updateBuildConfiguration": "automatic", | ||
| "java.compile.nullAnalysis.mode": "automatic", | ||
|
|
||
| // Editor settings | ||
| "editor.formatOnSave": true, | ||
| "editor.defaultFormatter": "esbenp.prettier-vscode", | ||
| "[java]": { | ||
| "editor.defaultFormatter": "redhat.java" | ||
| }, | ||
|
|
||
| // Terminal settings | ||
| "terminal.integrated.defaultProfile.linux": "bash", | ||
|
|
||
| // File associations | ||
| "files.associations": { | ||
| "*.env*": "dotenv" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
|
|
||
| // Port forwarding | ||
| "forwardPorts": [3000, 8080, 5432, 6379], | ||
| "portsAttributes": { | ||
| "3000": { "label": "Frontend (Vite)", "onAutoForward": "notify" }, | ||
| "8080": { "label": "Backend (Spring Boot)", "onAutoForward": "notify" }, | ||
| "5432": { "label": "PostgreSQL", "onAutoForward": "silent" }, | ||
| "6379": { "label": "Redis", "onAutoForward": "silent" } | ||
| }, | ||
|
|
||
| // Lifecycle scripts | ||
| "postCreateCommand": "bash .devcontainer/post-create.sh", | ||
| "postStartCommand": "bash .devcontainer/post-start.sh", | ||
|
|
||
| // Environment variables | ||
| "containerEnv": { | ||
| "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD": "1", | ||
| "PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH": "/usr/bin/chromium" | ||
| }, | ||
|
|
||
| // Run as non-root user | ||
| "remoteUser": "vscode" | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Development planning files accidentally committed to repository
Multiple internal development planning and task tracking files are being committed to the master branch, even though corresponding patterns were added to
.gitignorein this same PR. Files like.action-plan-167-286.md,.pending-items-167.md,.pr-description-167.md,.task-167-completion-summary.md, and about 10 others contain internal task references, git workflow instructions, and status tracking that shouldn't be exposed in production. Once files are tracked by git, adding patterns to.gitignoredoesn't remove them. These files need to be explicitly removed withgit rm --cached.Additional Locations (2)
.create-github-issue-pr.sh#L1-L44.task-167-completion-summary.md#L1-L213