From f14b9a819d0dc88967a5610e383230a48932b8d5 Mon Sep 17 00:00:00 2001 From: MrWeez Date: Sun, 3 May 2026 17:05:09 +0300 Subject: [PATCH 01/53] fix: editorconfig for blade files (4 spaces instead of 2) --- .editorconfig | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index b52cb6ba8..f81cc0d1e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -21,16 +21,10 @@ indent_size = 2 indent_size = 4 [*.blade.php] -indent_size = 2 +indent_size = 4 [*.js] indent_size = 4 -[*.jsx] -indent_size = 2 - -[*.tsx] -indent_size = 2 - [*.json] indent_size = 4 From a6c61e20f22064c3120f53513d9deaee7c01fdde Mon Sep 17 00:00:00 2001 From: MrWeez Date: Sun, 3 May 2026 17:05:39 +0300 Subject: [PATCH 02/53] refactor: tabbed profile page --- themes/default/views/profile/index.blade.php | 223 ++++++++++++------- 1 file changed, 138 insertions(+), 85 deletions(-) diff --git a/themes/default/views/profile/index.blade.php b/themes/default/views/profile/index.blade.php index c99db2acb..90fb336bf 100644 --- a/themes/default/views/profile/index.blade.php +++ b/themes/default/views/profile/index.blade.php @@ -44,19 +44,16 @@ @if (!empty($discord_client_id) && !empty($discord_client_secret))
- {{ __('Required Discord verification!') }} + {{ __('Required Discord verification!') }}
{{ __('You have not yet verified your discord account') }} - {{ __('Login with discord') }}
+ {{ __('Login with discord') }}
{{ __('Please contact support If you face any issues.') }}
@else
- {{ __('Required Discord verification!') }} + {{ __('Required Discord verification!') }}
{{ __('Due to system settings you are required to verify your discord account!') }}
{{ __('It looks like this hasnt been set-up correctly! Please contact support.') }} @@ -101,16 +98,20 @@ class="mr-2 fa fa-coins">{{ Currency::formatForDisplay($user->credits) }} @if ($referral_enabled) - @can('user.referral') -
- +
+ @can('user.referral') + + {{ __('Referral URL') }} : - - {{ route('register') }}?ref={{ $user->referral_code }} + + {{ route('register') }}?ref={{ $user->referral_code }} + @else - - {{ __('You can not see your Referral Code') }} + + + {{ __('You can not see your Referral Code') }} + @endcan
@endif @@ -133,13 +134,20 @@ class='badge'>{{ $role->name }}
-