-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename admin page variables in line with UI (#3481)
* refactor: rename "Builder" to "CreatePage" where relevant * refactor: rename "ResponsesPage" to "ResultsPage" * refactor: move admin-form-builder into admin-form/create * refactor: rename BuilderDrawer to BuilderAndDesignDrawer * refactor: rename to BuilderAndDesignPlaceholder * refactor: rename design dir to builder-and-design * refactor: rename RESPONSES to RESULTS in subroute * docs: update outdated variable names in comments
- Loading branch information
1 parent
708d6b1
commit 518e0fe
Showing
46 changed files
with
98 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
frontend/src/features/admin-form-builder/FormBuilderPage.tsx
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
frontend/src/features/admin-form-builder/common/components/BuilderContent.tsx
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
frontend/src/features/admin-form-builder/common/components/BuilderSidebar/index.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
frontend/src/features/admin-form-builder/logic/BuilderLogic.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Flex } from '@chakra-ui/react' | ||
|
||
import { CreatePageSidebar } from './common/components/BuilderSidebar' | ||
import { CreatePageContent } from './common/components/CreatePageContent' | ||
import { CreatePageDrawerProvider } from './CreatePageDrawerContext' | ||
|
||
export const CreatePage = (): JSX.Element => { | ||
return ( | ||
<Flex h="100%" w="100%" overflow="auto" bg="neutral.200" direction="row"> | ||
<CreatePageDrawerProvider> | ||
<CreatePageSidebar /> | ||
<CreatePageContent /> | ||
</CreatePageDrawerProvider> | ||
</Flex> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../design/components/BuilderDrawer/index.ts → ...omponents/BuilderAndDesignDrawer/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './BuilderDrawer' | ||
export * from './BuilderAndDesignDrawer' | ||
export * from './CreateFieldDrawer' | ||
export * from './EditFieldDrawer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
frontend/src/features/admin-form/create/builder-and-design/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { BuilderAndDesignContainer as default } from './BuilderAndDesignContainer' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.