Add e2e map tests and implement points bulk delete feature

This commit is contained in:
Eugene Burmakin
2025-11-04 21:21:20 +01:00
parent 18836975ca
commit 282441db0b
20 changed files with 1701 additions and 4363 deletions
@@ -208,7 +208,7 @@ export default class extends BaseController {
this.addInfoToggleButton();
// Initialize the visits manager
this.visitsManager = new VisitsManager(this.map, this.apiKey, this.userTheme);
this.visitsManager = new VisitsManager(this.map, this.apiKey, this.userTheme, this);
// Expose visits manager globally for location search integration
window.visitsManager = this.visitsManager;
@@ -712,6 +712,9 @@ export default class extends BaseController {
if (this.map.hasLayer(this.fogOverlay)) {
this.updateFog(this.markers, this.clearFogRadius, this.fogLineThreshold);
}
// Show success message
showFlashMessage('notice', 'Point deleted successfully');
})
.catch(error => {
console.error('There was a problem with the delete request:', error);