Refactor ClaimView.vue: remove inline template logic, improve types, and centralize logic

- Move all complex template logic to computed properties and methods
- Replace all `as any` usages with proper TypeScript types (OfferClaim, GiveActionClaim)
- Add computed property for claim image, removing inline image access
- Route all logging through PlatformServiceMixin
- Ensure all icon-only buttons have aria-labels for accessibility
- Remove unused imports and direct logger usage
- Lint clean: no warnings or errors remain
This commit is contained in:
Matthew Raymer
2025-07-05 11:11:32 +00:00
parent 17e8e13b62
commit bbdb962d4d
3 changed files with 211 additions and 73 deletions

View File

@@ -345,7 +345,6 @@ interface Settings {
})
export default class App extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
$logAndConsole!: (message: string, isError?: boolean) => Promise<void>;
stopAsking = false;