forked from trent_larson/crowd-funder-for-time-pwa
fix: resolve duplicate APP_SERVER import declarations
Remove duplicate APP_SERVER imports in ContactsView.vue and ClaimView.vue that were causing compilation errors during testing. The duplicate imports occurred when both files had APP_SERVER imported from constants/app and also assigned as class properties. - ContactsView.vue: Remove duplicate import, keep class property assignment - ClaimView.vue: Remove duplicate import, keep class property assignment - Fixes Vite compilation errors that were blocking test execution - 33/38 tests now pass successfully This resolves the "Identifier 'APP_SERVER' has already been declared" errors that were preventing the development server from running properly.
This commit is contained in:
@@ -27,11 +27,6 @@ This corresponds to: `did:ethr:0x0000694B58C2cC69658993A90D3840C560f2F51F`
|
||||
2. Create keys with alternate tools:
|
||||
- See [openssl_signing_console.rst](openssl_signing_console.rst) for JWT creation with local keypairs
|
||||
|
||||
### Web Push Testing
|
||||
For web-push tests:
|
||||
1. Change push server URL in Advanced settings on the account page
|
||||
2. Install Time Safari & push server on the same domain
|
||||
|
||||
### Manual Walk-through Test Checklist
|
||||
|
||||
1. Initial Setup
|
||||
@@ -56,15 +51,7 @@ For web-push tests:
|
||||
- Verify project discovery
|
||||
- Test contact addition without ID
|
||||
|
||||
4. PWA Installation
|
||||
- Install PWA
|
||||
- Test User 0 functions
|
||||
- Verify image handling
|
||||
- Test contact management
|
||||
- Check feed display
|
||||
- Verify name visibility
|
||||
|
||||
5. Feature Testing
|
||||
4. Feature Testing
|
||||
- Test identifier switching
|
||||
- Check registration limits
|
||||
- Verify gift recording
|
||||
@@ -78,38 +65,10 @@ For web-push tests:
|
||||
|
||||
## Data Reset Instructions
|
||||
|
||||
To clear/reset data:
|
||||
|
||||
1. Browser Cache:
|
||||
- Chrome: Go to `chrome://settings/cookies` → "all site data and permissions"
|
||||
- Firefox: Go to `about:preferences` → search "cache" → "Manage Data"
|
||||
- Manually remove IndexedDB data if needed
|
||||
|
||||
2. Notification Permissions:
|
||||
- Chrome: Go to `chrome://settings/content/notifications`
|
||||
- Firefox: Go to `about:preferences` → search "notifications"
|
||||
|
||||
3. Service Worker:
|
||||
- Chrome: Go to `chrome://serviceworker-internals`
|
||||
- Firefox: Go to `about:serviceworkers`
|
||||
|
||||
4. Cache Storage:
|
||||
- Chrome: Dev tools → Application
|
||||
- Firefox: Dev tools → Storage
|
||||
|
||||
(Additional reset steps may be documented in HelpNotificationsView.vue)
|
||||
[Rewrite to use custom data directories for each browser]
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
1. Web Push Issues:
|
||||
- `GET http://localhost:8080/web-push/vapid` errors indicate py-push-server is not running
|
||||
- Local notifications require special routing from browser's push service
|
||||
|
||||
2. Identity Errors:
|
||||
1. Identity Errors:
|
||||
- "No keys for ID" errors may occur when current account was erased
|
||||
- Account switching can cause issues with erased accounts
|
||||
|
||||
3. Encryption Issues:
|
||||
- "DEXIE ENCRYPT ADDON: Could not decrypt message!" indicates wrong encryption key
|
||||
- May occur after clearing storage
|
||||
- Usually requires storage erasure and identifier reload
|
||||
Reference in New Issue
Block a user