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

Remove alert banners from animal and telemetry page #1449

Merged
merged 7 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
3 changes: 0 additions & 3 deletions app/src/features/surveys/animals/AnimalPage.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import CircularProgress from '@mui/material/CircularProgress';
import Stack from '@mui/material/Stack';
import Box from '@mui/system/Box';
import { SystemAlertBanner } from 'features/alert/banner/SystemAlertBanner';
import { useBiohubApi } from 'hooks/useBioHubApi';
import { useAnimalPageContext, useProjectContext, useSurveyContext } from 'hooks/useContext';
import useDataLoader from 'hooks/useDataLoader';
import { SystemAlertBannerEnum } from 'interfaces/useAlertApi.interface';
import { useEffect } from 'react';
import { AnimalHeader } from './AnimalHeader';
import { AnimalListContainer } from './list/AnimalListContainer';
Expand Down Expand Up @@ -58,7 +56,6 @@ export const SurveyAnimalPage = () => {
survey_id={surveyContext.surveyId}
survey_name={surveyContext.surveyDataLoader.data.surveyData.survey_details.survey_name}
/>
<SystemAlertBanner alertTypes={[SystemAlertBannerEnum.ANIMALS]} />
<Stack
direction="row"
gap={1.5}
Expand Down
3 changes: 0 additions & 3 deletions app/src/features/surveys/telemetry/TelemetryPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ import Box from '@mui/material/Box';
import CircularProgress from '@mui/material/CircularProgress';
import Stack from '@mui/material/Stack';
import { TelemetryTableContextProvider } from 'contexts/telemetryTableContext';
import { SystemAlertBanner } from 'features/alert/banner/SystemAlertBanner';
import { SurveyDeploymentList } from 'features/surveys/telemetry/list/SurveyDeploymentList';
import { TelemetryTableContainer } from 'features/surveys/telemetry/table/TelemetryTableContainer';
import { TelemetryHeader } from 'features/surveys/telemetry/TelemetryHeader';
import { useBiohubApi } from 'hooks/useBioHubApi';
import { useProjectContext, useSurveyContext } from 'hooks/useContext';
import useDataLoader from 'hooks/useDataLoader';
import { SystemAlertBannerEnum } from 'interfaces/useAlertApi.interface';
import { useEffect } from 'react';

export const TelemetryPage = () => {
Expand Down Expand Up @@ -74,7 +72,6 @@ export const TelemetryPage = () => {
survey_id={surveyContext.surveyId}
survey_name={surveyContext.surveyDataLoader.data.surveyData.survey_details.survey_name}
/>
<SystemAlertBanner alertTypes={[SystemAlertBannerEnum.TELEMETRY]} />
<Stack flex="1 1 auto" direction="row" gap={1} p={1}>
{/* Telematry List */}
<Box flex="0 0 auto" position="relative" width="400px">
Expand Down
2 changes: 1 addition & 1 deletion database/src/seeds/03_basic_project_survey_setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const identitySources = ['IDIR', 'BCEIDBUSINESS', 'BCEIDBASIC'];

/**
* Add spatial transform
*
*a
* @export
* @param {Knex} knex
* @return {*} {Promise<void>}
Expand Down
Loading