Quick wins regarding optimization on various aspects including performance with the field types/domains reading#3347
Conversation
10da72b to
e898c9a
Compare
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan partially reviewed 32 files.
Reviewable status: 31 of 32 files reviewed, all discussions resolved (waiting on Alex-NRCan).
jolevesq
left a comment
There was a problem hiding this comment.
@jolevesq reviewed 32 files and all commit messages, and made 2 comments.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
packages/geoview-core/src/api/event-processors/event-processor-children/data-table-event-processor.ts line 171 at r2 (raw file):
* @private */ static #deleteFromArray<T extends TypeResultSetEntry>(
Nice cleanup to remove duplication!
packages/geoview-core/src/geo/layer/gv-layers/raster/gv-esri-dynamic.ts line 296 at r2 (raw file):
* @protected */ protected override onGetFieldType(fieldName: string): TypeOutfieldsType {
Another great cleanup, we may want to reintroduce domain support in the future but we will do it another way
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan reviewed 3 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
…ng the date string
…ta-table-event-processor into a helper function
Fixed the demo-important-layers.html template page (was broken and wouldn't add layers when clicking the 'add' button) Removed legacy layerFilter properties on source objects for EsriDynamic and EsriFeature types
- Not doing the zIndex thing anymore - Not changing to '100%' opacity the layer we want to highlight anymore, leaving it untouched - Better management of the opacity through groups)
e5cde6a to
690af5a
Compare
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan reviewed 4 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
jolevesq
left a comment
There was a problem hiding this comment.
@jolevesq made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on Alex-NRCan).
packages/geoview-core/src/api/event-processors/event-processor-children/data-table-event-processor.ts line 158 at r4 (raw file):
UIEventProcessor.hideTabButton(mapId, 'data-table'); }
TEST
jolevesq
left a comment
There was a problem hiding this comment.
@jolevesq made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on Alex-NRCan).
packages/geoview-core/src/api/event-processors/event-processor-children/feature-info-event-processor.ts line 207 at r2 (raw file):
// Redirect to helper function this.helperDeleteFromArray(featureInfoState.layerDataArray, layerPath, (layerArrayResult) => {
INFORM
690af5a to
8c3cf7d
Compare
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan reviewed 13 files and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
…r EsriImage that were recently added
8c3cf7d to
aec981d
Compare
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan reviewed 1 file and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
DamonU2
left a comment
There was a problem hiding this comment.
@DamonU2 reviewed 41 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on Alex-NRCan).
packages/geoview-core/src/api/event-processors/abstract-event-processor.ts line 208 at r6 (raw file):
* @param {T[]} layerArray - The layer array to work with * @param {string} layerPath - The layer path to delete * @param {(layerArray: T[]) => void} onDeleteCallback - The callback executed when the array is updated
No types in the JSDocs anymore
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on DamonU2).
packages/geoview-core/src/api/event-processors/abstract-event-processor.ts line 208 at r6 (raw file):
Previously, DamonU2 (Damon Ulmi) wrote…
No types in the JSDocs anymore
Done.
Can delete a layer that's not existing (only existing through the config)
b59d9ac to
003dca0
Compare
Alex-NRCan
left a comment
There was a problem hiding this comment.
@Alex-NRCan reviewed 1 file and all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on DamonU2).
DamonU2
left a comment
There was a problem hiding this comment.
@DamonU2 reviewed 2 files and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
jolevesq
left a comment
There was a problem hiding this comment.
@jolevesq reviewed 16 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on Alex-NRCan).
a2f17d4
into
Canadian-Geospatial-Platform:develop
Description
Type of change
How Has This Been Tested?
Host March 13 @ 12h : https://alex-nrcan.github.io/geoview/Host March 13 @ 13h : https://alex-nrcan.github.io/geoview/Host March 13 @ 15h15 : https://alex-nrcan.github.io/geoview/Host March 13 @ 17h15 : https://alex-nrcan.github.io/geoview/
Checklist:
I have made corresponding changes to the documentationI have added tests that prove my fix is effective or that my feature worksNew and existing unit tests pass locally with my changesThis change is