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: cleanup idea/topic views #5347

Open
wants to merge 130 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
3b1b3dc
base.html: add imports for berlin css and js and add local versions a…
philli-m Sep 14, 2023
d4351e9
assets/js: adding js files locally to avoid development issues and up…
philli-m Sep 19, 2023
f299b8e
assets/berlin_css: add font awesome locally and include mention in re…
philli-m Sep 19, 2023
424859f
.github/workflows: add dev branch
m4ra Sep 27, 2023
a029042
cms/header: add BO header template and logos, a11y info to header pag…
philli-m Sep 19, 2023
af36d63
footer: create new footer snippet to enable titles and replace footer…
philli-m Sep 14, 2023
f86b9cd
logo.png: change static path to change case so can be found in static…
philli-m Sep 28, 2023
46396e9
documents/views: add extra context in paragraph detail view
m4ra Oct 2, 2023
766ea7d
base.html: update favicon paths to use statis tag
philli-m Oct 2, 2023
81ba4e8
breadcrumb: add breadcrumb templates code to all user side project an…
philli-m Sep 21, 2023
c91efd3
templates/*: add breadcrumbs to user settings pages and moderate pages
philli-m Oct 5, 2023
f9c20ee
contrib/bo_components: add component lib for bo components
philli-m Oct 4, 2023
6d090ba
assets/berlin_css: update berlin css
philli-m Oct 10, 2023
d73321e
assets/style: load BO css with other styles so can extend their class…
philli-m Oct 18, 2023
d9a8fbc
apps/projects/project_detail: add project header template
philli-m Oct 10, 2023
bc9facc
eslintrc//stylelintrc: add BO style files to lint ignor paterns so ca…
philli-m Oct 19, 2023
e6fe4af
templates/*: add BO landmark classes to project, user and moderation …
philli-m Oct 4, 2023
c67cb88
assets/follow: update classes with a4 prefix
philli-m Oct 23, 2023
a2a51ef
footer: add lower footer with contrib_tag and link and create media f…
philli-m Sep 14, 2023
2effad2
contrib: add task, update command, add tests
m4ra Oct 23, 2023
772b622
settigns/production: add celerybeat periodic footer update
m4ra Oct 31, 2023
943df44
templates/*: add block.super to templates with extra_css tag to ensur…
philli-m Nov 1, 2023
e2cdb32
meinberlin/react: move all react components to own folder structure
philli-m Oct 24, 2023
2dd2d96
fix celery task name keyerror
m4ra Nov 1, 2023
18789b4
templates/500.html: fix logo.png caps
goapunk Nov 2, 2023
cd2b39d
apps/cms: add missing static tag
goapunk Nov 2, 2023
984bfec
apps/cms: move extra_js block into homepage as map_teaser_block is no…
goapunk Nov 6, 2023
75d5b16
react/budgeting: ModeratorStatus component
hom3mad3 Nov 2, 2023
5cd1636
apps/budgeting/serializers: add moderator_status to serializer
philli-m Nov 2, 2023
55a5961
react/budgeting: update data to moderator_status
hom3mad3 Nov 2, 2023
c911607
deps: add jest-dom to package.json
hom3mad3 Nov 7, 2023
5afda34
apps/budgeting: add error handling to ModeratorStatus
hom3mad3 Nov 7, 2023
4ba07f7
package.json: update lint commands
philli-m Nov 2, 2023
eb5bcae
react/budgeting: replace list item with card and update badge styling
philli-m Nov 2, 2023
79f7c13
apps/contrib/bo_component_library: add card to component library and …
philli-m Nov 7, 2023
5fe8087
apps/ideas: extract ProposalViewSet into a more general IdeaViewSet a…
goapunk Nov 13, 2023
b3dd9d6
apps/ideas: fix relative imports and test
goapunk Nov 16, 2023
1c2bce4
webpack-dev: update devtool config for better source maps
philli-m Nov 16, 2023
7ff4ab2
remove warning message from ModeratorStatus
hom3mad3 Nov 16, 2023
a02ef0d
move pagination to contrib folder
hom3mad3 Nov 16, 2023
aa209b2
create IdeaList
hom3mad3 Nov 13, 2023
c01adeb
apps/topicprio: add topic viewset and template tag
philli-m Nov 13, 2023
64a041b
react/topicprio: add list component and entry point for topics list
philli-m Nov 13, 2023
bd126f1
react/contrib/test: fix test to check for non exact string, add topip…
philli-m Nov 15, 2023
47ad476
tests/topicprio: copy tests from idea to test api and filtering
philli-m Nov 16, 2023
4052280
react/IdeaList.jest: update test to look for no exact match due to us…
philli-m Nov 20, 2023
d06d9f5
apps/mapidea: add api for mapideas
goapunk Nov 20, 2023
96828d6
apps/topicprio: add missing permissions to api
goapunk Nov 21, 2023
df5bf57
tests/mapideas: make ordering stable for api test
goapunk Nov 21, 2023
aad4854
react/CardStatus: small a11y fixes base.html: add surounding div for …
philli-m Nov 13, 2023
1c2f5ff
templates/dashboard: fix admin button location
philli-m Nov 16, 2023
5aaa9f1
react/contrib/CardStats: update strings for appropriate german transl…
philli-m Nov 16, 2023
7ff9f00
react/contrib/CardMeta: remove ref number and update date and date he…
philli-m Nov 16, 2023
1bb0618
changelog: add changelog
philli-m Nov 20, 2023
852b2ed
apps/maptopicprio: add api and serializer for new list and template tag
philli-m Nov 20, 2023
7fdeb20
react/maptopicprio: add entrypoint and tag into template and add com…
philli-m Nov 22, 2023
0e235b4
react/Ideas/IdeaList: use CardList component in idealist also
philli-m Nov 22, 2023
bbea3c1
changelog: add changelog
philli-m Nov 22, 2023
775c579
react/ControlBar: refactor Dropdown into separate, generic Select com…
vellip Nov 15, 2023
8fe517a
react/ControlBar: refactor SearchField into separate, generic Input c…
vellip Nov 15, 2023
c2f37ef
style_bo: remove base.scss as it overrides base styleguide styles
vellip Nov 16, 2023
fa319d8
react/controlbar: adapt controlbar to new design and updated function…
vellip Nov 20, 2023
4420e05
templates/collapsible_fragment: update template to use BO template wi…
philli-m Nov 7, 2023
7a4ac6c
berlin_css/js/fontawesome: update BO libraries
philli-m Nov 22, 2023
7ab8089
assets/*: separate out the new styled components from the old and res…
philli-m Nov 21, 2023
675c7da
react/*: replace mB with BO classes
philli-m Nov 21, 2023
153d052
apps/*: remove un-needed code and update elements required for functi…
philli-m Nov 21, 2023
5893d64
apps/kiezkasse: add api and use idea mixin and filter set
philli-m Nov 23, 2023
a39bb37
react/kiezkasse: add the list component, entrypoint and template tag …
philli-m Nov 23, 2023
75e7b72
add MapIdeaList
hom3mad3 Nov 27, 2023
76dcb74
react/Card: add BO card hover behavior to react card
philli-m Nov 24, 2023
d78cf10
contrib/api: add page_size_query_param to APIPagination to fetching
goapunk Nov 30, 2023
1bc8b1a
templates/project_detail: change tab html, use BO js for functionalit…
philli-m Nov 27, 2023
e22eaf7
react/contrib/card: move all card components to own folder and update…
philli-m Nov 29, 2023
8a5526b
react/contrib/card: add controlbar component to cardlist for filtering
philli-m Nov 29, 2023
e49b990
apps/*: remove old filter and sort from all *_list templates
philli-m Nov 29, 2023
664152f
react/contrib/ControlBarFilter: add heading to mapswitch as per desig…
philli-m Nov 29, 2023
a477b54
changelog: add change log
philli-m Nov 30, 2023
cf209db
contrib/component_library: remove obsolete list items from dashboard …
philli-m Nov 28, 2023
dbdab99
templates/idea_list_item: remove obsolete template and all styling ex…
philli-m Nov 28, 2023
707e380
assets/components_dashboard: move list_item to dashbaord components a…
philli-m Nov 28, 2023
a01df6c
template/mapidea_list: remove pagination include and move styling to …
philli-m Nov 28, 2023
5d0396e
assets/components: move components into their respective folders to r…
philli-m Nov 28, 2023
026478f
templates/timeline: remove old timeline templates and styling that wa…
philli-m Nov 28, 2023
130835b
templates/*: remove old breadcrumbs from pages where they were fully …
philli-m Dec 5, 2023
2df1ea6
component_library-dashboard_component_library: remove non dashboard c…
philli-m Dec 5, 2023
d16bc11
assets/images/logo_*: change mB logo to correct one and update paths …
philli-m Dec 5, 2023
8e7758e
templates/*: update breadcrumb to alwys have meinBerlin as first elem…
philli-m Dec 5, 2023
6de1fe7
assets/*: update BO scss and remove BO js and add via script tag, rem…
philli-m Dec 28, 2023
147f855
apps/users: add new template for user indicator and additional templa…
philli-m Dec 13, 2023
48d01be
assets/userindicator: update template, add styles and js functionalit…
philli-m Dec 13, 2023
69ce704
project_detail: change tab wording fixes #5375
philli-m Dec 28, 2023
eae1118
templates/project_detail: add title to tab content fixes #5376
philli-m Jan 3, 2024
f5fbccd
styles_user_facing: update secondary colour and add note to variables
philli-m Jan 3, 2024
a843d6f
scss/components_user_facing: update feedback color variables
hom3mad3 Jan 22, 2024
0f6ebfe
templates/a4modules: update phase-info component according to new design
hom3mad3 Jan 3, 2024
3ec9e61
budgeting/templates: decouple token form from project_action block
hom3mad3 Dec 13, 2023
6aaafa1
templates/a4modules: module_detail add service panel
hom3mad3 Jan 3, 2024
d355fee
budgeting/templates: style project action button
hom3mad3 Dec 18, 2023
3097a44
changelog: phase info
hom3mad3 Dec 18, 2023
f77a3e4
package.js: load swiper.js
hom3mad3 Jan 8, 2024
6f40f39
assets/swiper_phases//styles_user_facing: fix linting so tests pass
philli-m Jan 23, 2024
ed39ca5
assets/_phase_info: copy over full width styles from BO to ensure wor…
philli-m Jan 23, 2024
3d4385c
dashboard/module_blueprint_list_dashboard.html: add empty menu block …
philli-m Jan 23, 2024
4d1a1f8
Makefile: update the html linting to remove contradictory rules
philli-m Jan 24, 2024
ea73ace
assets/tabs-tabnavigation: change element name and implement tab styl…
philli-m Jan 3, 2024
ff20fe9
user_indicator: add the 'my account' heading to login menu and make …
philli-m Jan 24, 2024
467e319
react/CardStats: update stat strings to include plural versions and c…
philli-m Jan 3, 2024
690edbd
a4dashboard/nav_modules: increase modal size for module chooser to en…
philli-m Jan 30, 2024
9a23c9f
templates/meinberlin_projects/project_detail.html: hero-unit redesign…
hom3mad3 Jan 30, 2024
876f545
assets/phase-info: remove fullwidth overwrites
hom3mad3 Feb 5, 2024
e025cf5
assets/scss/components_user_facing/_herounit_image_with_aside.scss: f…
hom3mad3 Feb 21, 2024
750e669
templates/account: redesign signup and login forms
hom3mad3 Feb 21, 2024
beafad5
styles_user_facing/_variables: add BO breakpoints
goapunk Feb 27, 2024
1a49e53
assets/scss: add styling for new comment_form
goapunk Feb 19, 2024
ab91086
component_user_facing/_control-bar: remove non-working media query
goapunk Feb 27, 2024
e5a4609
maps: implement react-leaflet and rebuild maps for it
vellip Dec 18, 2023
82a7c72
meinberlin_contrib/item_detail.html: redesign moderator feedback
hom3mad3 Mar 7, 2024
b5e47d6
control-bar: always apply is_archived filter
vellip Mar 12, 2024
1d68ade
control-bar: ui/ux fixes
vellip Mar 12, 2024
f4c4f54
control-bar: hide filter section when there is no filter
vellip Mar 12, 2024
2a273f1
update a4 hash
goapunk Mar 18, 2024
49b81b8
assets/berlin_css: update BO css
goapunk Mar 18, 2024
2df1de3
webpack: add entry points for old map js code
goapunk Mar 18, 2024
a1df464
assets/scss: fix the broken button colors after updating the BO css
goapunk Mar 18, 2024
910fc80
meinberlin_contrib/item_detail.html: redesign moderator notes
hom3mad3 Mar 19, 2024
c3d5cd0
redesign comment filters and move some ControlBar components to a4 to be
goapunk Mar 20, 2024
8e23637
update a4
goapunk Mar 26, 2024
81f5985
apps/bplan: replace deprecated imghdr with python-magic
goapunk Dec 4, 2023
f2c6127
convert idea/topic views from FilterSetView to TemplateView as data is
goapunk Dec 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"ignorePatterns": [
"node_modules/",
"venv/",
"static/"
"static/",
"meinberlin/assets/berlin_js/"
],
"settings": {
"import/core-modules": [ django ],
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Django CI

on:
push:
branches: [ main ]
branches: [ main, dev ]
pull_request:
branches: [ main ]
branches: [ main, dev ]

jobs:
build:
Expand Down Expand Up @@ -84,6 +84,7 @@ jobs:
PGHOSTADDR: 127.0.0.1
run: |
python manage.py collectstatic > /dev/null
mkdir -p media
DJANGO_SETTINGS_MODULE='meinberlin.config.settings.travis' py.test --cov
isort --diff -c meinberlin tests
python manage.py makemigrations --dry-run --check --noinput
Expand All @@ -97,7 +98,15 @@ jobs:
run: |
npm test
npm run lint
- name: Deploy
- name: Deploy dev
if: github.ref == 'refs/heads/dev'
env:
TRAVIS_SSH_SECRET: ${{ secrets.DEPLOY }}
PROJECT_BUILD: 'meinberlin-restyle'
VERSION_BUILD: 'dev'
run: |
./scripts/deploy.sh $PROJECT_BUILD ${VERSION_BUILD##*/}
- name: Deploy main
if: github.ref == 'refs/heads/main'
env:
TRAVIS_SSH_SECRET: ${{ secrets.DEPLOY }}
Expand Down
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"stylelint-config-standard-scss"
],
"ignoreFiles": [
"**/_variables.scss"
"**/_variables.scss",
"meinberlin/assets/berlin_css/"
],
"plugins": [
"stylelint-declaration-strict-value"
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VIRTUAL_ENV ?= venv
MEDIA_ROOT = media
NODE_BIN = node_modules/.bin
SOURCE_DIRS = meinberlin tests
ARGUMENTS=$(filter-out $(firstword $(MAKECMDGOALS)), $(MAKECMDGOALS))
Expand Down Expand Up @@ -81,6 +82,7 @@ install:
if [ ! -f $(VIRTUAL_ENV)/bin/python3 ]; then python3 -m venv $(VIRTUAL_ENV); fi
$(VIRTUAL_ENV)/bin/python3 -m pip install --upgrade -r requirements/dev.txt
$(VIRTUAL_ENV)/bin/python3 manage.py migrate
mkdir -p $(MEDIA_ROOT)

.PHONY: clean
clean:
Expand Down Expand Up @@ -198,13 +200,13 @@ lint-js-fix:
.PHONY: lint-html-fix
lint-html-fix:
EXIT_STATUS=0; \
$(VIRTUAL_ENV)/bin/djlint $(ARGUMENTS) --reformat --profile=django || EXIT_STATUS=$$?; \
$(VIRTUAL_ENV)/bin/djlint $(ARGUMENTS) --reformat --profile=django --ignore=H030,H031,T002 || EXIT_STATUS=$$?; \
exit $${EXIT_STATUS}

.PHONY: lint-html-files
lint-html-files:
EXIT_STATUS=0; \
$(VIRTUAL_ENV)/bin/djlint $(ARGUMENTS) --profile=django --ignore=H030,H031 || EXIT_STATUS=$$?; \
$(VIRTUAL_ENV)/bin/djlint $(ARGUMENTS) --profile=django --ignore=H030,H031,T002 || EXIT_STATUS=$$?; \
exit $${EXIT_STATUS}

.PHONY: lint-python-files
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,9 @@ Stop celery beat with ctr+C
### To add scheduled tasks (same for all environments) check the [docs](./docs/celerybeat.md)

In case of settings.TIME_ZONE change, tasks need to be synced with the new time. [See HOWTO](https://django-celery-beat.readthedocs.io/en/latest/#important-warning-about-time-zones)

### Style Library

- currently all js and css incl fontawesome files are downloaded due to difficulties serving files and slowing development
- img and font resouce paths within the berlin css have been updated to include the local version
- Until versioning of libraries implemented prefered solution would be to have js downloaded once per day and cached, css should only be updated before release due to issues of breaking changes not being versioned or announced.
3 changes: 2 additions & 1 deletion __mocks__/djangoMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
gettext: (text) => text,
pgettext: (text) => text,
ngettext: (text, count) => text + count,
interpolate: (text, count) => text + count
interpolate: (text, count) => text + count,
npgettext: (context, text, count) => text + count
}
7 changes: 7 additions & 0 deletions changelog/0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Added

- {{ block.super }} to extra_css tags to ensure all templates do not overwrite the base styling added in base.html and base_dashboard.html

### Changed

- move all react components to separate react folder structure and update webpack paths, documented in wiki
3 changes: 3 additions & 0 deletions changelog/1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- github workflows for dev
16 changes: 16 additions & 0 deletions changelog/1111.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Added

- imports for BO style libraries and css, favicon, logo files locally (story !7629)
- local versions of BO js files and updated linting and imports (story !7629)
- local version of Fontawesome and update README to explain style library chaoices (story !7629)
- get_footer managment command and tag to import BO portal footer add to template (story !7626)
- periodic_footer_update task (story !7626)

### Changed

- favicons for BO one (story !7629)

### Removed

- old header styling (story !7630)
- old footer styling (story !7627)
3 changes: 3 additions & 0 deletions changelog/1234.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- celerybeat hourly periodic task for footer update
3 changes: 3 additions & 0 deletions changelog/2627.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- new footer snippet to enable headings and BO content footer template, replacing old footer (story !7627)
3 changes: 3 additions & 0 deletions changelog/7274.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Changed

- ckeditor accordion template to Berlin Online markup with small a11y additions ref: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/examples/accordion/ [7274]
7 changes: 7 additions & 0 deletions changelog/7618.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Added

- a4 prefix to follow styling after a4 refactor (story !7618/7701)


### Updated
- a4 tag for follow refactor (story !7618/7701)
3 changes: 3 additions & 0 deletions changelog/7628.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- BO landmark page classes to all user side pages !7628
3 changes: 3 additions & 0 deletions changelog/7630.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- BO header template code and setting to include a11y information in wagtail and logo files (story !7630)
8 changes: 8 additions & 0 deletions changelog/7681.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Added

- an include of BO breadcrumb template code to base.html with wagtail template tag for all cms page breadcrumbs (!7681)
- BO breadcrumb template code with logical site tree structure to all project/plan/container templates that user interacts with (!7681)

### Removed

- commented out offline event detail template as appears to be unused (!7681)
3 changes: 3 additions & 0 deletions changelog/7697.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- extra context in paragraph detail view
7 changes: 7 additions & 0 deletions changelog/7701.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Added

- different style.scss sheets depending on if BO or a4 (dashboard) pages with if statement in base.html to load depending on url, will need adjusting

## Changed

- project_detail header to BO herounit-image-with-aside !7701
3 changes: 3 additions & 0 deletions changelog/7702.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- converting budegting list item to Berlin Online card and seperating out the list item styles (for the dashboard) and add list_card styling component (for the user side) [7702]
4 changes: 4 additions & 0 deletions changelog/7760.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Added

- viewset for topicprio list and filtering with template tag
- react list component utilising card component to topicprio list template with webpack entrypoint and template tag
9 changes: 9 additions & 0 deletions changelog/7761.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Added

- added generic form elements (input, select) to react/contrib/forms


### Modified

- react/contrib/ControlBar.jsx to include new styling and layout
- switched webpack devtool to generate sourcemaps for dev mode
9 changes: 9 additions & 0 deletions changelog/7770.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Added

- new file react/contrib/ModeratorStatus.jsx which creates a new component Moderator Status, decoupling status from the badges list
- new file components/_moderator-status.scss as a separate stylesheet
- new dev dependency `@testing-library/jest-dom` on package.json

## Changed

- refactored ListItemBadges.jsx to remove the moderator_status from the list
9 changes: 9 additions & 0 deletions changelog/7828.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Added

convert ideas list to react component:
- added /ideas to /react folder: new files IdeaList.jsx, IdeaList.jest.jsx
- initialized in templatetags/react_ideas.py


### Modified
apps/ideas/templates/idea_list.html to render new idea list react component
10 changes: 10 additions & 0 deletions changelog/7829.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Added

convert mapideas list to react component:
- added /mapideas to /react folder: new files MapIdeaList.jsx, react_mapideas_init.jsx,
- initialized in mapideas/templatetags/react_mapideas.py and webpack.common.js
- testing MapIdeaList.jest.jsx


### Modified
apps/mapideas/templates/mapidea_list.html to render new idea list react component
8 changes: 8 additions & 0 deletions changelog/7833.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Added

- a new IdeaViewSet, a serializer and filters for ideas to be able to fetch
comments via js (#7833)

### Changed

- ProposalViewSet now extends IdeaViewSet to simplify code structure (#7833)
3 changes: 3 additions & 0 deletions changelog/7840.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- new user indicator for user side pages with custom js functionality mimicing the language dropdown functionality from the BO stylguide useing our own vanilla js #7840
9 changes: 9 additions & 0 deletions changelog/7861.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Added

- added ControlBar component to CardList component for react filtering on all the lists [7861]

### Changed

- moved Card components to own folder as seemed more tidy
- added headline to mapswitch as part of design and used different BO classes for additional styling
- removed django filters from list view
17 changes: 17 additions & 0 deletions changelog/7862.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Added

- new css component _a4-control-bar-search

### Changed

- added/changed styling for comment filters and form according to styleguide
- renamed _select.scss to _a4-select.css to reflect the move from mB to a4
- updated imports for ControlBarDropdown and ControlBarSearch to reflect the
move from mB to a4

### Removed

- **Breaking Change** moved the Select component to a4
- **Breaking Change** moved the ControlBarDropdown component to a4
- **Breaking Change** moved the ControlBarSearch component to a4
- removed css for a4-forms__select__wrapper from the user facing css
5 changes: 5 additions & 0 deletions changelog/_0974.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Changed

- update Berlin Online css file
- remove local versions of Berlin Online JS files and add new version via a script tag
- remove un-needed packages from package.json
9 changes: 9 additions & 0 deletions changelog/_1222.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Added

- some basic tests for bplan image file type probing

### Changed

- replaced imghr with python-magic
- change all idea/topic list views to TemplateViews as data is fetched via js
now
3 changes: 3 additions & 0 deletions changelog/_1234.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Changed

- renamed component_library to dashboard_component_library and non dashboard components
9 changes: 9 additions & 0 deletions changelog/_3333.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Added

- API for map list ideas
- MapPolygonMixin which adds the module polygon to the API

### Changed

- moved LocaleInfoMixin from ideas to contrib

3 changes: 3 additions & 0 deletions changelog/_4444.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added
- Add `page_size_query_param` to APIPagination to allow fetching all items (e.g.
required for the map)
3 changes: 3 additions & 0 deletions changelog/_5674.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- function and styling in Card component to mimic Berlin Online lick and title click behaviour with test (#7760)
3 changes: 3 additions & 0 deletions changelog/_6272.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Changed

- moved Pagination from /budgeting to /contrib
5 changes: 5 additions & 0 deletions changelog/_6758.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Added

- viewset for kiezkasse list by extending that for idea and filtering with template tag
- entry point and template tag for kiezkasse
- add test for kiezkasselist component
8 changes: 8 additions & 0 deletions changelog/_6789.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Changed

- removed idea-list-item template and exclussive associated styles and deleted from component library
- move remaining list-item styles to components_dashboard where they are still used in project list and some form lists
- remove pagination include from list templates
- add BO classes to Pagination.jsx so it conforms to styleguide
- move pagination.scss to components_dashboard as not needed usersides anymore
- update components_dashboard and components_userside lists to better rflect what is used where and what has already been touched
8 changes: 8 additions & 0 deletions changelog/_7762.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Changed

- Implemented redesign for phase info according to BerlinOnline styleguide
- Refactor files in templates/a4modules
- Optimized Swiper integration

### Added
- Introduced new CSS file assets/scss/components_user_facing/_phase_info.scss for specific styles
7 changes: 7 additions & 0 deletions changelog/_7768.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Changed

- updated the design of `templates/account/login.html` and `templates/account/signup.html`

### Added

- added a duplicate of form_checkbox_field (`a4dashboard/includes/form_checkbox_field.html`) to maintain old styles for the dashboard
3 changes: 3 additions & 0 deletions changelog/_7770.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Changed

- removed warning from ModeratorStatus.jsx
11 changes: 11 additions & 0 deletions changelog/_7897.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Changed

- CardMeta: removed ref number and updated the date helper to new date format and updated wording
- CardStats: use bold tag as per the design and update all tests where stats rendered
- Pill: change text colour inline with design
- platformemail_form template: change extend from base to dashboard as it is part of the initiator interface and therfore shoudl not be BO styled


### Added

- correct structure for skiplink to base.html inline with lighthouse recommendation
5 changes: 5 additions & 0 deletions changelog/_79453.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Changed

- project_detail changes tabs to new style and used wcag recommended structure https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-automatic/ used BO js for functionality
- add new tab styling and move old to component_dashboard
- add edit link styling using same system as BO styleguide
8 changes: 8 additions & 0 deletions changelog/_8012.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Changed

- Refactored the label class in ModeratorStatus.jsx for improved clarity and modularity.
- Cleaned up templates/meinberlin_contrib/item_detail.html

## Added
- Separated the moderator feedback into its own template (templates/meinberlin_contrib/components/moderator_feedback.html) for better organization.
- Created a new stylesheet (scss/components_user_facing/_moderator_feedback.scss) specifically for the moderator feedback for improved maintainability.
7 changes: 7 additions & 0 deletions changelog/_8038.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Added
- Separated the moderator notes into its own template (templates/meinberlin_contrib/components/moderator_notes.html) for better organization.
- Created a new stylesheet (scss/components_user_facing/_moderator_notes.scss) specifically for the moderator notes snippet for better maintainability.
- Added extra variables for icon color on (scss/components_user_facing/_variables.scss) with `icon-` prefix

## Changed
- refactor (scss/components_user_facing/_details.scss) to update global element selector to class `.details`
Loading