Skip to content

PB-1318 : added kml deletion modification with new mapviewer structure#1231

Merged
sami-nouidri-swisstopo merged 13 commits intodevelopfrom
task-PB-1318-delete-kml-definitively-final
Feb 14, 2025
Merged

PB-1318 : added kml deletion modification with new mapviewer structure#1231
sami-nouidri-swisstopo merged 13 commits intodevelopfrom
task-PB-1318-delete-kml-definitively-final

Conversation

@sami-nouidri-swisstopo
Copy link
Contributor

@sami-nouidri-swisstopo sami-nouidri-swisstopo commented Feb 7, 2025

KML deletion is now done by sending a request to the pre-existing DELETE route in the service-kml backend.

The original is here : #1224

Test link

@cypress
Copy link

cypress bot commented Feb 7, 2025

web-mapviewer    Run #4553

Run Properties:  status check passed Passed #4553  •  git commit ed8d735db5: Merge pull request #1231 from geoadmin/task-PB-1318-delete-kml-definitively-fina...
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #4553
Run duration 01m 39s
Commit git commit ed8d735db5: Merge pull request #1231 from geoadmin/task-PB-1318-delete-kml-definitively-fina...
Committer Sami Nouidri
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the task-PB-1318-delete-kml-definitively-final branch 4 times, most recently from 6a858e8 to 25fe3f9 Compare February 13, 2025 09:34
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have some linter issues

> lint:no-fix
> eslint


/codebuild/output/src1057/src/github.com/geoadmin/web-mapviewer/packages/mapviewer/src/modules/drawing/components/DrawingToolbox.vue
  188:47  error    'class' should be on a new line                         vue/max-attributes-per-line
  191:21  warning  Disallow self-closing on HTML void elements (<input/>)  vue/html-self-closing
  257:44  error    'class' should be on a new line                         vue/max-attributes-per-line
  283:57  error    'class' should be on a new line                         vue/max-attributes-per-line
  295:39  error    'class' should be on a new line                         vue/max-attributes-per-line
  328:60  error    '@accept' should be on a new line                       vue/max-attributes-per-line

✖ 6 problems (5 errors, 1 warning)
  5 errors and 1 warning potentially fixable with the `--fix` option.

Maybe check that your VS Code is running eslint --fix after each save (see https://www.digitalocean.com/community/tutorials/workflow-auto-eslinting#step-4-adding-code-actions-on-save )

expect(layers).to.be.an('Array').and.to.have.length(0)
})

cy.get(`[data-cy^="button-remove-layer-"]`).should('not.exist')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't specify any layer ID here (it ends abruptly at remove-layer-... is it wanted?

@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the task-PB-1318-delete-kml-definitively-final branch from 20ecf89 to d66006e Compare February 14, 2025 08:08
@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the task-PB-1318-delete-kml-definitively-final branch from e04b992 to 9694752 Compare February 14, 2025 10:49
@sami-nouidri-swisstopo sami-nouidri-swisstopo merged commit ed8d735 into develop Feb 14, 2025
6 checks passed
@sami-nouidri-swisstopo sami-nouidri-swisstopo deleted the task-PB-1318-delete-kml-definitively-final branch February 14, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants