Skip to content

Commit a5edd73

Browse files
committed
fixes table confirmation
1 parent 134377a commit a5edd73

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ In practice:
662662
- update `client/src/sass/enso.scss` so it wraps local styles around the shared Enso UI entrypoint instead of reintroducing legacy shared styling layers; at minimum it must import `@enso-ui/ui/src/bulma/styles/enso` and then the local `app.scss`, otherwise guest/auth pages will miss the shared Bulma / Enso base styles and render with broken form layout
663663
- remove remaining assumptions that route and state ownership live implicitly inside `@enso-ui/ui`
664664
- if your application has published Enso config overrides, align local button classes in `config/forms.php` and `config/tables.php` with the new `is-dark` default action style for a more uniform look
665+
- if your application overrides delete confirmation text through local Enso config, align those messages with the current backend package defaults from `laravel-enso/forms` and `laravel-enso/tables`; for the Enso 9 baseline documented here, both default destroy confirmations are simply `Are you sure?`
665666

666667
#### 7. Migrate backend state providers
667668

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@
9393
"php artisan enso:upgrade:status"
9494
]
9595
}
96-
}
96+
}

config/enso/tables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
'event' => 'destroy',
144144
'action' => 'ajax',
145145
'method' => 'DELETE',
146-
'message' => 'The selected record is about to be deleted. Are you sure?',
146+
'message' => 'Are you sure?',
147147
'confirmation' => true,
148148
'postEvent' => 'destroyed',
149149
],

0 commit comments

Comments
 (0)