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

[TEMPORARY] GeoChart in store #2

Closed
Closed
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
9162243
feat(geolocator): implement geolocator filters #closes1679
kaminderpal Jan 17, 2024
28edf46
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 17, 2024
056c7fb
feat(geolocator): refactor and fix performance issues of footer panel…
kaminderpal Jan 23, 2024
90074dd
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 23, 2024
616875e
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 23, 2024
b56d02d
Logger using green for MARKR now
Alex-NRCan Jan 23, 2024
87096b0
feat(geolocator): refactor and fix performance issues of footer panel…
kaminderpal Jan 23, 2024
a45398f
Merge pull request #1715 from Alex-NRCan/feat-logger-color
jolevesq Jan 23, 2024
dd62f34
Update logging.md
jolevesq Jan 23, 2024
493e1f3
feat(footerpanel): refactor and fix performance issues of footer pane…
kaminderpal Jan 24, 2024
979888f
Logs
Alex-NRCan Jan 24, 2024
07839fa
Merge pull request #1717 from Alex-NRCan/feat-getFeatureInfoLogs
jolevesq Jan 24, 2024
493d477
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 24, 2024
a813b01
feat(footerpanel): refactor and fix performance issues of footer pane…
kaminderpal Jan 24, 2024
d878ec6
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 24, 2024
3d75a1f
Merge pull request #1711 from kaminderpal/1702-footer-panel
jolevesq Jan 24, 2024
2e92bf1
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 24, 2024
61925ee
More logs
Alex-NRCan Jan 24, 2024
4358552
Merge pull request #1719 from Alex-NRCan/feat-morelogs
jolevesq Jan 24, 2024
2b1abed
feat(geolocator): fix geolocator fiilters #closes1679
kaminderpal Jan 24, 2024
5fbf478
feat(geolocator): fix geolocator fiilters #closes1679
kaminderpal Jan 24, 2024
a55a437
feat(geolocator): fix max width of filters #closes1679
kaminderpal Jan 24, 2024
16bb833
feat(geolocator): fix disabled state of filters #closes1679
kaminderpal Jan 24, 2024
95b1077
feat(geolocator): fix zoomtoextent for corrds #closes1679
kaminderpal Jan 24, 2024
4320023
feat(geolocator): fix filters #closes1679
kaminderpal Jan 24, 2024
0ea44a0
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 25, 2024
95422f8
feat(geolocator): add comment for geolcator url #closes1679
kaminderpal Jan 25, 2024
7fca7ea
feat(geolocator): add comment for geolcator url #closes1679
kaminderpal Jan 25, 2024
687cdad
Merge pull request #1698 from kaminderpal/1679-geolocator-filters
jolevesq Jan 25, 2024
fc06c5f
Fix for the feature-info-propagation to store
Alex-NRCan Jan 25, 2024
6f11192
feat(geolocator): fixes #closes1679
kaminderpal Jan 25, 2024
43fe31d
Merge pull request #1729 from Alex-NRCan/fix-feature-info-propagation
jolevesq Jan 25, 2024
eb41d97
Merge branch 'develop' of https://github.com/Canadian-Geospatial-Plat…
kaminderpal Jan 25, 2024
40e39c8
Merge pull request #1730 from kaminderpal/1679-geolocator-filters-fix
jolevesq Jan 25, 2024
5c0593e
GeoChart in the Store
Alex-NRCan Jan 25, 2024
7b09ba3
New callback when a selected tab has changed
Alex-NRCan Jan 25, 2024
cb1641a
Integrated comments
Alex-NRCan Jan 26, 2024
64293fa
Making setActiveTab fit with the store too in footer-tabs (removed fr…
Alex-NRCan Jan 26, 2024
c7bb268
Not using useTranslation
Alex-NRCan Jan 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
…form/geoview into 1702-footer-panel
  • Loading branch information
kaminderpal committed Jan 23, 2024
commit 90074dd0cc81fdf846aea04d08213a7acbd66ed0
Original file line number Diff line number Diff line change
@@ -299,6 +299,10 @@ export function FooterTabs(): JSX.Element | null {
* Create default tabs from configuration parameters
*/
useEffect(() => {
// Log
logger.logTraceUseEffect('FOOTER-TABS - mount');
logger.logDebug('FOOTER-TABS - mount'); // remove this one when things stabilize

if (footerTabsConfig && footerTabsConfig.tabs.core.includes('data-table')) {
// create new tab and add the Data Table component to the footer tab
// TODO: This will be refactor after new store for data table is implemented.
Original file line number Diff line number Diff line change
@@ -11,20 +11,6 @@ export function LeftPanel({ setIsLayersListPanelVisible }: LeftPanelProps): JSX.
// get from the store
const legendLayers = useLayersList();
const displayState = useLayersDisplayState();
useEffect(() => {
let timeout: ReturnType<typeof setTimeout>;
if (!selectedLayer) {
// TODO: Make this useEffect Async, when this useEffect is hit, the legenLayer is empty.
timeout = setTimeout(() => {
const validFirstLayer = legendLayers.find((layer) => !(layer.layerStatus === 'error' || layer.layerStatus === 'loading'));
if (validFirstLayer) {
setSelectedLayerPath(validFirstLayer.layerPath);
}
}, 0);
}
return () => clearTimeout(timeout);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

if (displayState === 'add') {
return <AddNewLayer />;
You are viewing a condensed version of this merge commit. You can view the full changes here.