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

Update/refactor backend container styles #3178

Closed
6 tasks done
sergei-maertens opened this issue Jun 22, 2023 · 0 comments · Fixed by #3575, open-formulieren/design-tokens#42 or open-formulieren/open-forms-sdk#592
Closed
6 tasks done

Comments

@sergei-maertens
Copy link
Member

sergei-maertens commented Jun 22, 2023

Class names: .view and .layout in the backend.

These contain fallback styles that would probably be better left unset. Additionally, it's probably better to use utrecht-document and fill in the design tokens for that component in our own theme, replacing our styles.

It's probably also recommended to always include the SDK CSS bundle and use the .openforms-layout components, reducing CSS duplication/divergence.

The :root CSS setting design tokens should also be properly scoped under the .openforms-theme (probably).

@sergei-maertens sergei-maertens added this to the Release 2.3.0 milestone Jun 22, 2023
sergei-maertens added a commit that referenced this issue Nov 2, 2023
* The header is now a 'global' include, the ui 'app' is being removed
* The main content container now gets styling from the utrecht-page design tokens
* Header and footer are to be replaced after the 'view' component is refactored
  out of the codebase.
sergei-maertens added a commit that referenced this issue Nov 2, 2023
They have been replaced with the NL DS utrecht-page component.

Design token mapping will take place and/or we will set up some
compatibility shims.
sergei-maertens added a commit that referenced this issue Nov 2, 2023
…tory

Moving stuff out of the ui 'app' and simplifying the renderen HTML
for better discoverability.
sergei-maertens added a commit that referenced this issue Nov 3, 2023
* The header is now a 'global' include, the ui 'app' is being removed
* The main content container now gets styling from the utrecht-page design tokens
* Header and footer are to be replaced after the 'view' component is refactored
  out of the codebase.
sergei-maertens added a commit that referenced this issue Nov 3, 2023
They have been replaced with the NL DS utrecht-page component.

Design token mapping will take place and/or we will set up some
compatibility shims.
sergei-maertens added a commit that referenced this issue Nov 3, 2023
…tory

Moving stuff out of the ui 'app' and simplifying the renderen HTML
for better discoverability.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 3, 2023
…e footer

This sets up the out-of-the-box design tokens supported by the upstream
component, and additionally adds responsive token values for the
Open Forms' specific extensions.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 3, 2023
Added the default/fallback tokens and set up token aliases while
deprecating old tokens. The deprecated tokens will be removed in Open
Forms 3.0.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 3, 2023
…/mobile view

The utrecht-page/utrecht-page-content design tokens replace the
layout 'component' we had in the backend.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 9, 2023
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 9, 2023
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
…ss indicator

Using CSS grid we can more easily adapt to different viewports to put
elements in their right place.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
Sayonara and good riddance.

This component had become an unmaintainable mess - while the actual
layout challenges are easily fixed with some appropriate flexbox/grid
layouts in the few places where containers are set up.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
Remove the Layout component usage and instead go for direct styles,
making it easier to override the component too as it's more
straight forward.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
…ss indicator

Using CSS grid we can more easily adapt to different viewports to put
elements in their right place.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 9, 2023
Sayonara and good riddance.

This component had become an unmaintainable mess - while the actual
layout challenges are easily fixed with some appropriate flexbox/grid
layouts in the few places where containers are set up.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 10, 2023
…e footer

This sets up the out-of-the-box design tokens supported by the upstream
component, and additionally adds responsive token values for the
Open Forms' specific extensions.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 10, 2023
Added the default/fallback tokens and set up token aliases while
deprecating old tokens. The deprecated tokens will be removed in Open
Forms 3.0.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 10, 2023
…/mobile view

The utrecht-page/utrecht-page-content design tokens replace the
layout 'component' we had in the backend.
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 10, 2023
sergei-maertens added a commit to open-formulieren/design-tokens that referenced this issue Nov 10, 2023
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 10, 2023
Remove the Layout component usage and instead go for direct styles,
making it easier to override the component too as it's more
straight forward.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 10, 2023
…ss indicator

Using CSS grid we can more easily adapt to different viewports to put
elements in their right place.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 10, 2023
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 10, 2023
Sayonara and good riddance.

This component had become an unmaintainable mess - while the actual
layout challenges are easily fixed with some appropriate flexbox/grid
layouts in the few places where containers are set up.
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 10, 2023
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment