Skip to content

Commit

Permalink
feat: move data set form to different route temporarelly
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminic committed Nov 28, 2024
1 parent 1f8b8a7 commit 3536e6e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 6 deletions.
10 changes: 5 additions & 5 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-11-25T11:05:35.282Z\n"
"PO-Revision-Date: 2024-11-25T11:05:35.283Z\n"
"POT-Creation-Date: 2024-11-27T14:08:51.118Z\n"
"PO-Revision-Date: 2024-11-27T14:08:51.118Z\n"

msgid "schemas"
msgstr "schemas"
Expand Down Expand Up @@ -1196,15 +1196,15 @@ msgstr "Configure how data can and must be entered for this data"
msgid "Configure which organisation units can collect data for this data set."
msgstr "Configure which organisation units can collect data for this data set."

msgid "Data entry form"
msgstr "Data entry form"

msgid "Advanced options"
msgstr "Advanced options"

msgid "These options are used for advanced data set configurations."
msgstr "These options are used for advanced data set configurations."

msgid "Data entry form"
msgstr "Data entry form"

msgid "Setup"
msgstr "Setup"

Expand Down
8 changes: 8 additions & 0 deletions src/lib/constants/sections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ export const SCHEMA_SECTIONS = {
titlePlural: i18n.t('Data sets'),
parentSectionKey: 'dataSet',
},
// @ts-expect-error

Check failure on line 88 in src/lib/constants/sections.ts

View workflow job for this annotation

GitHub Actions / lint

Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
dataSetWIP: {
name: SchemaName.dataSet,
namePlural: 'dataSetsWIP',
title: i18n.t('Data set'),
titlePlural: i18n.t('Data sets'),
parentSectionKey: 'dataSet',
},
dataSetNotificationTemplate: {
name: SchemaName.dataSetNotificationTemplate,
namePlural: 'dataSetNotifications',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const DataSetFormContents = () => {
'These options are used for advanced data set configurations.'
)}
</StandardFormSectionDescription>
<div style={{ height: 300 }} />
<div style={{ height: 900 }} />
</SectionedFormSection>
</SectionedFormSections>
</>
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3536e6e

Please sign in to comment.