49 Commits

Author SHA1 Message Date
kusowl
298d73791f feature(manage-reported-deals): admin can approve or reject reports and remove content 2026-01-28 16:42:59 +05:30
kusowl
c087126080 feature(admin-panel): manage broker section
- admin can edit, approve or reject broker registration
- admin can edit, delete or impersonate as broker
2026-01-28 13:44:05 +05:30
kusowl
aa3056e1d1 feature(admin-panel): admin can stop impersonating
- add a alert which shows which user admin is impersonating
- add a logout icon, which stops impersonating and restore admin
dashboard
2026-01-28 10:09:15 +05:30
kusowl
a4f644ad20 feature(impersonate as user): Admin can impersonate as others users 2026-01-27 18:54:08 +05:30
kusowl
690a50408d feature(admin-panel): add manage customer page
- list customer
- edit customer details
- delete customer
2026-01-27 17:18:50 +05:30
kusowl
91a11c8f56 feature(admin-panel): add admin dashboard 2026-01-27 17:15:04 +05:30
kusowl
4fd98957cb feature(guest access to explore page)
- guest users can access explore page
- deal interactions are seen to customer and guest users
- guest users redirected to login page for interactions
2026-01-27 13:49:42 +05:30
kusowl
1442856fb4 feature(delete-search-history): users can delere their recent search histories 2026-01-27 12:52:21 +05:30
kusowl
62c306986c fix: empty recent searches, user cannot report deals, category filter is not working with search 2026-01-27 12:05:14 +05:30
kusowl
94ef8f360d feature (favorite and reported deals):
- add favorites and reported tabs in user profile pages
- add remove favorites
- customers can view a deal directly from profiles section and deal modal is shown in explore page
- fix formatting by pint
2026-01-23 16:14:04 +05:30
kusowl
a5f2f43fb1 add shimmer animation in deal modal 2026-01-23 09:45:07 +05:30
kusowl
45196cba56 Merge branch 'feature/broker-dashboard'
# Conflicts:
#	app/Models/User.php
2026-01-22 19:14:15 +05:30
kusowl
4f34c5b595 feature(customer profile): add show and edit page for customer profile 2026-01-22 19:06:59 +05:30
kusowl
193913dfad fix: controller namespaces
- change 'auth' to Auth
- fix use statements to correctly
2026-01-22 17:38:50 +05:30
kusowl
1d9f3c5c04 refactor: group controllers 2026-01-22 16:41:54 +05:30
kusowl
9e7fda4ea2 feature (stats in broker dashboard):
show individual brokers total likes, view and click per deal andin stats
2026-01-22 16:36:22 +05:30
kusowl
3cd2644582 feature(deal-modal): count view interaction 2026-01-22 14:55:09 +05:30
kusowl
9e61dd9f51 feature(deal-modal): add interaction only in card
- show current user liked and favorite status in the modal
2026-01-22 13:34:02 +05:30
kusowl
6b52aed66a wip 2026-01-21 19:11:10 +05:30
kusowl
f14f7ece54 feature(search): users can search deals via broker name 2026-01-21 10:46:32 +05:30
kusowl
985dd967e4 feature(search deals)
- make deals reachable
- add recent search feature
- add animation in profile menu
- refactor blade markup of explore page
2026-01-20 18:43:13 +05:30
kusowl
673915887c fix(overflow in dashboard, sidebar animation)
- add sidebar open close animation in broker control panel
- fix overflow issue in broker dashboard page
2026-01-20 12:04:32 +05:30
kusowl
6c7f411946 feature(weightage and sorting in explore page):
add like and click weitage in deals explore page
add sorting by like and click
2026-01-19 19:01:50 +05:30
kusowl
e5ebe21ed1 feature (external link redirection count of deal):
bind the link with the view deal button
show the total redirection count
reflect the total redirect count immediately
add arch test so that dump statements are not left out
2026-01-19 16:39:49 +05:30
kusowl
af6d629b68 feature(external link redirection count of deal):
add a controller which increments the count for the click of external link of a deal.
2026-01-19 15:52:55 +05:30
kusowl
688fd02e26 chore(UI Improvements): made all pages in broker panel full width
toasts timer increased to 5s.
Add animation to the toast
Add toast for like and favorite actions
fixed the deal card design
added a opening animation to modal
2026-01-19 14:11:52 +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
a82e1b6b06 Merge branch 'main' into feature/user-interactions 2026-01-15 15:11:02 +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
74bbf5a5c1 wip: add interaction schemas 2026-01-15 10:14:29 +05:30
kusowl
d402ef4071 Merge branch 'feature/user-feed' into bugfix/dealhub 2026-01-14 17:43:48 +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
9c37542e6f feature(broker profile): broker can edit their profile 2026-01-14 13:36:36 +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
8d0c8c25d9 refactor: use FileService class in create
- delete existing image before update
2026-01-13 15:14:30 +05:30
kusowl
5539f20e44 chore: pint reformat 2026-01-13 15:11:38 +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
62651a8c0a refactor: broker dashboard route structure
- add broker dashboard controller
- make view name RESTful
- make the routes under prefix so that in all routes follows same route scheme.
2026-01-12 12:40:36 +05:30
kusowl
1ca9f779c5 feat(dashboard): restrict dashboard url to intended role
- add HasRole middleware
2026-01-12 11:50:48 +05:30
kusowl
8c93e78955 feat(Authentication): User log in, role based dashboard, and logout
- add login functionality
- alerts for registration and user account status
- fix status of broker role is not pending during registration
2026-01-09 15:17:28 +05:30
kusowl
ec7ae434c4 feat(registration): User registration
- add validation, and prepare the model.
- show errors in form components
- refactor route file to make register route as resource
2026-01-09 14:00:42 +05:30
kusowl
ed914b531d feature(auth): add columns to users table
- add extra columns in users table
- add traits for enum values as array
- refactor enums to specific namespace
2026-01-08 19:10:15 +05:30
kusowl
1938e8a864 feat(auth pages): added login and register pages
- fixed input component that not shows input field if label is not passed in props
2026-01-08 18:03:12 +05:30
kusowl
208fb5aa95 feat(landing page): add navbar, hero section and why choose dealhub
- bulk commit due to repo issue
- why choose dealhub (wip)
2026-01-07 18:49:44 +05:30