@@ -5,7 +5,80 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66This project (not yet) adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ### mB-v2402.1
8+
9+ ## aplus-v2406.1
10+
11+ ### Added
12+
13+ - react components for generating a leaflet map:
14+ - A basic map component that renders a polygon, tilelayer and zoom controls
15+ - MaplibreGL Tilelayer to implement ` @maplibre/maplibre-gl-leaflet `
16+ - MarkerClusterLayer to implement ` leaflet.markercluster `
17+ - MapPopup to provide basic html wrapping
18+ - AddMarkerControl to allow users to set a marker on a map within a
19+ constraining polygon
20+ - GeoJsonMarker to fetch the coords from GeoJson and render a jsx Marker
21+ - added an utility in python to easily get all relevant map settings
22+ - add/move ControlBarDropdown component from meinBerlin to a4
23+ - add/move ControlBarSearch component from meinBerlin to a4. The placeholder
24+ text is now set via the ` placeholder ` prop.
25+ - add/move Select compontent from meinBerlin to a4
26+ - Add a new CommentControlBar component which uses ControlBarDropdown and
27+ ControlBarSearch for sorting and searching comments. There's no support for
28+ category filtering yet.
29+ - ** Breaking Change** Add a new subtitle "Discussion" above comment filters.
30+ - comments_async/comment_form: add a span with class
31+ 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.
32+ - comments_async/comment_form: the cancel button is now wrapped in a div with class a4-comments__ comment-form__ actions__ left.
33+ - comments_async/comment_form: the action button is now wrapped in a div with class a4-comments__ comment-form__ actions__ right.
34+ - ** Breaking Change** Added a heading to the comment_form when commenting is
35+ allowed. The heading can be controlled with the a4-comments__ comment-form__ heading-commenting-allowed" css class.
36+
37+ ### Changed
38+
39+ - move the old comment search and filter into its own component
40+ CommentFilters
41+ - ** Breaking Change** Use the above mentioned CommentControlBar for sorting and
42+ filtering by default. You can pass ` noControlBar ` as props to comment_box to
43+ keep using the old filters.
44+ - ** Breaking Change** comments_async/comment_box: rename class visually-hidden to
45+ a4-sr-only as we want to move away from using bootstrap classes directly.
46+ - ** Breaking Change** comments_async/comment_form: the default height of the
47+ textarea has been increased from 46 to 75. We might have to add a way to set
48+ the initial height dynamically in the future.
49+ - ** Breaking Change** comments_async/comment_form: remove me-2 class from
50+ submitButton as we want to move away from using bootstrap classes directly.
51+ You can apply it to a4-comments__ cancel-edit-input instead.
52+ - ** Breaking Change** comments_async/comment_form: rename general-form to
53+ a4-comments__ comment-form__ form to be more in line with BEM naming.
54+ - ** Breaking Change** comments_async/comment_form: wrap form elements in a form-group class according to
55+ mb styleguide. This might add an unwanted margin-bottom if used with
56+ Bootstrap.
57+ - ** Breaking Change** comments_async/comment_form: removed the placeholder from
58+ textarea.
59+ - ** Breaking Change** comments_async/comment_form: replace col with
60+ a4-comments__ comment-form__ actions on the div wrapping the cancel and action button. You
61+ can use @extend .d-flex, @extend .col-12 and @extend .col-sm-6 to retain
62+ bootstrap behavior.
63+ - ** Breaking Change** comments_async/comment_form: replace col with
64+ a4-comments__ comment-form_terms-of-use on the the div wrapping the terms of
65+ use checkbox. You can use @extend .col-12 and @extend .col-sm-6 to retain
66+ bmotstrap behavior.
67+ - update js and python dependencies
68+
69+ ### Removed
70+
71+ - ** Breaking Change** Removed the "Comments" headline in
72+ comment_box. This is replaced by the new "Discussion" subtitle above.
73+ - removed peerDependencies from package.json to make updating js packages easier
74+
75+ ### Fixed
76+
77+ - categories: make the icon form field optional, fixes category form not
78+ accepting a category without icon.
79+
80+
81+ ## mB-v2402.1
982
1083### Added
1184- add a changelog folder and readme with guideline for new changelog system
0 commit comments