diff --git a/docs/cleanup_space.md b/docs/Database_Cleanup_Guide.md similarity index 100% rename from docs/cleanup_space.md rename to docs/Database_Cleanup_Guide.md diff --git a/docs/Getting_Email_Templates_from_GCNotify.md b/docs/Getting_Email_Templates_from_GCNotify.md new file mode 100644 index 000000000..40be9f091 --- /dev/null +++ b/docs/Getting_Email_Templates_from_GCNotify.md @@ -0,0 +1,28 @@ +Logging into GC Notify: + +- Log in to GC Notify. + +Accessing Templates: + +- Click on the "Templates" section. + +![Alt text](image.png) + +Finding the Template ID: + +- Select a template, and then scroll down to find the Template ID. + +![Alt text](image-1.png) + +Using the Template ID: + +- Use the Template ID you found in the previous step within your configuration files. + +Creating a New Template: + +- If you need to create a new template, click the button located at the bottom of the page within the "Template" tab. + +![Alt text](image-2.png) + +- For information on formatting emails, please refer to the following link: https://notification.canada.ca/formatting-emails +- To include custom content in emails, you can find more details at: https://notification.canada.ca/sending-custom-content \ No newline at end of file diff --git a/docs/Steps_To_Deploy_Dagster.md b/docs/Steps_To_Deploy_Dagster.md new file mode 100644 index 000000000..0e036bb95 --- /dev/null +++ b/docs/Steps_To_Deploy_Dagster.md @@ -0,0 +1,22 @@ +1) On Openshift: + Go to system:image-puller in rolebindings and add the following lines in the subject: + + - kind: ServiceAccount + name: dagster-dagster-user-deployments-user-deployments + namespace: c72cba-prod + +2) Change Passwords: + Update the passwords in the values.yaml file located in the repo. + +3) Install Dagster: + Run the following command to install Dagster using Helm: + + helm install dagster dagster/ --values dagster/values.yaml + +4) Create met-dagster Secret: + Ensure that you create the met-dagster secret file. + +5) Role Bindings: + Add dagster-admin to role bindings. + +Note: As of now, we are using Dagster version 1.4.4. \ No newline at end of file diff --git a/docs/image-1.png b/docs/image-1.png new file mode 100644 index 000000000..ce46ab091 Binary files /dev/null and b/docs/image-1.png differ diff --git a/docs/image-2.png b/docs/image-2.png new file mode 100644 index 000000000..8989bb243 Binary files /dev/null and b/docs/image-2.png differ diff --git a/docs/image.png b/docs/image.png new file mode 100644 index 000000000..db79dd14e Binary files /dev/null and b/docs/image.png differ diff --git a/met-web/src/components/publicDashboard/SubmissionTrend/SubmissionTrend.tsx b/met-web/src/components/publicDashboard/SubmissionTrend/SubmissionTrend.tsx index fa00875f5..663272c27 100644 --- a/met-web/src/components/publicDashboard/SubmissionTrend/SubmissionTrend.tsx +++ b/met-web/src/components/publicDashboard/SubmissionTrend/SubmissionTrend.tsx @@ -16,7 +16,6 @@ import { LocalizationProvider, DatePicker } from '@mui/x-date-pickers'; import { Dayjs } from 'dayjs'; import { Then, If, Else, Unless } from 'react-if'; import { formatToUTC } from 'components/common/dateHelper'; -import CalendarTodayIcon from '@mui/icons-material/CalendarToday'; import axios, { AxiosError } from 'axios'; import { HTTP_STATUS_CODES } from 'constants/httpResponseCodes'; @@ -185,19 +184,7 @@ const SubmissionTrend = ({ engagement, engagementIsLoading }: SubmissionTrendPro onChange={(newDate: Dayjs | null) => setFromDate(newDate)} label="mm/dd/yyyy" inputFormat="MM/DD/YYYY" - renderInput={(params) => ( - - ) : ( - - ), - }} - /> - )} + renderInput={(params) => (isExtraSmall ? <> : )} /> @@ -215,19 +202,7 @@ const SubmissionTrend = ({ engagement, engagementIsLoading }: SubmissionTrendPro onChange={(newDate: Dayjs | null) => setToDate(newDate)} label="mm/dd/yyyy" inputFormat="MM/DD/YYYY" - renderInput={(params) => ( - - ) : ( - - ), - }} - /> - )} + renderInput={(params) => (isExtraSmall ? <> : )} />