feat: forum rich-text editor, emoji picker, mentions, discover nav, feed, uploads, profile

Forum:
- TipTap WYSIWYG editor with full toolbar
- @emoji-mart/react emoji picker (consistent with tweets)
- @mention autocomplete with user search API
- Fix PHP 8.4 parse errors in Blade templates
- Fix thread data display (paginator items)
- Align forum page widths to max-w-5xl

Discover:
- Extract shared _nav.blade.php partial
- Add missing nav links to for-you page
- Add Following link for authenticated users

Feed/Posts:
- Post model, controllers, policies, migrations
- Feed page components (PostComposer, FeedCard, etc)
- Post reactions, comments, saves, reports, sharing
- Scheduled publishing support
- Link preview controller

Profile:
- Profile page components (ProfileHero, ProfileTabs)
- Profile API controller

Uploads:
- Upload wizard enhancements
- Scheduled publish picker
- Studio status bar and readiness checklist
This commit is contained in:
2026-03-03 09:48:31 +01:00
parent 1266f81d35
commit dc51d65440
178 changed files with 14308 additions and 665 deletions

View File

@@ -76,9 +76,31 @@
@endif
</div>
{{-- Posts & Feed Settings --}}
<div class="border-t border-gray-200 pt-6">
<h3 class="text-sm font-medium text-gray-900">{{ __('Posts & Feed') }}</h3>
<div class="mt-4 flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-700">{{ __('Auto-post new uploads') }}</p>
<p class="text-xs text-gray-500 mt-0.5">{{ __('Automatically create a feed post when you publish new artwork.') }}</p>
</div>
<div class="flex items-center gap-2">
<input type="hidden" name="auto_post_upload" value="0" />
<input
id="auto_post_upload"
type="checkbox"
name="auto_post_upload"
value="1"
{{ optional(auth()->user()->profile)->auto_post_upload ? 'checked' : '' }}
class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500"
/>
<label for="auto_post_upload" class="text-sm text-gray-600">{{ __('Enabled') }}</label>
</div>
</div>
</div>
<div class="flex items-center gap-4">
<x-primary-button>{{ __('Save') }}</x-primary-button>
@if (session('status') === 'profile-updated')
<p
x-data="{ show: true }"

View File

@@ -0,0 +1,20 @@
@extends('layouts.nova')
@push('head')
@vite(['resources/js/profile.jsx'])
{{-- OG image (not in nova base layout) --}}
@if(!empty($og_image))
<meta property="og:image" content="{{ $og_image }}">
@endif
<meta property="og:url" content="{{ $page_canonical ?? url()->current() }}">
<style>
/* Ensure profile tab bar does not hide behind the main navbar */
.profile-tabs-sticky {
top: var(--navbar-height, 4rem);
}
</style>
@endpush
@section('content')
@inertia
@endsection