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

[#8662] Add plans (Vorhaben) checkbox #5950

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

sevfurneaux
Copy link
Collaborator

@sevfurneaux sevfurneaux commented Jan 16, 2025

Describe your changes
This PR adds the plans (Vorhaben) checkbox.

2025-01-16 16 25 14

Tasks

  • PR name contains story or task reference
  • Steps to recreate and test the changes
  • Documentation (docs and inline)
  • Tests (including n+1 and django_assert_num_queries where applicable)
  • Changelog

@sevfurneaux sevfurneaux force-pushed the sf-2025-add-plans-checkbox branch from b3abb89 to 3b21b49 Compare January 16, 2025 16:28
@@ -152,6 +155,21 @@ export const ProjectsControlBar = ({
typeaheadSelected={filters.organisation}
multipleBoolean
/>
<fieldset className="control-bar__checkboxes">
<legend className="control-bar__checkboxes-legend">{translated.onlyShow}:</legend>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should me move the punctuation also into the translated string?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, I've moved the : into the translated string 👍

}

.modul-facetingform .facetingform__container .control-bar__checkboxes-legend {
float: left;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we use flexbox instead to avoid any confusion in the future?

Copy link
Collaborator Author

@sevfurneaux sevfurneaux Jan 20, 2025

Choose a reason for hiding this comment

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

I totally wanted to use flex, but making legends inline only works with float: left 🫠: Today I learned: How to style a fieldset's legend element as display inline.

@sevfurneaux sevfurneaux force-pushed the sf-2025-add-plans-checkbox branch from 3b21b49 to 1deb05e Compare January 20, 2025 10:13
@sevfurneaux sevfurneaux requested a review from vellip January 20, 2025 10:14
@sevfurneaux sevfurneaux self-assigned this Jan 20, 2025
@sevfurneaux sevfurneaux force-pushed the sf-2025-add-plans-checkbox branch from 1deb05e to 962a0f6 Compare January 21, 2025 11:09
@sevfurneaux sevfurneaux merged commit f56feba into dev Jan 21, 2025
2 checks passed
@sevfurneaux sevfurneaux deleted the sf-2025-add-plans-checkbox branch January 21, 2025 11:18
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.

3 participants