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

Develop into release/2024-5-0 #448

Merged
merged 74 commits into from
Jan 23, 2024
Merged

Develop into release/2024-5-0 #448

merged 74 commits into from
Jan 23, 2024

Conversation

spaceo
Copy link
Contributor

@spaceo spaceo commented Jan 22, 2024

No description provided.

kasperbirch1 and others added 30 commits January 8, 2024 20:29
This commit includes the implementation of the `show more` functionality as a utility. Additionally, comprehensive documentation has been written to guide the usage of this component.
Updated to handle multiple tags.
Font's used in the design system are using the japanese version. Since this was causing an issue for me, i decided to change it to the normal version.
I could not see which fonts to use from the figma design, so i have included the ones i thought are correct. Please have a look at that, and comment if you agree or otherwise.

I tried different approaches with the CSS layout and ended up with the current grid. Comment if any thoughts on this.
I placed this as a block, since i reckon we should have a block for the event-list-page.

I'm not sure if i should call it event-list-page now, or something else, or if it should be kept in /library. Please comment on this.
I did not remove the old identity-placeholder. Please comment on whether you think i should

DDFFORM-59
Included the identity-placeholder (Pseudo version)

DDFFORM-59
Refactors existing styling that uses extend to use new mixin.

Removed old extend placeholder.

DDFFORM-59
Refactored everywhere i could find that was using the $color__text-primary-white for non-text related styling.

DDFFORM-59
Refactored everywhere i could find that was using the $color__text-primary-black for non-text related styling.

DDFFORM-59
Refactored everywhere i could find that was using the $color__text-secondary-gray for non-text related styling.

DDFFORM-59
Added both a value for the event date containing only the date, and another for with an ISO formatted date and time for the event time.

DDFFORM-59
This is already a part of the show-svg-on-hover mixin and therefore not necessary.

DDFFORM-59
The root color cannot use the variable from variables.colors.scss because they are not available to it.

DDFFORM-59
The SVG for event list item was being shown at an incorrect breakpoint, because the show-svg-on-hover mixin only hides it beneath the __small breakpoint.

Adjusted so that it is now not shown beneath __medium as intended for this design.

The mixin could be extended in the future to supports this as a parameter.

DDFFORM-59
This particular time element is supposed to contain a range of dates, and this will not work with the current implementation.

As such this is removed for now.

The other <time> element further down in the code will stay in the template.

DDFFORM-59
Added documentation for font generation explaining what has been used to generate the current fonts.

Also suggest alternative tools for generating fonts in the future, aswell as marking the importance of ensuring the preloading of fonts in the CMS should remain intact.

DDFFORM-59
kasperbirch1 and others added 28 commits January 16, 2024 11:40
Implement an simple iframe component using css to ensure 16:9 responsiveness.
Refactor `EventParagraphs` to `Paragraphs` for shared component efficiency.
…ideo-paragraph

Add `VideoEmbed` component + Refactor `EventParagraphs`
Up until now, we've added the page background on various
individual components, but this is a problem if there is
margin between elements, when we want the BG to continue.
- Replace 'show more / less' with '+ / -' to eliminate translation requirements.
- Utilize show-more__hidden class instead of inline styling
…enable-tags

Implement `show more` functionality as a utility
…pacing

implementation of `@include layout-container` and `@include vertical-spacing;` to achieve consistent spacing.
This is a more generic and will be a helpful utility class to have.
…refaktor-arrangement-artikel-med-css-layout-struktur

Refactor of `Event` and `Article` components for consistent spacing
This element is a bit tricky, as the card sizes are very
dependent on screen real estate. I've tried to put as much
logic as possible in SCSS, so it will be plug-n-play without
too much Twig/JSX logic.

I've also introduced a promo-title component, that I thought I'd
need, but turns out I don't, as the title needs to be integrated
instead. I've decided to leave it in though, as others might
find it useful.
This logic should be implemented in more than one place, e.g., `HorizontalTermLine`
…acing

Remove faulty max-width on paragraphs, that should be full width.
…nyhedskomponent

Card Grid (nyhedskomponent) element. DDFFORM-127
…e-aria-controls

Add dynamic aria-controls attribute for `show-more`
…r-default-date

Added default date to dateCalendar
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.7 to 1.70.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.69.7...1.70.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…ithub_actions/actions/cache-4

Bump actions/cache from 3 to 4
…pm_and_yarn/sass-1.70.0

Bump sass from 1.69.7 to 1.70.0
- Make sure 'files' paragraph works in same way as 'links'
- Use `.paragraphs__item` instead of `.paragraph`, to avoid that
  we style on a class name that Drupal might use in situations
  we are not interested in.
Copy link
Contributor

@Adamik10 Adamik10 left a comment

Choose a reason for hiding this comment

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

guddie

@Adamik10 Adamik10 merged commit 86b0bb7 into release/2024-5-0 Jan 23, 2024
11 checks passed
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.

7 participants