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:
@@ -398,3 +398,27 @@ Route::middleware(['auth', 'ensure.onboarding.complete'])->prefix('messages')->n
|
||||
// ── Community Activity Feed ───────────────────────────────────────────────────
|
||||
Route::get('/community/activity', [\App\Http\Controllers\Web\CommunityActivityController::class, 'index'])
|
||||
->name('community.activity');
|
||||
|
||||
// ── Posts / Following Feed ────────────────────────────────────────────────────
|
||||
// /feed/following – Inertia page for the ranked, diversified following feed
|
||||
Route::middleware(['auth', 'ensure.onboarding.complete'])
|
||||
->get('/feed/following', [\App\Http\Controllers\Web\Posts\FollowingFeedController::class, 'index'])
|
||||
->name('feed.following');
|
||||
|
||||
// ── Feed 2.0: Trending Feed ───────────────────────────────────────────────────
|
||||
Route::get('/feed/trending', [\App\Http\Controllers\Web\Posts\TrendingFeedController::class, 'index'])
|
||||
->name('feed.trending');
|
||||
|
||||
// ── Feed 2.0: Hashtag Feed ────────────────────────────────────────────────────
|
||||
Route::get('/tags/{tag}', [\App\Http\Controllers\Web\Posts\HashtagFeedController::class, 'index'])
|
||||
->where('tag', '[A-Za-z][A-Za-z0-9_]{1,63}')
|
||||
->name('feed.hashtag');
|
||||
|
||||
// ── Feed 2.0: Saved Posts ─────────────────────────────────────────────────────
|
||||
Route::middleware(['auth'])
|
||||
->get('/feed/saved', [\App\Http\Controllers\Web\Posts\SavedFeedController::class, 'index'])
|
||||
->name('feed.saved');
|
||||
|
||||
// ── Feed 2.0: Post Search ─────────────────────────────────────────────────────
|
||||
Route::get('/feed/search', [\App\Http\Controllers\Web\Posts\SearchFeedController::class, 'index'])
|
||||
->name('feed.search');
|
||||
|
||||
Reference in New Issue
Block a user