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

Introduce a component for a sidebar overlay #1494

Merged
merged 8 commits into from
Jan 10, 2025

Conversation

jmuscireum
Copy link
Contributor

@jmuscireum jmuscireum commented Jan 9, 2025

Description

This can be used to open a filter sidebar on small devices in an overlay. This doesn't use the existing overlay component, as some implementations require this filter overlay on top of an already open overlay of which there can be only one.

Bildschirmfoto am 2025-01-09 um 14 19 19

Breaking

CSS Variable --sci-border-width needs to be replaced by --sci-border-width-1.

Additional Notes

  • This PR fixes or works on following ticket(s): SE-13735

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices
  • Patch Tasks: Is local execution of Patch Tasks necessary? If so, please also mark the PR with the tag.

This can be used to open a filter sidebar on small devices in an overlay. This doesn't use the existing overlay component, as some implementations require this filter overlay on top of an already open overlay of which there can be only one.

Fixes: SE-13735
@jmuscireum jmuscireum added the 🧬 Enhancement Contains new features label Jan 9, 2025
Copy link
Member

@jakobvogel jakobvogel left a comment

Choose a reason for hiding this comment

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

👏

Copy link
Member

@sabieber sabieber left a comment

Choose a reason for hiding this comment

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

This is not strictly targeted at only containing filters, right?
Maybe if we chose a more generic name (like sidebar overlay or something similar) we could also re-use it for similar features/use-cases like the OX product watchlist (i mean, its re-usable like it is but the chosen name does not really suggest that its as flexible as it really is) 😊

@jmuscireum jmuscireum requested a review from sabieber January 9, 2025 14:59
@jmuscireum jmuscireum changed the title Introduce a component for a filter overlay Introduce a component for a sidebar overlay Jan 9, 2025
Copy link
Member

@sabieber sabieber left a comment

Choose a reason for hiding this comment

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

Thx for the changes 👍🏻

The 'namespace' (sirius.sidebarOverlay.*) already contains the important information.

Fixes: SE-13735
Also replace some border widths with variables.

Fixes: SE-13735
Copy link
Contributor

@ymo-sci ymo-sci left a comment

Choose a reason for hiding this comment

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

is the .mustache file-ending needed?

@sabieber
Copy link
Member

is the .mustache file-ending needed?

It uses Mustache-Syntax and gets proper highlighting and formatting this way.

This is breaking, as --sci-border-width needs to be replaced by --sci-border-width-1

Fixes: SE-13735
@jmuscireum jmuscireum added the 💣 BREAKING CHANGE Contains non-backwards compatible changes to public methods or changes the behavior of existing code label Jan 10, 2025
@jmuscireum jmuscireum merged commit 3a74ebc into develop Jan 10, 2025
4 checks passed
@jmuscireum jmuscireum deleted the feature/jmu/filter-overlay branch January 10, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💣 BREAKING CHANGE Contains non-backwards compatible changes to public methods or changes the behavior of existing code 🧬 Enhancement Contains new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants