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

Delivery for Reporter Instant App - Sprint2 - AGOL-2024.R01 #500

Merged
merged 5 commits into from
Jan 26, 2024

Conversation

sumitzarkar
Copy link
Collaborator

Implemented following items

  • Feature List
  • Feature Details (when selected feature using feature list)

Tested on following platforms:

image

Note: We are observing issue related to the highlight on map when user is navigated to layerList, we are working on the highlihgt issue and will deliver the fix in next code drop

QA Checklist:

QAChecklist-CrowdsourceReporter_Instant_App-AGOL2024-_Sprint2.xlsx

Test cases & Execution report:

ESRILG_-TestScenarios___TestCases_-CrowdsourceReporter-AGOL2024-_Sprint2.xlsx

## Updated layer-list component
 - Make the feature count functionality configurable
 - Make the show next icon functionality configurable
 - Updated function name onLayerItemSelected

_Note: These changes are implemented so that same component can be used for choose category list when create feature is clicked on layer list_
## Show feature details on map click
@sumitzarkar sumitzarkar requested a review from jmhauck January 25, 2024 19:13
Copy link
Collaborator

@jmhauck jmhauck left a comment

Choose a reason for hiding this comment

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

@sumitzarkar just a couple of minor comments

* On Feature details change update the Layer title and the current selected layer id
* @param evt Event hold the details of current feature graphic in the info-card
*/
protected featureDetailsChanged(evt: any): void {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Avoid any lets use the event type here


/**
* On map click do hitTest and get the clicked graphics of valid layers and show feature details
* @param event
Copy link
Collaborator

Choose a reason for hiding this comment

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

please update doc

@jmhauck jmhauck merged commit b0b3318 into develop Jan 26, 2024
3 checks passed
sumitzarkar added a commit that referenced this pull request Jan 29, 2024
## implemented
 - Fixed review comments from previous pull request -#500
 - Optimized the code to create list of valid layers only once on layer-list loaded instead of doing it on each map click
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