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(layer-selection) Pre select the previously selected layer in left panel #1432

Merged

Conversation

amir-azma
Copy link
Contributor

@amir-azma amir-azma commented Oct 23, 2023

Description

We need to use store management in our Details tab. Also, the left panel selected layer should be the same as our previous layer selected.

Fixes #1376

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

https://amir-azma.github.io/geoview/raw-feature-info-1.html

Checklist:

  • I have build (rush build) and deploy (rush host) my PR
  • I have connected the issues(s) to this PR
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have created new issue(s) related to the outcome of this PR is needed
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

This change is Reviewable

@jolevesq jolevesq requested a review from cphelefu October 24, 2023 11:45
Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 4 files at r1, all commit messages.
Reviewable status: 3 of 4 files reviewed, 3 unresolved discussions (waiting on @amir-azma and @cphelefu)


packages/geoview-core/src/core/components/details/details.tsx line 26 at r1 (raw file):

export function DetailsFooter({ arrayOfLayerData, mapId }: TypeDetailsProps): JSX.Element | null {
  const store = getGeoViewStore(mapId);
  const { storeArrayOfLayerData } = useStore(store, (state) => state.detailsState);

It is better to not use deconstruction like this: const expanded = useStore(store, (state) => state.footerBarState.expanded);


packages/geoview-core/src/core/components/details/layers-list-footer.tsx line 59 at r1 (raw file):

  const store = getGeoViewStore(mapId);
  const { storeCurrentFeatureIndex, storeSelectedLayerPath, setStoreCurrentFeatureIndex } = useStore(store, (state) => state.detailsState);

No object deconstruction: https://stackoverflow.com/questions/68609189/fetching-multiple-states-with-zustand-react-shorthand-syntax


packages/geoview-core/src/core/stores/geoview-store.ts line 96 at r1 (raw file):

  storeArrayOfLayerData: TypeArrayOfLayerData;
  storeSelectedLayerPath: string;
  setStoreCurrentFeatureIndex: (newFeatureIndex: number) => void;

I do not think you need this function, you can set the value storeCurrentFEatureIndex directly

@cphelefu
Copy link
Contributor

packages/geoview-core/src/core/components/details/details.tsx line 26 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

It is better to not use deconstruction like this: const expanded = useStore(store, (state) => state.footerBarState.expanded);

@jolevesq I think this is possible; it can be done in zunstand according to the documentation.

@cphelefu
Copy link
Contributor

packages/geoview-core/src/core/components/details/layers-list-footer.tsx line 59 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

No object deconstruction: https://stackoverflow.com/questions/68609189/fetching-multiple-states-with-zustand-react-shorthand-syntax

Can we also remove setStoreFeatureIndex from the store? Whydo we need it in the store?

@cphelefu
Copy link
Contributor

packages/geoview-core/src/core/stores/geoview-store.ts line 96 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

I do not think you need this function, you can set the value storeCurrentFEatureIndex directly

No need to start every variables with store. Rename to currentFeatureIndex, arrayOfLayerData, selectedLayerPath.

@cphelefu
Copy link
Contributor

packages/geoview-core/src/core/stores/geoview-store.ts line 17 at r1 (raw file):

import { TypeMapFeaturesConfig, TypeValidMapProjectionCodes } from '@/core/types/global-types';
import { TypeLegendItemProps } from '../components/legend-2/types';
import { TypeArrayOfLayerData } from '../components/details/details';

The store does not need to depend on component for anything. This type should be in the store file or in another location, but not in a component file. We may need to discuss this one (maybe we need a central types folder).

@cphelefu
Copy link
Contributor

packages/geoview-core/src/core/stores/geoview-store.ts line 209 at r1 (raw file):

          detailsState: {
            ...get().detailsState,
            storeCurrentFeatureIndex: newFeatureIndex,

This method can be removed from the store.

Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 4 files reviewed, 5 unresolved discussions (waiting on @amir-azma and @cphelefu)


packages/geoview-core/src/core/components/details/details.tsx line 26 at r1 (raw file):

Previously, cphelefu (Christopher Phelefu) wrote…

@jolevesq I think this is possible; it can be done in zunstand according to the documentation.

But the store will listen to changes in the whole interface detailsState, it is best practice to specify the attribute.
https://github.com/pmndrs/zustand#fetching-everything
https://stackoverflow.com/questions/68609189/fetching-multiple-states-with-zustand-react-shorthand-syntax

@amir-azma amir-azma requested a review from jolevesq October 24, 2023 14:34
Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 4 files reviewed, 5 unresolved discussions (waiting on @cphelefu and @jolevesq)


packages/geoview-core/src/core/components/details/details.tsx line 26 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

But the store will listen to changes in the whole interface detailsState, it is best practice to specify the attribute.
https://github.com/pmndrs/zustand#fetching-everything
https://stackoverflow.com/questions/68609189/fetching-multiple-states-with-zustand-react-shorthand-syntax

I was going to pass 'shallow' as third param to useState, but vs code gives me warning that using 'shallow' is deprecated', like this
but the main reason to use object deconstruction is the main detailsState is holding an object of states, if it was primitives like string or boolean, then yes we didn't need deconstruction, then we could use like this : const nuts = useBearStore((state) => state.nuts)
image.png
'

Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 4 files reviewed, 5 unresolved discussions (waiting on @cphelefu and @jolevesq)


packages/geoview-core/src/core/stores/geoview-store.ts line 96 at r1 (raw file):

Previously, cphelefu (Christopher Phelefu) wrote…

No need to start every variables with store. Rename to currentFeatureIndex, arrayOfLayerData, selectedLayerPath.

I though we needed to know where this variable is coming from, if it's from useState() or it's coming from store, yeah I can remove the store prefix

Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 4 files reviewed, 5 unresolved discussions (waiting on @cphelefu and @jolevesq)


packages/geoview-core/src/core/stores/geoview-store.ts line 209 at r1 (raw file):

Previously, cphelefu (Christopher Phelefu) wrote…

This method can be removed from the store.

I think we can discuss about what needs to be in store, because in dataTable store, we have so many functions and states, but the main concept of store is to use the state in store in other components, I mean if the state X can be used in other components, then we add X to store

Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 4 files reviewed, 5 unresolved discussions (waiting on @cphelefu and @jolevesq)


packages/geoview-core/src/core/stores/geoview-store.ts line 17 at r1 (raw file):

Previously, cphelefu (Christopher Phelefu) wrote…

The store does not need to depend on component for anything. This type should be in the store file or in another location, but not in a component file. We may need to discuss this one (maybe we need a central types folder).

Yes, I agree, there are some types that are defined inside the component, we may need to move it outside

Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 4 files reviewed, 5 unresolved discussions (waiting on @cphelefu and @jolevesq)


packages/geoview-core/src/core/components/details/layers-list-footer.tsx line 59 at r1 (raw file):

Previously, cphelefu (Christopher Phelefu) wrote…

Can we also remove setStoreFeatureIndex from the store? Whydo we need it in the store?

Removed setStoreFeatureIndex and related states.


packages/geoview-core/src/core/stores/geoview-store.ts line 17 at r1 (raw file):

Previously, amir-azma wrote…

Yes, I agree, there are some types that are defined inside the component, we may need to move it outside

For now we keep the type in component, we discussed in standup today that we're going to clean the types from components in future.

Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 4 files reviewed, 5 unresolved discussions (waiting on @cphelefu and @jolevesq)


packages/geoview-core/src/core/stores/geoview-store.ts line 96 at r1 (raw file):

Previously, amir-azma wrote…

I though we needed to know where this variable is coming from, if it's from useState() or it's coming from store, yeah I can remove the store prefix

Done


packages/geoview-core/src/core/stores/geoview-store.ts line 209 at r1 (raw file):

Previously, amir-azma wrote…

I think we can discuss about what needs to be in store, because in dataTable store, we have so many functions and states, but the main concept of store is to use the state in store in other components, I mean if the state X can be used in other components, then we add X to store

Done

Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 4 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @amir-azma and @cphelefu)


packages/geoview-core/src/core/components/details/layers-list-footer.tsx line 147 at r3 (raw file):

  useEffect(() => {
    if (arrayOfLayerData.length > 0) {
      // Check if have the previouse selected layer path in incoming arrayOfLayerData

Typo previous

Copy link
Contributor

@cphelefu cphelefu left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @amir-azma)

Copy link
Contributor Author

@amir-azma amir-azma left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 4 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @jolevesq)


packages/geoview-core/src/core/components/details/layers-list-footer.tsx line 147 at r3 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

Typo previous

Done.

Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amir-azma)

@jolevesq jolevesq merged commit 3c23569 into Canadian-Geospatial-Platform:develop Oct 24, 2023
5 checks passed
Alex-NRCan added a commit to Alex-NRCan/geoview that referenced this pull request Oct 31, 2023
commit 52c305f
Author: Christopher Phelefu <[email protected]>
Date:   Fri Oct 27 10:28:13 2023 -0400

    separate legend and layers (Canadian-Geospatial-Platform#1439)

    * separate legend and layers

    * fixing build errors

    * adding icons to the footer tabs

    * fixing errors

commit e944d8c
Author: Christopher Phelefu <[email protected]>
Date:   Thu Oct 26 13:43:00 2023 -0400

    move controlling views to a store flag (Canadian-Geospatial-Platform#1433)

    * move controlling views to a store flag

    * handling currentRightPanel in the code

    * adding legend-overview that uses store

    * connecting store to data

    * fixing legend overview

    * fixing legend overview

    * adding items to generated data

    * styling legend

    * pushes fixes to build

    * pushes fixes to build

    * fixing the legend errors

    * remove unused Grid reference

commit bd5d95c
Author: Kamy <[email protected]>
Date:   Thu Oct 26 11:13:07 2023 -0400

    646 UI components mui (Canadian-Geospatial-Platform#1431)

    * fix(appbar): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(footerTabs): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(map): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(mousePosition): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(northArrow): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(mousePosition): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(mousePosition): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Scale): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Divider): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Drawer): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(CheckboxList): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Modal): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Panel): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Select): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Slider): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Stepper): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Switch): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(TextField): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Button): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(theme): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(checkboxList): single style file  Closes Canadian-Geospatial-Platform#646

    * fix(MousePosition): update native button to MUI button  Closes Canadian-Geospatial-Platform#646

    * fix(Scale): update native button to MUI button  Closes Canadian-Geospatial-Platform#646

    * fix(basemappanel): nui style refactor  Closes Canadian-Geospatial-Platform#646

    * fix(layerList): nui style refactor  Closes Canadian-Geospatial-Platform#646

    * fix(layerList): nui style refactor  Closes Canadian-Geospatial-Platform#646

    * fix(divider): nui style refactor  Closes Canadian-Geospatial-Platform#646

commit 3c23569
Merge: 51010d6 e7647a8
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 15:07:19 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1432 from amir-azma/1376-details-store

    fix(layer-selection) Pre select the previously selected layer in left panel (Canadian-Geospatial-Platform#1432)

commit e7647a8
Author: amir.azma <[email protected]>
Date:   Tue Oct 24 14:59:49 2023 -0400

    fix(layer-selection) Fix typo

commit 2be27be
Author: amir.azma <[email protected]>
Date:   Tue Oct 24 14:41:50 2023 -0400

    fix(layer-selection) Remove prefix store from states

commit 91958e6
Author: amir.azma <[email protected]>
Date:   Tue Oct 24 14:29:17 2023 -0400

    fix(layer-selection) Refactor based on team feedback, fixed bug related to layer pre selection

commit 887a374
Author: amir.azma <[email protected]>
Date:   Mon Oct 23 16:49:23 2023 -0400

    fix(layer-selection) Pre select the previously selected layer in left panel

commit 51010d6
Merge: e427f97 46dc5da
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 14:24:31 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1434 from jolevesq/1009-ext-inter

    feat(interaction): Add Extent interaction (Canadian-Geospatial-Platform#1434)

    Co-Authored-By: Johann Levesque <[email protected]>

commit 46dc5da
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 09:21:57 2023 -0400

    feat(interaction): Add Extent interaction
    Closes Canadian-Geospatial-Platform#1009

commit e427f97
Merge: 2abfc6a 4a0ca7c
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 13:43:52 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1435 from Alex-NRCan/feat-async-await-rule

    Added a rule about having an await if a function has the 'async' keyword (Canadian-Geospatial-Platform#1435)

commit 4a0ca7c
Author: Alex <[email protected]>
Date:   Tue Oct 24 10:55:00 2023 -0400

    Added a rule about having an await if a function has the 'async' keyword and enforcing the return to be a Promise.
    Changed from an error to a warning
    Fixed a the params comments on getGeoviewLayerByIdAsync

commit 2abfc6a
Merge: 8d6b933 bdf53a5
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 10:04:48 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1417 from ychoquet/Encapsulate-promises-in-async-functions

    Encapsulate promises in async functions (Canadian-Geospatial-Platform#1417)

commit bdf53a5
Author: Yves Choquette <[email protected]>
Date:   Fri Oct 20 10:18:41 2023 -0400

    Encapssulate promises in async functions

commit 8d6b933
Merge: 342bccd 59a3321
Author: Johann Levesque <[email protected]>
Date:   Mon Oct 23 14:04:41 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1430 from ychoquet/1423--BUG]-Map-loaded-is-not-fired

    1423-[BUG] Map loaded is not fired (Canadian-Geospatial-Platform#1430)

commit 59a3321
Author: Yves Choquette <[email protected]>
Date:   Mon Oct 23 13:22:18 2023 -0400

    1423-[BUG] Map loaded is not fired

commit 342bccd
Merge: d549796 fc2b787
Author: Johann Levesque <[email protected]>
Date:   Mon Oct 23 13:36:35 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1429 from cphelefu/legend-fixes-rebased

    Legend fixes rebased (Canadian-Geospatial-Platform#1429)

commit fc2b787
Author: Christopher Ram <[email protected]>
Date:   Mon Oct 23 13:18:11 2023 -0400

    fixing footer bar

commit 96d4fa2
Author: Christopher Ram <[email protected]>
Date:   Mon Oct 23 12:56:26 2023 -0400

    remove console log

commit 7d10350
Author: Christopher Ram <[email protected]>
Date:   Mon Oct 23 12:32:45 2023 -0400

    reducing commits for legend files
Alex-NRCan added a commit to Alex-NRCan/geoview that referenced this pull request Oct 31, 2023
commit 52c305f
Author: Christopher Phelefu <[email protected]>
Date:   Fri Oct 27 10:28:13 2023 -0400

    separate legend and layers (Canadian-Geospatial-Platform#1439)

    * separate legend and layers

    * fixing build errors

    * adding icons to the footer tabs

    * fixing errors

commit e944d8c
Author: Christopher Phelefu <[email protected]>
Date:   Thu Oct 26 13:43:00 2023 -0400

    move controlling views to a store flag (Canadian-Geospatial-Platform#1433)

    * move controlling views to a store flag

    * handling currentRightPanel in the code

    * adding legend-overview that uses store

    * connecting store to data

    * fixing legend overview

    * fixing legend overview

    * adding items to generated data

    * styling legend

    * pushes fixes to build

    * pushes fixes to build

    * fixing the legend errors

    * remove unused Grid reference

commit bd5d95c
Author: Kamy <[email protected]>
Date:   Thu Oct 26 11:13:07 2023 -0400

    646 UI components mui (Canadian-Geospatial-Platform#1431)

    * fix(appbar): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(footerTabs): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(map): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(mousePosition): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(northArrow): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(mousePosition): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(mousePosition): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Scale): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Divider): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Drawer): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(CheckboxList): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Modal): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Panel): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Select): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Slider): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Stepper): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Switch): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(TextField): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(Button): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(theme): mui styles refactor  Closes Canadian-Geospatial-Platform#646

    * fix(checkboxList): single style file  Closes Canadian-Geospatial-Platform#646

    * fix(MousePosition): update native button to MUI button  Closes Canadian-Geospatial-Platform#646

    * fix(Scale): update native button to MUI button  Closes Canadian-Geospatial-Platform#646

    * fix(basemappanel): nui style refactor  Closes Canadian-Geospatial-Platform#646

    * fix(layerList): nui style refactor  Closes Canadian-Geospatial-Platform#646

    * fix(layerList): nui style refactor  Closes Canadian-Geospatial-Platform#646

    * fix(divider): nui style refactor  Closes Canadian-Geospatial-Platform#646

commit 3c23569
Merge: 51010d6 e7647a8
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 15:07:19 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1432 from amir-azma/1376-details-store

    fix(layer-selection) Pre select the previously selected layer in left panel (Canadian-Geospatial-Platform#1432)

commit e7647a8
Author: amir.azma <[email protected]>
Date:   Tue Oct 24 14:59:49 2023 -0400

    fix(layer-selection) Fix typo

commit 2be27be
Author: amir.azma <[email protected]>
Date:   Tue Oct 24 14:41:50 2023 -0400

    fix(layer-selection) Remove prefix store from states

commit 91958e6
Author: amir.azma <[email protected]>
Date:   Tue Oct 24 14:29:17 2023 -0400

    fix(layer-selection) Refactor based on team feedback, fixed bug related to layer pre selection

commit 887a374
Author: amir.azma <[email protected]>
Date:   Mon Oct 23 16:49:23 2023 -0400

    fix(layer-selection) Pre select the previously selected layer in left panel

commit 51010d6
Merge: e427f97 46dc5da
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 14:24:31 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1434 from jolevesq/1009-ext-inter

    feat(interaction): Add Extent interaction (Canadian-Geospatial-Platform#1434)

    Co-Authored-By: Johann Levesque <[email protected]>

commit 46dc5da
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 09:21:57 2023 -0400

    feat(interaction): Add Extent interaction
    Closes Canadian-Geospatial-Platform#1009

commit e427f97
Merge: 2abfc6a 4a0ca7c
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 13:43:52 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1435 from Alex-NRCan/feat-async-await-rule

    Added a rule about having an await if a function has the 'async' keyword (Canadian-Geospatial-Platform#1435)

commit 4a0ca7c
Author: Alex <[email protected]>
Date:   Tue Oct 24 10:55:00 2023 -0400

    Added a rule about having an await if a function has the 'async' keyword and enforcing the return to be a Promise.
    Changed from an error to a warning
    Fixed a the params comments on getGeoviewLayerByIdAsync

commit 2abfc6a
Merge: 8d6b933 bdf53a5
Author: Johann Levesque <[email protected]>
Date:   Tue Oct 24 10:04:48 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1417 from ychoquet/Encapsulate-promises-in-async-functions

    Encapsulate promises in async functions (Canadian-Geospatial-Platform#1417)

commit bdf53a5
Author: Yves Choquette <[email protected]>
Date:   Fri Oct 20 10:18:41 2023 -0400

    Encapssulate promises in async functions

commit 8d6b933
Merge: 342bccd 59a3321
Author: Johann Levesque <[email protected]>
Date:   Mon Oct 23 14:04:41 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1430 from ychoquet/1423--BUG]-Map-loaded-is-not-fired

    1423-[BUG] Map loaded is not fired (Canadian-Geospatial-Platform#1430)

commit 59a3321
Author: Yves Choquette <[email protected]>
Date:   Mon Oct 23 13:22:18 2023 -0400

    1423-[BUG] Map loaded is not fired

commit 342bccd
Merge: d549796 fc2b787
Author: Johann Levesque <[email protected]>
Date:   Mon Oct 23 13:36:35 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1429 from cphelefu/legend-fixes-rebased

    Legend fixes rebased (Canadian-Geospatial-Platform#1429)

commit fc2b787
Author: Christopher Ram <[email protected]>
Date:   Mon Oct 23 13:18:11 2023 -0400

    fixing footer bar

commit 96d4fa2
Author: Christopher Ram <[email protected]>
Date:   Mon Oct 23 12:56:26 2023 -0400

    remove console log

commit 7d10350
Author: Christopher Ram <[email protected]>
Date:   Mon Oct 23 12:32:45 2023 -0400

    reducing commits for legend files

commit d549796
Merge: 3cf8aaa e696efa
Author: Johann Levesque <[email protected]>
Date:   Fri Oct 20 10:56:23 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1408 from kaminderpal/1407-datatable-styles

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407 (Canadian-Geospatial-Platform#1408)

commit e696efa
Merge: 4b910c6 3cf8aaa
Author: kaminderpal <[email protected]>
Date:   Fri Oct 20 10:32:05 2023 -0400

    Merge branch 'develop' of https://github.com/Canadian-Geospatial-Platform/geoview into 1407-datatable-styles

commit 3cf8aaa
Merge: 29d6084 14afb00
Author: Johann Levesque <[email protected]>
Date:   Fri Oct 20 10:21:50 2023 -0400

    Merge pull request Canadian-Geospatial-Platform#1415 from jolevesq/1405-mouse-bug

    fix(click): Offset when click on map made bythe flex style (Canadian-Geospatial-Platform#1415)

    Co-Authored-By: Johann Levesque <[email protected]>

commit 4b910c6
Author: kaminderpal <[email protected]>
Date:   Fri Oct 20 09:32:17 2023 -0400

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407

commit b2f101a
Author: kaminderpal <[email protected]>
Date:   Fri Oct 20 09:22:12 2023 -0400

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407

commit 14afb00
Author: Johann Levesque <[email protected]>
Date:   Thu Oct 19 16:03:24 2023 -0400

    fix(click): Offset when click on map made bythe flex style
    Closes Canadian-Geospatial-Platform#1405

commit 4250acd
Merge: 94311d8 29d6084
Author: kaminderpal <[email protected]>
Date:   Thu Oct 19 22:05:41 2023 -0400

    Merge branch 'develop' of https://github.com/Canadian-Geospatial-Platform/geoview into 1407-datatable-styles

commit 94311d8
Author: kaminderpal <[email protected]>
Date:   Thu Oct 19 22:05:16 2023 -0400

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407

commit 50cf45f
Merge: b797ee7 0e567aa
Author: kaminderpal <[email protected]>
Date:   Thu Oct 19 10:36:41 2023 -0400

    Merge branch 'develop' of https://github.com/Canadian-Geospatial-Platform/geoview into 1407-datatable-styles

commit b797ee7
Author: kaminderpal <[email protected]>
Date:   Thu Oct 19 10:36:37 2023 -0400

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407

commit b26347c
Author: kaminderpal <[email protected]>
Date:   Wed Oct 18 15:52:07 2023 -0400

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407

commit 7ab98cb
Author: kaminderpal <[email protected]>
Date:   Wed Oct 18 15:45:52 2023 -0400

    fix(DataTable): datatable styles  Closes Canadian-Geospatial-Platform#1407
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.

{REFACTOR} Details use store
3 participants