-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: Pesist
FlowEditor
state on route changes" (#3691)
- Loading branch information
1 parent
1ec7d07
commit 610df24
Showing
13 changed files
with
187 additions
and
192 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 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
25 changes: 25 additions & 0 deletions
25
editor.planx.uk/src/pages/FlowEditor/components/Settings/DataManagerSettings.tsx
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,25 @@ | ||
import Container from "@mui/material/Container"; | ||
import Typography from "@mui/material/Typography"; | ||
import React from "react"; | ||
import { FeaturePlaceholder } from "ui/editor/FeaturePlaceholder"; | ||
import SettingsSection from "ui/editor/SettingsSection"; | ||
|
||
const DataManagerSettings: React.FC = () => { | ||
return ( | ||
<Container maxWidth="formWrap"> | ||
<SettingsSection> | ||
<Typography variant="h2" component="h3" gutterBottom> | ||
Data Manager | ||
</Typography> | ||
<Typography variant="body1"> | ||
Manage the data that your service uses and makes available via its | ||
API. | ||
</Typography> | ||
</SettingsSection> | ||
<SettingsSection> | ||
<FeaturePlaceholder title="Feature in development" /> | ||
</SettingsSection> | ||
</Container> | ||
); | ||
}; | ||
export default DataManagerSettings; |
25 changes: 25 additions & 0 deletions
25
editor.planx.uk/src/pages/FlowEditor/components/Settings/ServiceFlags.tsx
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,25 @@ | ||
import Container from "@mui/material/Container"; | ||
import Typography from "@mui/material/Typography"; | ||
import React from "react"; | ||
import { FeaturePlaceholder } from "ui/editor/FeaturePlaceholder"; | ||
import SettingsSection from "ui/editor/SettingsSection"; | ||
|
||
const ServiceFlags: React.FC = () => { | ||
return ( | ||
<Container maxWidth="formWrap"> | ||
<SettingsSection> | ||
<Typography variant="h2" component="h3" gutterBottom> | ||
Service flags | ||
</Typography> | ||
<Typography variant="body1"> | ||
Manage the flag sets that this service uses. Flags at the top of a set | ||
override flags below. | ||
</Typography> | ||
</SettingsSection> | ||
<SettingsSection> | ||
<FeaturePlaceholder title="Feature in development" /> | ||
</SettingsSection> | ||
</Container> | ||
); | ||
}; | ||
export default ServiceFlags; |
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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
import ErrorFallback from "components/ErrorFallback"; | ||
import FlowEditor from "pages/FlowEditor"; | ||
import React, { PropsWithChildren } from "react"; | ||
import { ErrorBoundary } from "react-error-boundary"; | ||
|
||
const FlowEditorLayout: React.FC<PropsWithChildren> = ({ children }) => ( | ||
<ErrorBoundary FallbackComponent={ErrorFallback}> | ||
<FlowEditor /> | ||
{children} | ||
</ErrorBoundary> | ||
<ErrorBoundary FallbackComponent={ErrorFallback}>{children}</ErrorBoundary> | ||
); | ||
|
||
export default FlowEditorLayout; |
Oops, something went wrong.