refactor: standardize notification usage in ChoiceButtonDialog.vue

Add notify helper property and initialize in created() with createNotifyHelpers(this.$notify)
Replace direct $notify call in open() with this.notify.confirm(...) and use TIMEOUTS.MODAL for duration
Remove unused NotificationIface import
Add $notify property for Vue runtime injection to satisfy type checker
Ensure all notification usage is consistent with project best practices
This ensures maintainable, type-safe, and consistent notification handling in the ChoiceButtonDialog component.
This commit is contained in:
Matthew Raymer
2025-07-06 12:41:48 +00:00
parent 938e6693b0
commit effb23a46d
2 changed files with 13 additions and 19 deletions

View File

@@ -191,8 +191,8 @@ export default class ComponentName extends Vue {
**Progress**: 3/15 (20%)
- [x] UserNameDialog.vue ✅ **MIGRATED**
- [ ] ActivityListItem.vue
- [ ] AmountInput.vue
- [x] AmountInput.vue ✅ **REVIEWED (no migration needed)**
- Pure UI component, no databaseUtil or notification usage.
- [ ] ChoiceButtonDialog.vue
- [ ] ContactNameDialog.vue
- [ ] DataExportSection.vue