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

feat: observations list as a tab #309

Merged
merged 160 commits into from
May 1, 2024
Merged

feat: observations list as a tab #309

merged 160 commits into from
May 1, 2024

Conversation

ErikSin
Copy link
Contributor

@ErikSin ErikSin commented Apr 30, 2024

Adds observation list as tab in the home screen.

image image

closes #307

CDFN and others added 30 commits April 11, 2024 10:25
Comment on lines -7 to +10
export enum TabName {
Map = 'Map',
Camera = 'Camera',
Tracking = 'Tracking',
}
export type TabName = keyof HomeTabsList;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I replaced this enum with a type

@ErikSin ErikSin requested a review from achou11 April 30, 2024 20:14
Copy link
Member

@achou11 achou11 left a comment

Choose a reason for hiding this comment

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

Changes look generally good. Couple of questions:

  1. How do we get to the settings screen now that the button has been removed from the ObservationsList screen?

  2. Couple of small issues with the tab icon (i'm okay with them being addressed in a follow-up):

  • the highlighting when active looks off. guessing that's an issue with the asset and will need to replace it.
  • size is a little bigger than the other tab icons

src/frontend/hooks/useCurrentTab.ts Outdated Show resolved Hide resolved
src/frontend/hooks/useCurrentTab.ts Outdated Show resolved Hide resolved
src/frontend/screens/ObservationsList/index.tsx Outdated Show resolved Hide resolved
src/frontend/Navigation/ScreenGroups/AppScreens.tsx Outdated Show resolved Hide resolved
@ErikSin
Copy link
Contributor Author

ErikSin commented May 1, 2024

  1. How do we get to the settings screen now that the button has been removed from the ObservationsList screen?

For posterity, the next PR I will be working on introduces the setting drawer which will replace the settings screen.

@ErikSin ErikSin merged commit 9750502 into main May 1, 2024
3 checks passed
@ErikSin ErikSin deleted the feat-expanded-tab-view branch May 1, 2024 21:16
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.

Add Observation List as a tab view (New UI)
5 participants