-
Notifications
You must be signed in to change notification settings - Fork 396
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few points to discuss:
- Is it possible to individually delete some of the phases? Maybe it can be similar to Configure subnetwork trace.
- What do you think about adding a default phase to act as an example of what the user should expect. If swipe to delete can be enabled, the user could easily delete the default phase.
- I know we discussed the title issue during the review but it seems a bit odd to have no title at all. What are your thoughts about adding the title "Phases, total customers, total load" or "Phase, customers per phase, load per phase"? That way, it provides a bit more context for the user and can help with the issue of displaying the units.
arcgis-ios-sdk-samples/Utility network/Create load report/README.md
Outdated
Show resolved
Hide resolved
Thanks for the suggestions. I agree with and applied all of them and updated the screenshot. Please take another look! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a few more suggestions. Feel free to add Phil!
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/README.md
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReport.storyboard
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a phase is removed, should it's summary be removed as well? Just a thought. I noticed that when I removed a phase with a summary and then re-added it, the summary was still there.
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
traceParameters.traceConfiguration?.traversability?.barriers = AGSUtilityTraceOrCondition(leftExpression: expression, rightExpression: phasesAttributeComparison) | ||
|
||
traceGroup.enter() | ||
utilityNetwork.trace(with: traceParameters) { [weak self] results, _ in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest, I don't know that one approach would be better than the others, so just stick with what you have.
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
From Friday's review
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed a few suggestions and looking for more!
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Show resolved
Hide resolved
From Jennifer: need to set |
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Show resolved
Hide resolved
arcgis-ios-sdk-samples/Utility network/Create load report/CreateLoadReportViewController.swift
Outdated
Show resolved
Hide resolved
This reverts commit f135951.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Reset button is just resetting the values in report but not changing the list of selected phases. Is this expected?
- If the above mentioned behavior is expected, what is the purpose of even resetting those values, are they tend to change on different runs?
Yep it is expected. Reset button only resets the load report summaries but not the phase table.
In a real world use case, the value will change on each run, since the electric utility network updates in real-time. But our demo doesn't change because the demo network is static. I didn't find a doc that describes such use case in specific, but here is a similar one with the water network. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sample works as expected
This PR adds the new
Create load report
sample in Utility network category. The issue on DT:common-samples/issues/2594
Link to the branch: here. Apologies for the wrong branch name - it was too late when I realized that I wasn't on the right branch 😅