From 78c50d57417e5c4582d4d5cf0adf688ec50fc39e Mon Sep 17 00:00:00 2001 From: Julian Dehm Date: Wed, 5 Jun 2024 12:04:33 +0200 Subject: [PATCH] release aplus-v2406.1.1 --- CHANGELOG.md | 75 +++++++++++++++++++++++++++++++++++++++++++++- changelog/7704.md | 11 ------- changelog/7862.md | 23 -------------- changelog/7863.md | 33 -------------------- changelog/_1111.md | 4 --- changelog/_1112.md | 3 -- 6 files changed, 74 insertions(+), 75 deletions(-) delete mode 100644 changelog/7704.md delete mode 100644 changelog/7862.md delete mode 100644 changelog/7863.md delete mode 100644 changelog/_1111.md delete mode 100644 changelog/_1112.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd998f8c..8d21c6d8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,80 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), This project (not yet) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -### mB-v2402.1 + +## aplus-v2406.1 + +### Added + +- react components for generating a leaflet map: + - A basic map component that renders a polygon, tilelayer and zoom controls + - MaplibreGL Tilelayer to implement `@maplibre/maplibre-gl-leaflet` + - MarkerClusterLayer to implement `leaflet.markercluster` + - MapPopup to provide basic html wrapping + - AddMarkerControl to allow users to set a marker on a map within a + constraining polygon + - GeoJsonMarker to fetch the coords from GeoJson and render a jsx Marker +- added an utility in python to easily get all relevant map settings +- add/move ControlBarDropdown component from meinBerlin to a4 +- add/move ControlBarSearch component from meinBerlin to a4. The placeholder + text is now set via the `placeholder` prop. +- add/move Select compontent from meinBerlin to a4 +- Add a new CommentControlBar component which uses ControlBarDropdown and + ControlBarSearch for sorting and searching comments. There's no support for + category filtering yet. +- **Breaking Change** Add a new subtitle "Discussion" above comment filters. +- comments_async/comment_form: add a span with class + a4-comments_char-count-word which can be used to hide the trailing wording for the character count. The word will still be read by screenreaders. +- comments_async/comment_form: the cancel button is now wrapped in a div with class a4-comments__comment-form__actions__left. +- comments_async/comment_form: the action button is now wrapped in a div with class a4-comments__comment-form__actions__right. +- **Breaking Change** Added a heading to the comment_form when commenting is + allowed. The heading can be controlled with the a4-comments__comment-form__heading-commenting-allowed" css class. + +### Changed + +- move the old comment search and filter into its own component + CommentFilters +- **Breaking Change** Use the above mentioned CommentControlBar for sorting and + filtering by default. You can pass `noControlBar` as props to comment_box to + keep using the old filters. +- **Breaking Change** comments_async/comment_box: rename class visually-hidden to + a4-sr-only as we want to move away from using bootstrap classes directly. +- **Breaking Change** comments_async/comment_form: the default height of the + textarea has been increased from 46 to 75. We might have to add a way to set + the initial height dynamically in the future. +- **Breaking Change** comments_async/comment_form: remove me-2 class from + submitButton as we want to move away from using bootstrap classes directly. + You can apply it to a4-comments__cancel-edit-input instead. +- **Breaking Change** comments_async/comment_form: rename general-form to + a4-comments__comment-form__form to be more in line with BEM naming. +- **Breaking Change** comments_async/comment_form: wrap form elements in a form-group class according to + mb styleguide. This might add an unwanted margin-bottom if used with + Bootstrap. +- **Breaking Change** comments_async/comment_form: removed the placeholder from + textarea. +- **Breaking Change** comments_async/comment_form: replace col with + a4-comments__comment-form__actions on the div wrapping the cancel and action button. You + can use @extend .d-flex, @extend .col-12 and @extend .col-sm-6 to retain + bootstrap behavior. +- **Breaking Change** comments_async/comment_form: replace col with + a4-comments__comment-form_terms-of-use on the the div wrapping the terms of + use checkbox. You can use @extend .col-12 and @extend .col-sm-6 to retain + bmotstrap behavior. +- update js and python dependencies + +### Removed + +- **Breaking Change** Removed the "Comments" headline in + comment_box. This is replaced by the new "Discussion" subtitle above. +- removed peerDependencies from package.json to make updating js packages easier + +### Fixed + +- categories: make the icon form field optional, fixes category form not + accepting a category without icon. + + +## mB-v2402.1 ### Added - add a changelog folder and readme with guideline for new changelog system diff --git a/changelog/7704.md b/changelog/7704.md deleted file mode 100644 index 01e236825..000000000 --- a/changelog/7704.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- react components for generating a leaflet map: - - A basic map component that renders a polygon, tilelayer and zoom controls - - MaplibreGL Tilelayer to implement `@maplibre/maplibre-gl-leaflet` - - MarkerClusterLayer to implement `leaflet.markercluster` - - MapPopup to provide basic html wrapping - - AddMarkerControl to allow users to set a marker on a map within a - constraining polygon - - GeoJsonMarker to fetch the coords from GeoJson and render a jsx Marker -- added an utility in python to easily get all relevant map settings diff --git a/changelog/7862.md b/changelog/7862.md deleted file mode 100644 index 3bd0862c9..000000000 --- a/changelog/7862.md +++ /dev/null @@ -1,23 +0,0 @@ -### Added - -- add/move ControlBarDropdown component from meinBerlin to a4 -- add/move ControlBarSearch component from meinBerlin to a4. The placeholder - text is now set via the `placeholder` prop. -- add/move Select compontent from meinBerlin to a4 -- Add a new CommentControlBar component which uses ControlBarDropdown and - ControlBarSearch for sorting and searching comments. There's no support for - category filtering yet. -- **Breaking Change** Add a new subtitle "Discussion" above comment filters. - -### Changed - -- move the old comment search and filter into its own component - CommentFilters -- **Breaking Change** Use the above mentioned CommentControlBar for sorting and - filtering by default. You can pass `noControlBar` as props to comment_box to - keep using the old filters. - -### Removed - -- **Breaking Change** Removed the "Comments" headline in - comment_box. This is replaced by the new "Discussion" subtitle above. diff --git a/changelog/7863.md b/changelog/7863.md deleted file mode 100644 index 6a14082d3..000000000 --- a/changelog/7863.md +++ /dev/null @@ -1,33 +0,0 @@ -### Added - -- comments_async/comment_form: add a span with class - a4-comments_char-count-word which can be used to hide the trailing wording for the character count. The word will still be read by screenreaders. -- comments_async/comment_form: the cancel button is now wrapped in a div with class a4-comments__comment-form__actions__left. -- comments_async/comment_form: the action button is now wrapped in a div with class a4-comments__comment-form__actions__right. -- **Breaking Change** Added a heading to the comment_form when commenting is - allowed. The heading can be controlled with the a4-comments__comment-form__heading-commenting-allowed" css class. -### Changed - -- **Breaking Change** comments_async/comment_box: rename class visually-hidden to - a4-sr-only as we want to move away from using bootstrap classes directly. -- **Breaking Change** comments_async/comment_form: the default height of the - textarea has been increased from 46 to 75. We might have to add a way to set - the initial height dynamically in the future. -- **Breaking Change** comments_async/comment_form: remove me-2 class from - submitButton as we want to move away from using bootstrap classes directly. - You can apply it to a4-comments__cancel-edit-input instead. -- **Breaking Change** comments_async/comment_form: rename general-form to - a4-comments__comment-form__form to be more in line with BEM naming. -- **Breaking Change** comments_async/comment_form: wrap form elements in a form-group class according to - mb styleguide. This might add an unwanted margin-bottom if used with - Bootstrap. -- **Breaking Change** comments_async/comment_form: removed the placeholder from - textarea. -- **Breaking Change** comments_async/comment_form: replace col with - a4-comments__comment-form__actions on the div wrapping the cancel and action button. You - can use @extend .d-flex, @extend .col-12 and @extend .col-sm-6 to retain - bootstrap behavior. -- **Breaking Change** comments_async/comment_form: replace col with - a4-comments__comment-form_terms-of-use on the the div wrapping the terms of - use checkbox. You can use @extend .col-12 and @extend .col-sm-6 to retain - bmotstrap behavior. diff --git a/changelog/_1111.md b/changelog/_1111.md deleted file mode 100644 index 75e224649..000000000 --- a/changelog/_1111.md +++ /dev/null @@ -1,4 +0,0 @@ -### Fixed - -- categories: make the icon form field optional, fixes category form not - accepting a category without icon. diff --git a/changelog/_1112.md b/changelog/_1112.md deleted file mode 100644 index 01809e3cd..000000000 --- a/changelog/_1112.md +++ /dev/null @@ -1,3 +0,0 @@ -### Removed - -- removed peerDependencies from package.json to make updating js packages easier