Skip to content

11071 improve interactions layerdownload plugin and comp DownloadDialog#11156

Merged
MV88 merged 8 commits intogeosolutions-it:masterfrom
stefanocudini:11071-improve-interactions-layerdownload-plugin
Jun 5, 2025
Merged

11071 improve interactions layerdownload plugin and comp DownloadDialog#11156
MV88 merged 8 commits intogeosolutions-it:masterfrom
stefanocudini:11071-improve-interactions-layerdownload-plugin

Conversation

@stefanocudini
Copy link
Copy Markdown
Member

@stefanocudini stefanocudini commented May 29, 2025

Description

Refactor and fixes for layer download functionality

  • Moved layerDownload to advanced section selectors
  • Refactored DownloadDialog to functional component
  • Moved checkWPSAvailabilityEpic into DownloadDialog
  • Fixed visibility of advanced section in synchronous mode
  • Fixed style alignment and helper positioning for selects
  • Fixed defaults format labels

#General

  • Fixed tooltip rendering inside modal
  • change position of ExportData results button moved to BrandNavbar for Map and Dashboards

Dashboard

  • Added layerDownload menu to TableWidget
  • Fixed layer download in dashboard, including widget filtering
  • Moved ExportDownload button to BrandNavbar (map and dashboard)

Internationalization

  • Added i18n for services and various labels for layerDownload all langs

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Dashboard Table Layer download

Issue

What is the current behavior?

#11071

What is the new behavior?
Show a menu "Download Data" in table also in Dashboard

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

filtering raster options in advanced section
added i18n for some labels
replace tooltip with InfoPopover
fix layerDownload pre-select export format
fix styles aligns in layerDownload options
fix formats labels
fix popup tooltip inside modal
refact SRS selection
fix preselection raster, layouts
fix preselection of download filter
fix show advanced section in Synchrnous mode
fix helper align to select
added layerDownload menu in dashboard tableWidget
refact DownloadDialog in functional, move on it checkWPSAvailabilityEpic
fix DownloadDialog layer obj
moved tests downloaddialog
changes DonwloadDialog
Fixed layer download for dashbaord including filtering of widgets
moved ExportDownload button in BrandNavbar, in map and dashboard
@stefanocudini stefanocudini added this to the 2025.01.01 milestone May 29, 2025
@stefanocudini stefanocudini requested a review from MV88 May 29, 2025 16:59
@stefanocudini stefanocudini self-assigned this May 29, 2025
@MV88 MV88 linked an issue Jun 4, 2025 that may be closed by this pull request
8 tasks
@MV88 MV88 marked this pull request as ready for review June 5, 2025 09:16
@MV88
Copy link
Copy Markdown
Contributor

MV88 commented Jun 5, 2025

@tdipisa this is ready for review

@tdipisa tdipisa added BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch enhancement Widgets labels Jun 5, 2025
@MV88 MV88 merged commit c8185f2 into geosolutions-it:master Jun 5, 2025
6 checks passed
@MV88
Copy link
Copy Markdown
Contributor

MV88 commented Jun 5, 2025

@ElenaGallo please test it in DEV in table widgets and map viewer toc items layer download button with layers of different types with filters on and off, and make sure result is expected

@ElenaGallo
Copy link
Copy Markdown
Contributor

Test passed, @stefanocudini please backport to 2025.01.xx. Thanks

@tdipisa
Copy link
Copy Markdown
Member

tdipisa commented Jun 17, 2025

@stefanocudini you can raise the backport PR but it cannot be merged yet when approved. I will let you know when the stable branch is ready for new backports.

stefanocudini added a commit to stefanocudini/MapStore2 that referenced this pull request Jun 19, 2025
…nd comp DownloadDialog (geosolutions-it#11156)

* layerDownload move in advaced section selectors, added i18n for services
filtering raster options in advanced section
added i18n for some labels
replace tooltip with InfoPopover
fix layerDownload pre-select export format
fix styles aligns in layerDownload options
fix formats labels
fix popup tooltip inside modal
refact SRS selection
fix preselection raster, layouts
fix preselection of download filter
fix show advanced section in Synchrnous mode
fix helper align to select
added layerDownload menu in dashboard tableWidget
refact DownloadDialog in functional, move on it checkWPSAvailabilityEpic
fix DownloadDialog layer obj
moved tests downloaddialog
changes DonwloadDialog
Fixed layer download for dashbaord including filtering of widgets
moved ExportDownload button in BrandNavbar, in map and dashboard

* include unit test data xml response

* fix test and remvoed info bubble

* added unmount clear download

* Updates to advanced settings logic

* fix pom

* remove vscode

---------

Co-authored-by: MV88 <matteo.velludini@gmail.com>
Co-authored-by: Matteo V. <matteo.velludini@geosolutionsgroup.com>
tdipisa pushed a commit that referenced this pull request Jun 19, 2025
…dDialog (#11156) (#11225)

* layerDownload move in advaced section selectors, added i18n for services
filtering raster options in advanced section
added i18n for some labels
replace tooltip with InfoPopover
fix layerDownload pre-select export format
fix styles aligns in layerDownload options
fix formats labels
fix popup tooltip inside modal
refact SRS selection
fix preselection raster, layouts
fix preselection of download filter
fix show advanced section in Synchrnous mode
fix helper align to select
added layerDownload menu in dashboard tableWidget
refact DownloadDialog in functional, move on it checkWPSAvailabilityEpic
fix DownloadDialog layer obj
moved tests downloaddialog
changes DonwloadDialog
Fixed layer download for dashbaord including filtering of widgets
moved ExportDownload button in BrandNavbar, in map and dashboard

* include unit test data xml response

* fix test and remvoed info bubble

* added unmount clear download

* Updates to advanced settings logic

* fix pom

* remove vscode

---------

Co-authored-by: MV88 <matteo.velludini@gmail.com>
Co-authored-by: Matteo V. <matteo.velludini@geosolutionsgroup.com>
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve user interactions in LayerDownload Widget

4 participants