feat(academy): prepare AI Academy v1 for production enablement
This commit is contained in:
@@ -50,10 +50,13 @@ final class StudioNewsController extends Controller
|
||||
'title' => 'Create article',
|
||||
'description' => 'Draft a new News story with editorial workflow, SEO metadata, and related entity links.',
|
||||
'article' => null,
|
||||
'oldInput' => $request->session()->getOldInput(),
|
||||
'indexUrl' => route('studio.news.index'),
|
||||
'typeOptions' => $this->news->articleTypeOptions(),
|
||||
'statusOptions' => $this->news->editorialStatusOptions(),
|
||||
'categoryOptions' => $this->news->categoryOptions(),
|
||||
'tagOptions' => $this->news->tagOptions(),
|
||||
'newsTagLimit' => 12,
|
||||
'relationTypeOptions' => $this->news->relationTypeOptions(),
|
||||
'storeUrl' => route('studio.news.store'),
|
||||
'coverUploadUrl' => route('api.studio.news.media.upload'),
|
||||
@@ -83,10 +86,13 @@ final class StudioNewsController extends Controller
|
||||
'title' => 'Edit article',
|
||||
'description' => 'Refine the story, tune SEO, and attach related Nova entities before publishing.',
|
||||
'article' => $this->news->mapStudioArticle($article, $request->user()),
|
||||
'oldInput' => $request->session()->getOldInput(),
|
||||
'indexUrl' => route('studio.news.index'),
|
||||
'typeOptions' => $this->news->articleTypeOptions(),
|
||||
'statusOptions' => $this->news->editorialStatusOptions(),
|
||||
'categoryOptions' => $this->news->categoryOptions(),
|
||||
'tagOptions' => $this->news->tagOptions(),
|
||||
'newsTagLimit' => 12,
|
||||
'relationTypeOptions' => $this->news->relationTypeOptions(),
|
||||
'coverUploadUrl' => route('api.studio.news.media.upload'),
|
||||
'coverDeleteUrl' => route('api.studio.news.media.destroy'),
|
||||
|
||||
Reference in New Issue
Block a user