How chinmayj592/sales-force-object-manager-ui works
This is a Salesforce object-management web app: users authenticate, choose an object type, browse records, and create, view, edit, or delete records. The dashboard coordinates record state and UI actions; record services map object types to API routes. Authentication and object selection are separate application concerns. The graph follows the excerpts and source-index references; backend behavior beyond the visible API calls is not inspected.
Main entry points: DashboardPage.jsx Dashboard · App.jsx App shell · routes.jsx Route guards · ObjectContext.jsx Object state
Components 21
Application shell
- App shell
src/App.jsx - Route guards
src/routes.jsx
Authentication
- Login page
src/pages/LoginPage.jsx - Auth state
src/context/AuthContext.jsx - Auth hook
src/hooks/useAuth.js - Auth service
src/services/authService.js
Object selection
- Object state
src/context/ObjectContext.jsx - Object picker
src/components/objectSelector/ObjectDropdown.jsx - Object schemas
src/utils/constants.js
Record management
- Dashboard
src/pages/DashboardPage.jsx - Record state
src/hooks/useRecords.js - Record service
src/services/recordService.js - API client
src/services/api.js - Record table
src/components/records/RecordTable.jsx - Record row
src/components/records/RecordRow.jsx - Record form
src/components/records/RecordForm.jsx - Record details
src/components/records/ViewModal.jsx - Modal dialog
src/components/common/Modal.jsx - Record helpers
src/utils/helpers.js
Other components
- User
- Application backend
Connections 26
- User → App shell: opens app
src/App.jsx - App shell → Auth state: provides auth
src/App.jsx - App shell → Route guards: renders routes
src/App.jsx - Route guards → Auth hook: checks session
src/routes.jsx - Route guards → Login page: routes to
src/routes.jsx - Route guards → Dashboard: routes to
src/routes.jsx - Auth state → Auth service: calls auth
src/context/AuthContext.jsx - Auth hook → Auth state: reads context
src/hooks/useAuth.js - User → Login page: starts login
- App shell → Object state: provides objects
src/App.jsx - Dashboard → Object state: reads selection
src/pages/DashboardPage.jsx - Dashboard → Object picker: renders picker
src/pages/DashboardPage.jsx - Object picker → Object state: updates selection
src/components/objectSelector/ObjectDropdown.jsx - Object state → Object schemas: reads definitions
src/context/ObjectContext.jsx - Dashboard → Record state: loads records
src/pages/DashboardPage.jsx - Record state → Record service: calls CRUD
src/hooks/useRecords.js - Record service → API client: sends requests
src/services/recordService.js - API client → Application backend: requests records
- Dashboard → Record table: renders records
src/pages/DashboardPage.jsx - Record table → Record row: renders rows
src/components/records/RecordTable.jsx - Dashboard → Record form: renders create/edit
src/pages/DashboardPage.jsx - Dashboard → Record details: renders details
src/pages/DashboardPage.jsx - Record details → Modal dialog: uses dialog
src/components/records/ViewModal.jsx - Record form → Modal dialog: uses dialog
src/components/records/RecordForm.jsx - Record form → Record helpers: builds record
src/components/records/RecordForm.jsx - Record row → Record helpers: formats display
src/components/records/RecordRow.jsx