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

Fix loading AA layers #1392

Merged
merged 26 commits into from
Dec 13, 2024
Merged

Conversation

Doniaab
Copy link
Collaborator

@Doniaab Doniaab commented Dec 12, 2024

Description

This fixes #issueNumber.

How to test the feature:

  • [ ]
  • [ ]

Checklist - did you ...

Test your changes with

  • REACT_APP_COUNTRY=rbd yarn start
  • REACT_APP_COUNTRY=cambodia yarn start
  • REACT_APP_COUNTRY=mozambique yarn start
  • Add / update necessary tests?
  • Add / update outdated documentation?

Screenshot/video of feature:

@Doniaab Doniaab changed the base branch from master to feat/display-panel-AA-storm December 12, 2024 17:59
@Doniaab Doniaab changed the base branch from feat/display-panel-AA-storm to fetch-data-in-state December 12, 2024 18:00
Copy link

github-actions bot commented Dec 12, 2024

Build succeeded and deployed at https://prism-1392.surge.sh
(hash 8f90cfb deployed at 2024-12-13T14:32:12)

@@ -72,12 +72,29 @@ const TabPanel = memo(({ children, value, index, ...other }: TabPanelProps) => (
const LeftPanel = memo(() => {
const dispatch = useDispatch();
const tabValue = useSelector(leftPanelTabValueSelector);

const selectedLayers = useSelector(layersSelector);
Copy link
Collaborator

Choose a reason for hiding this comment

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

A lot of the changes look like positioning. Can we just make the necessary changes for the fix to make it easier to review? :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the thing is that AAConfig needed AALayerInUrl instead of tabValue ( that was the main change for the fix). So i had to define AALayerInUrl before AAConfig and SelectedLayers before AALayerInUrl.

Base automatically changed from fetch-data-in-state to feat/display-panel-AA-storm December 13, 2024 12:26
@ericboucher ericboucher marked this pull request as ready for review December 13, 2024 14:25
@ericboucher
Copy link
Collaborator

I opened #1393 as a follow up

@ericboucher ericboucher merged commit 5f1f524 into feat/display-panel-AA-storm Dec 13, 2024
4 checks passed
@ericboucher ericboucher deleted the fix/load-AA-layer branch December 13, 2024 14:27
ericboucher added a commit that referenced this pull request Jan 8, 2025
Co-authored-by: Maxime Chaillet <[email protected]>
Co-authored-by: ericboucher <[email protected]>
Co-authored-by: Amit W <[email protected]>
Co-authored-by: donia benharara <[email protected]>
Co-authored-by: Doniaab <[email protected]>
Fix loading AA layers (#1392)
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