Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Dec 15, 2023

Conversation

mahmoudadel54
Copy link
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
Copy link
Contributor

@MV88 MV88 left a comment

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

web/client/configs/localConfig.json Outdated Show resolved Hide resolved
…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
@MV88 MV88 merged commit e3becdc into geosolutions-it:master Dec 15, 2023
6 checks passed
@MV88
Copy link
Contributor

MV88 commented Dec 15, 2023

@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
Contributor

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

@mahmoudadel54
Copy link
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