13 Commits

Author SHA1 Message Date
kusowl
89271220fa chore(UX improvements): add preloader, button animations, navbar transition on mobile 2026-01-19 10:38:42 +05:30
kusowl
3750638122 feature(report a deal): users can report a deal 2026-01-16 19:38:39 +05:30
kusowl
f33f68cd3e feat(user interaction): add favorite interaction
- refactor controller to handle favorite
- show like count and update when liked a deal
- maintain like and favorite state with server
2026-01-16 14:30:24 +05:30
kusowl
16c9ff3cee feat: implement user interaction system with like functionality
- Updated interaction models and relations for handling of user-deal interactions.
- Added frontend interactivity with `interaction.js` for toggling like buttons.
2026-01-15 19:09:24 +05:30
kusowl
2fba9f7ab8 refactor: replace user dashboard with explore page and improve broker UI components
- Removed `UserDashboardController` and related user dashboard views.
- Introduced `ExplorePageController` and redesigned `explore.blade.php` as the main user-facing page.
- Updated routing logic to redirect users (non-admin and non-broker) to the `explore` page.
- Added dedicated sidebar and layout components for the broker dashboard, improving structure and navigation.
2026-01-15 15:07:58 +05:30
kusowl
d62b6977c4 feat(user dashboard): add user-specific dashboard with deal listings
- Created a dedicated UserDashboardController to handle user-related logic.
- Added deal listing views and components for users, including action toolbars, broker contact, and stat badges.
- Refactored UI components to support new features like toggle buttons and improved input handling.
- Updated routes with a new prefix for user-related pathways, ensuring a better structure across dashboards.
2026-01-14 17:42:56 +05:30
kusowl
ccb5a2ed5e refactor: consolidate alert components and improve functionality
- replaced `alert-error` and `alert-success` components with a single reusable `alert` component
- added JS functionality for dismissible alerts
- updated related views to use the new `alert` component
- adjusted broker profile logic to display initials and verification status dynamically
- refactored morph relations from `type` to `role`
- enhanced image preview behavior for file inputs
- made broker migration fields nullable and added safeguards against registration errors
- Added confirmation when a user wants delete deal
- Add dynamic initials for user profile picture
- make image file name non-overidding with timestamp
2026-01-14 12:19:20 +05:30
kusowl
1275a74506 feat: broker profile
- add morph to relationship
- add profile markup
- modify page-heading.blade.php to accept center and end sections
2026-01-13 18:06:27 +05:30
kusowl
cdcb75cb58 fix: listing card ui
- fixed the issue on when a card's title gets in two line, it adds space on other cards
2026-01-13 15:46:11 +05:30
kusowl
a248d3fc79 feat(deal update and delete): broker can update and delete their deals
- show external links in listings
- refactor image-input.blade.php to display image while update
- refactor image-input.js to show selected image after user clicks submit
- refactor components to accept default value
- add FileService to handle image update and delete
2026-01-13 15:10:55 +05:30
kusowl
e2fabcd8b6 feat(broker dashboard): show created deals on dashboard with count
- add relationships
- refactor component for displaying values
2026-01-12 18:56:04 +05:30
kusowl
f43f92f365 feat(Create deals): broker can create deals
- add deal category migration
- add deals migration and model
- add form to create deal
- add image preview modal when uploading the image
- refactor UI components to support `required` attribute
- refactor input component to support description
- fix some UI components does not support old values
- fix some UI components does not show error messages
2026-01-12 17:48:07 +05:30
kusowl
2aedc08ad1 feat(broker dashboard): add the markup of broker dashboard 2026-01-09 18:38:29 +05:30