Merge pull request #40 from trypostit/fix/remove-redundant-publish-toast

fix(posts): drop redundant 'publishing' toast on publish
This commit is contained in:
Paulo Castellano 2026-05-15 12:30:06 -03:00 committed by GitHub
commit 626da2c4dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 3 additions and 9 deletions

View file

@ -290,9 +290,6 @@ public function update(UpdatePostRequest $request, Post $post): RedirectResponse
}
if ($action === PostAction::Publishing) {
session()->flash('flash.banner', __('posts.flash.publishing'));
session()->flash('flash.bannerStyle', 'success');
return redirect()->route('app.posts.show', $post);
}

View file

@ -471,7 +471,6 @@
'flash' => [
'scheduled' => 'Post scheduled successfully!',
'publishing' => 'Post is being published! It may take a few minutes to process and appear on each platform.',
'deleted' => 'Post deleted successfully!',
'duplicated' => 'Post duplicated as a draft.',
'cannot_edit_published' => 'Published posts cannot be edited.',

View file

@ -471,7 +471,6 @@
'flash' => [
'scheduled' => '¡Post programado correctamente!',
'publishing' => '¡El post se está publicando! Puede tardar unos minutos en procesarse y aparecer en cada plataforma.',
'deleted' => '¡Post eliminado correctamente!',
'duplicated' => 'Post duplicado como borrador.',
'cannot_edit_published' => 'Los posts publicados no se pueden editar.',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -471,7 +471,6 @@
'flash' => [
'scheduled' => 'Post agendado com sucesso!',
'publishing' => 'Post está sendo publicado! Pode levar alguns minutos para processar e aparecer em cada plataforma.',
'deleted' => 'Post excluído com sucesso!',
'duplicated' => 'Post duplicado como rascunho.',
'cannot_edit_published' => 'Posts publicados não podem ser editados.',