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

Old manager app with hide map option enabled do not show the split view layout when changed in the configuration #848

Open
azizaparveen opened this issue Sep 9, 2024 · 5 comments
Assignees
Labels
Milestone

Comments

@azizaparveen
Copy link
Collaborator

Describe the bug

I am seeing this is issue only with this old app, where hide map was enabled, after the new code merge, I was able to change the layout option from the config but the default view is showing table view
image

Expected Behavior

It shows Split view as default view since I changed the config option to Split view.

Reproduction Steps & Sample

Test app: https://sg-em-devext.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=d30ffa4fcdde411f8ced045a26d72030

  1. Launch the the app
  2. Notice that default view is Table whereas the config option for the layout has changed to split

I am also seeing issue in the configuration, if I changed the view to map view, it does not get updated in the preview, it does not load the map
image

Other Relevant Info

No response

@azizaparveen
Copy link
Collaborator Author

image

@azizaparveen azizaparveen added this to the 2024.R03 milestone Sep 9, 2024
@sumitzarkar
Copy link
Collaborator

@jmhauck
For backward compatibility we are overriding appLayout to tableView when hideMapOnLoad is enabled

image

is this issue has impact on how this is handled in Instant app?

Please let us know your findings

@jmhauck
Copy link
Collaborator

jmhauck commented Sep 17, 2024

@sumitzarkar At some point I feel like we should deprecate the prop from the component because it's now confusing what one would expect if they set both the hideMapOnLoad and appLayout.

For now at least I think we should just honor hideMapOnLoad if it's true and no appLayout is set. If appLayout is set then we should honor that and ignore hideMapOnLoad.

#867

@chris-fox do you have thoughts on the possible deprecation?

@chris-fox
Copy link
Collaborator

I am good with deprecating it. At this point I believe we are the only one using the component.

@sumitzarkar
Copy link
Collaborator

@jmhauck

#867 changes looks good, after these changes please let us know if any other code changes are required from our side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants