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

wip: UI setup for team design settings #2643

Merged
merged 4 commits into from
Jan 11, 2024
Merged

wip: UI setup for team design settings #2643

merged 4 commits into from
Jan 11, 2024

Conversation

ianjon3s
Copy link
Contributor

@ianjon3s ianjon3s commented Jan 9, 2024

What does this PR do?

Builds UI for editor team design settings, currently hidden behind a feature flag.

Example:
https://2643.planx.pizza/barnet/settings/design

Feature flag to toggle design settings:
window.featureFlags.toggle("SHOW_TEAM_SETTINGS")

Copy link

github-actions bot commented Jan 9, 2024

Removed vultr server and associated DNS entries

Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking fantastic and great to see Formik already getting wired up also 🙌

@@ -95,6 +95,7 @@ const Root = styled(Box)(({ theme }) => ({
left: 0,
right: 0,
minHeight: `calc(100% - ${HEADER_HEIGHT}px)`,
zIndex: "2000",
Copy link
Contributor

@DafyddLlyr DafyddLlyr Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't do this consistently anywhere yet, but ideally we'd assign these variables at the theme level to avoid conflicts.

Might be a nice quick tidy up to pick up at some point?

Docs:

Copy link
Contributor Author

@ianjon3s ianjon3s Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, this is a leftover shim from the previous incarnation of the help text button, which was using fixed positioning and was being pushed into visibility above the setting panel.

I'll remove this for now and look to update the z-index hierarchy at the theme level in a separate PR.

@@ -27,7 +27,7 @@ const Root = styled(Box, {
}),
}));

export default function InputRow({
export default function EditorRow({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ianjon3s ianjon3s marked this pull request as ready for review January 11, 2024 11:53
@ianjon3s ianjon3s merged commit ada5fe3 into main Jan 11, 2024
12 checks passed
@ianjon3s ianjon3s deleted the ian/action-colours-ui branch April 3, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants