Skip to content

MID-11865 Support filter expressions/conditions in GUI - #763

Open
MrAxxy wants to merge 3 commits into
masterfrom
MID-11865
Open

MID-11865 Support filter expressions/conditions in GUI#763
MrAxxy wants to merge 3 commits into
masterfrom
MID-11865

Conversation

@MrAxxy

@MrAxxy MrAxxy commented Aug 12, 2026

Copy link
Copy Markdown
Contributor
  • add filter expression evaluator to GUI
  • filter is selectable for all expression properties and configured through the existing SearchFilterConfigurationPanel.
  • condition editor now offers Script and Filter instead of the script editor only.

@MrAxxy
MrAxxy requested a review from skublik August 12, 2026 11:03
@MrAxxy MrAxxy self-assigned this Aug 12, 2026

@skublik skublik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I know we don’t have much Javadoc in the code, and I’m struggling with it myself, but if you’re adding a new method that’s public, add Javadoc for it (ExpressionUtil)

- sdd filter expression evaluator to GUI
- filter is selectable for all expression properties and configured through
the existing SearchFilterConfigurationPanel.
- condition editor now offers Script and Filter instead of the script editor only.
@MrAxxy

MrAxxy commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

I know we don’t have much Javadoc in the code, and I’m struggling with it myself, but if you’re adding a new method that’s public, add Javadoc for it (ExpressionUtil)

Understood, Javadoc added.

@MrAxxy
MrAxxy requested a review from skublik August 12, 2026 21:52
- write the filter into the expression even when the condition is still
  empty, LambdaModel skips its setter on a null target
- update the filter field on blur, panels closing with a plain ajax link
  never submit the form and dropped the typed filter
- set outputMarkupId on SearchFilterConfigurationPanel, it re-renders
  itself when switching between XML and query
- style the filter buttons as btn-light border, btn-primary is reserved
  for primary actions
@MrAxxy

MrAxxy commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

I discovered some bugs during implementation of better handling of conditions in GUI. @skublik please review them.

@MrAxxy
MrAxxy requested a review from skublik August 13, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants