Skip to content

feat: add support for custom filters in output data processing#286

Merged
timdegroot1996 merged 5 commits into
mainfrom
custom-filters
May 16, 2026
Merged

feat: add support for custom filters in output data processing#286
timdegroot1996 merged 5 commits into
mainfrom
custom-filters

Conversation

@timdegroot1996
Copy link
Copy Markdown
Collaborator

  • Updated AbstractDatabaseProcessor to include custom_filters parameter in insert_output_data method.
  • Enhanced ArgumentParser to accept --customfilters argument for custom filter key=value pairs.
  • Modified DatabaseProcessor to handle custom_filters in database operations, including schema updates and data insertion.
  • Updated admin API to handle custom_filters in output file uploads and retrievals.
  • Implemented frontend changes to support custom filters in the dashboard, including dynamic dropdowns and filtering logic.
  • Adjusted tests to validate the new custom filters functionality and ensure proper database schema migration.

Implements #276

- Updated AbstractDatabaseProcessor to include custom_filters parameter in insert_output_data method.
- Enhanced ArgumentParser to accept --customfilters argument for custom filter key=value pairs.
- Modified DatabaseProcessor to handle custom_filters in database operations, including schema updates and data insertion.
- Updated admin API to handle custom_filters in output file uploads and retrievals.
- Implemented frontend changes to support custom filters in the dashboard, including dynamic dropdowns and filtering logic.
- Adjusted tests to validate the new custom filters functionality and ensure proper database schema migration.
@timdegroot1996 timdegroot1996 linked an issue May 10, 2026 that may be closed by this pull request
@timdegroot1996
Copy link
Copy Markdown
Collaborator Author

timdegroot1996 commented May 10, 2026

@HuntTheSun after implementing this I felt a lot of similarity between this and projectversion and even with regular tags. So I think in the future I could consider removing both of those and just putting those as options under customfilters. Do you think that's a good idea or does that bring limitations to features that are currently available?

Check out also this dashboard version and thread: #276 (comment), and the example of the PR working is here: #276 (comment)

@HuntTheSun
Copy link
Copy Markdown
Contributor

That's a very promising feature imo. I was thinking about sth like this also,
but tbh the implementation seemed a bit daunting to me.

I thinks its a really nice addition for people with more heterogeneous test setups, I think our team would also be using that feature :)

I can't think of any limitations this could result in right now, except of course the Overview part with versions.
For the overview, if you could somehow choose what to filter or display on the cards would be great (so which customFilter to use instead of/in addition to version) , since the customFilters don't apply to the Overview, but I'm not sure if that's worth the implementation effort (though I would really like sth like that if you're open to it, though I'm not sure yet if I can implement it in a pretty way).

@vladislav1q
Copy link
Copy Markdown

Please do not forget to update robot dashboard listener example/listener/robotdashboardlistener.py

@timdegroot1996
Copy link
Copy Markdown
Collaborator Author

@HuntTheSun

I can't think of any limitations this could result in right now, except of course the Overview part with versions.
For the overview, if you could somehow choose what to filter or display on the cards would be great (so which customFilter to use instead of/in addition to version) , since the customFilters don't apply to the Overview, but I'm not sure if that's worth the implementation effort (though I would really like sth like that if you're open to it, though I'm not sure yet if I can implement it in a pretty way).

Yeah the overview part is a bit tricky. I think I will make an issue for this and just leave it as is for now but this is definitely something that could be done in the future. Also with the updates to the overview page where you can customize which filters you use to zoom in there.

@timdegroot1996
Copy link
Copy Markdown
Collaborator Author

@vladislav1q

Please do not forget to update robot dashboard listener example/listener/robotdashboardlistener.py

Yup good point, will update that as well!

@timdegroot1996 timdegroot1996 merged commit 759b798 into main May 16, 2026
2 of 3 checks passed
HuntTheSun pushed a commit to HuntTheSun/robotframework-dashboard that referenced this pull request May 20, 2026
…tSquare#286)

* feat: add support for custom filters in output data processing

- Updated AbstractDatabaseProcessor to include custom_filters parameter in insert_output_data method.
- Enhanced ArgumentParser to accept --customfilters argument for custom filter key=value pairs.
- Modified DatabaseProcessor to handle custom_filters in database operations, including schema updates and data insertion.
- Updated admin API to handle custom_filters in output file uploads and retrievals.
- Implemented frontend changes to support custom filters in the dashboard, including dynamic dropdowns and filtering logic.
- Adjusted tests to validate the new custom filters functionality and ensure proper database schema migration.

* feat: enhance custom filters with mode selection (OR, AND, NOT) and update profile handling

* Test fixes

* feat: remove stat widget notices and clean up related code
HuntTheSun pushed a commit to HuntTheSun/robotframework-dashboard that referenced this pull request May 20, 2026
…tSquare#286)

* feat: add support for custom filters in output data processing

- Updated AbstractDatabaseProcessor to include custom_filters parameter in insert_output_data method.
- Enhanced ArgumentParser to accept --customfilters argument for custom filter key=value pairs.
- Modified DatabaseProcessor to handle custom_filters in database operations, including schema updates and data insertion.
- Updated admin API to handle custom_filters in output file uploads and retrievals.
- Implemented frontend changes to support custom filters in the dashboard, including dynamic dropdowns and filtering logic.
- Adjusted tests to validate the new custom filters functionality and ensure proper database schema migration.

* feat: enhance custom filters with mode selection (OR, AND, NOT) and update profile handling

* Test fixes

* feat: remove stat widget notices and clean up related code
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.

[Feature Request] Add custom filters (must-have feature!)

3 participants