From 6fc4aa820a36c6009dae943d6a013dd9011fee2e Mon Sep 17 00:00:00 2001 From: Abdelmjid Saber <87904671+abdelmjid-saber@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:30:50 +0200 Subject: [PATCH 1/4] Update ProfileController.php --- Modules/CircleXO/App/Http/Controllers/ProfileController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/CircleXO/App/Http/Controllers/ProfileController.php b/Modules/CircleXO/App/Http/Controllers/ProfileController.php index af24c3f..dd8c837 100644 --- a/Modules/CircleXO/App/Http/Controllers/ProfileController.php +++ b/Modules/CircleXO/App/Http/Controllers/ProfileController.php @@ -81,6 +81,11 @@ public function message(Request $request, AccountContact $message) return view('circle-xo::profile.message', compact('message')); } + public function messageInfoProfile(Request $request, $profile) + { + return view('circle-xo::profile.message-profile-info'); + } + public function qr() { $qr = QrCode::format('png') From ca7d7e2b2449c8606ad8fc8fcd4f89884bdcecc0 Mon Sep 17 00:00:00 2001 From: Abdelmjid Saber <87904671+abdelmjid-saber@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:31:27 +0200 Subject: [PATCH 2/4] Update messages.blade.php --- .../views/profile/messages.blade.php | 151 ++++++++++++++++-- 1 file changed, 140 insertions(+), 11 deletions(-) diff --git a/Modules/CircleXO/resources/views/profile/messages.blade.php b/Modules/CircleXO/resources/views/profile/messages.blade.php index 406488e..3e484c9 100644 --- a/Modules/CircleXO/resources/views/profile/messages.blade.php +++ b/Modules/CircleXO/resources/views/profile/messages.blade.php @@ -1,15 +1,144 @@ + + + + + + - - - - - - - - - - - + + + + {{-- sidebar --}} + + + {{-- message center --}} + + {{-- chat heading --}} + + + {{-- toggle for mobile --}} + + + + + + + + + Abdelmjid Saber + Online + + + + + + + + + + + {{-- chats bubble --}} + + + + + + Abdelmjid Saber + @AbdelmjidSaber + + + View profile + + + + + + {{-- received --}} + + + Hi, I’m Fady + + + {{-- sent --}} + + + I’m Abdelmjid. welcome Fady + + + {{-- time --}} + + + March 29,2024,6:30 PM + + + + + {{-- sent --}} + + + Great, thank you. + + + + + {{-- sending message area --}} + + + + + + + + + + + + + From ab8daef06fcff722e2d58bf99a7f06e65e7aa665 Mon Sep 17 00:00:00 2001 From: Abdelmjid Saber <87904671+abdelmjid-saber@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:31:58 +0200 Subject: [PATCH 3/4] Create message-profile-info.blade.php --- .../profile/message-profile-info.blade.php | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Modules/CircleXO/resources/views/profile/message-profile-info.blade.php diff --git a/Modules/CircleXO/resources/views/profile/message-profile-info.blade.php b/Modules/CircleXO/resources/views/profile/message-profile-info.blade.php new file mode 100644 index 0000000..bf51fcc --- /dev/null +++ b/Modules/CircleXO/resources/views/profile/message-profile-info.blade.php @@ -0,0 +1,44 @@ + + + + + Abdelmjid Saber + @AbdelmjidSaber + + + View + profile + + + + + + + + + + Mute Notification + + + + + + Report + + + + + + Block + + + + + + Delete Chat + + + + + From fc7d7ad7127ced2dfa05e88ac69dc75bfd66852e Mon Sep 17 00:00:00 2001 From: Abdelmjid Saber <87904671+abdelmjid-saber@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:32:23 +0200 Subject: [PATCH 4/4] Update web.php --- Modules/CircleXO/routes/web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/CircleXO/routes/web.php b/Modules/CircleXO/routes/web.php index 4f60d2c..fce88c7 100644 --- a/Modules/CircleXO/routes/web.php +++ b/Modules/CircleXO/routes/web.php @@ -61,6 +61,7 @@ Route::get('/followers', [ProfileController::class, 'followers'])->name('followers'); Route::get('/messages', [ProfileController::class, 'messages'])->name('messages'); Route::get('/messages/{message}', [ProfileController::class, 'message'])->name('messages.show'); + Route::get('/messages/info/{profile}', [ProfileController::class, 'messageInfoProfile'])->name('messages.profile-info.show'); Route::get('/edit/social-accounts', [ProfileController::class, 'socialAccounts'])->name('social-accounts.show'); Route::post('/edit/social-accounts', [ProfileController::class, 'socialAccountsUpdate'])->name('social-accounts.update'); Route::get('/edit/password', [ProfileController::class, 'password'])->name('password.show');