Skip to content

#9806: Do not visualize map sync popup by default for attribute table#9813

Merged
MV88 merged 4 commits into
geosolutions-it:masterfrom
mahmoudadel54:issue_9806
Dec 15, 2023
Merged

#9806: Do not visualize map sync popup by default for attribute table#9813
MV88 merged 4 commits into
geosolutions-it:masterfrom
mahmoudadel54:issue_9806

Conversation

@mahmoudadel54

Copy link
Copy Markdown
Contributor

Description

In this PR, not visualizing map sync popup by default for the attribute table has been handled including the following:

  • Add cfg in localConfig file for FeatureEditor plugin called "showPopoverSync" and set its value by false
  • Handle logic to read the cfg showPopoverSync into toolbar component to hide/show popup map sync initially
  • Clean the unused code related the previous approach that was handling popup map sync
  • Document the new added cfg into localConfig file

Please check if the PR fulfills these requirements

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
  • Other... Please describe:

Issue

#9806

What is the current behavior?
#9806

What is the new behavior?
The map sync popup is not open by default if user open the attribute table by adding showPopoverSync by false value in localConfig file.

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

…attribute table

Description:
- Add cfg in localConfig file for FeatureEditor plugin called showPopoverSync and set its value by false
- Handle logic to read the cfg showPopoverSync into toolbar component to hide/show popup map sync initially
- Clean the unused code related the previous approach that was handling popup map sync
-  Add the required unit tests
- Document the new implemented cfg in /plugins/featuregrid/FeatureEditor.jsx, /plugins/FeatureEditor.jsx files
…Attribute Table

Description:
- resolve FE test failure

@MV88 MV88 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

functionality and code wise all good.

only a little change on the localConfig.json file

Comment thread web/client/configs/localConfig.json Outdated
…quick filter

Description:
- resolve review comments by reset localConfig
- put default value for showPopoverSync within pluginCfg of FeatureEditor
…quick filter

Description:
- resolve FE test failure
@mahmoudadel54 mahmoudadel54 requested a review from MV88 December 15, 2023 15:40
@MV88 MV88 merged commit e3becdc into geosolutions-it:master Dec 15, 2023
@MV88

MV88 commented Dec 15, 2023

Copy link
Copy Markdown
Contributor

@ElenaGallo please test it in DEV

@MV88 MV88 added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Dec 15, 2023
@ElenaGallo

Copy link
Copy Markdown
Contributor

Test passed, @mahmoudadel54 please backport to 2023.02.xx. Thanks

@mahmoudadel54

Copy link
Copy Markdown
Contributor Author

Test passed, @mahmoudadel54 please backport to 2023.02.xx. Thanks

Backport is done ---> #9833

@ElenaGallo ElenaGallo removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Dec 19, 2023
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.

Do not visualize map sync popup by default for Attribute Table

3 participants