-
Notifications
You must be signed in to change notification settings - Fork 34
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(UI): refactor appbar component #closes2145 #2147
fix(UI): refactor appbar component #closes2145 #2147
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.
Reviewed all commit messages.
Reviewable status: 0 of 4 files reviewed, 2 unresolved discussions (waiting on @kaminderpal)
packages/geoview-core/src/core/components/app-bar/app-bar.tsx
line 50 at r1 (raw file):
const { api: appBarApi } = props; const appBarTabRefs = useRef(['legend', 'details', 'guide']);
I think we have a constant or a type for this info in config (TypeValidAppBarCoreProps). If we need a constant we should create it in config-constant.ts
packages/geoview-core/src/core/components/app-bar/app-bar.tsx
line 231 at r1 (raw file):
} // eslint-disable-next-line react-hooks/exhaustive-deps }, [activeAppBarPanelId]);
For naming convention, appBar schema use tabs and at some places it is appBarTabs.... should we have activeAppBarTabId?
…form/geoview into 2114-performance-ui-1
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.
Reviewable status: 0 of 18 files reviewed, 2 unresolved discussions (waiting on @jolevesq)
packages/geoview-core/src/core/components/app-bar/app-bar.tsx
line 50 at r1 (raw file):
Previously, jolevesq (Johann Levesque) wrote…
I think we have a constant or a type for this info in config (TypeValidAppBarCoreProps). If we need a constant we should create it in config-constant.ts
Done.
packages/geoview-core/src/core/components/app-bar/app-bar.tsx
line 231 at r1 (raw file):
Previously, jolevesq (Johann Levesque) wrote…
For naming convention, appBar schema use tabs and at some places it is appBarTabs.... should we have activeAppBarTabId?
Done.
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.
Reviewable status: 0 of 18 files reviewed, 2 unresolved discussions (waiting on @jolevesq)
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.
Reviewed 1 of 1 files at r2, 1 of 1 files at r3, 16 of 16 files at r4, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @kaminderpal)
packages/geoview-core/src/core/components/app-bar/app-bar.tsx
line 296 at r4 (raw file):
/** * Re-order the footer tab buttons.
Is it footer or appBar
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.
Reviewable status: 17 of 18 files reviewed, 1 unresolved discussion (waiting on @jolevesq)
packages/geoview-core/src/core/components/app-bar/app-bar.tsx
line 296 at r4 (raw file):
Previously, jolevesq (Johann Levesque) wrote…
Is it footer or appBar
Done.
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.
Reviewed 1 of 1 files at r5, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @kaminderpal)
…form/geoview into 2114-performance-ui-1
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.
Reviewed 1 of 1 files at r6, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @kaminderpal)
eb50540
into
Canadian-Geospatial-Platform:develop
Description
Refactor UI Components.
Fixes #2145
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Add the URL for your deploy!
https://kaminderpal.github.io/geoview/demos-navigator.html?config=./configs/navigator/07-basic-appbar.json
https://kaminderpal.github.io/geoview/demos-navigator.html?config=./configs/navigator/06-basic-footer.json
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