Skip to content
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

refactor(admin-panel): move entity tightly coupled to entities into app #492

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

sandipndev
Copy link
Member

@sandipndev sandipndev commented Sep 4, 2024

more readable app directory. this pr brings in all components that interact with the GQL api into app for better cohesion and easier navigation.

├── customers
│   ├── create.tsx
│   ├── [customer-id]
│   │   ├── deposits.tsx
│   │   ├── details.tsx
│   │   ├── loans.tsx
│   │   ├── page.tsx
│   │   └── withdrawals.tsx
│   ├── list.tsx
│   ├── page.tsx
│   └── server-actions.ts
├── deposits
│   ├── page.tsx
│   └── record.tsx
├── loans
│   ├── approve.tsx
│   ├── create.tsx
│   ├── [loan-id]
│   │   ├── details.tsx
│   │   └── page.tsx
│   ├── loans-table.tsx
│   ├── page.tsx
│   ├── partial-payment.tsx
│   ├── status-badge.tsx
│   ├── update-collateralization-state.tsx
│   └── update-collateral.tsx

future objective for this refactor is to use the items is a modular fashion. for eg, the list on loans can be used on customer detail to show loans for only specific user.

@sandipndev sandipndev merged commit b30d35f into main Sep 4, 2024
5 checks passed
@sandipndev sandipndev deleted the rearrange-components branch September 4, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants