Skip to content

Refactor Query Report UI with FlexValueControl - #286

Open
ruzaqiarkan-eng wants to merge 6 commits into
developfrom
query-report-ui-refactor-13779874236980090168
Open

Refactor Query Report UI with FlexValueControl#286
ruzaqiarkan-eng wants to merge 6 commits into
developfrom
query-report-ui-refactor-13779874236980090168

Conversation

@ruzaqiarkan-eng

Copy link
Copy Markdown
Collaborator

Enhances the Query Report configuration panel by utilizing FlexValueControl and adding a dedicated button to easily fetch default filter values from report definitions. Stored and resolved using the central FlexValue structures on both frontend and backend.


PR created automatically by Jules for task 13779874236980090168 started by @ruzaqiarkan-eng

- Deprecated and removed legacy toggle between expression and value.
- Replaced custom report filter controls with FlexValueControl.
- Added "Fetch Default Values" button to report filters header.
- Handled loading and parsing legacy filters into structured objects.
- Added robust integration and unit test coverage in Query Records.
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Deprecated and removed legacy toggle between expression and value.
- Replaced custom report filter controls with FlexValueControl.
- Added "Fetch Default Values" button to report filters header.
- Handled loading and parsing legacy filters into structured objects.
- Added robust integration and unit test coverage in Query Records.
- Formatted modified Python and Vue files to satisfy all pre-commit formatting expectations.
- Deprecated and removed legacy toggle between expression and value.
- Replaced custom report filter controls with FlexValueControl.
- Added "Fetch Default Values" button to report filters header.
- Handled loading and parsing legacy filters into structured objects.
- Passed flat/resolved primitive filter values to standard Frappe RPC to avoid AttributeError and TypeError crashes during report execution.
- Added robust integration and unit test coverage in Query Records.
… formatting

- Deprecated and removed legacy toggle between expression and value.
- Replaced custom report filter controls with FlexValueControl.
- Added "Fetch Default Values" button to report filters header.
- Handled loading and parsing legacy filters into structured objects.
- Passed flat/resolved primitive filter values to standard Frappe RPC to avoid AttributeError and TypeError crashes during report execution.
- Excluded FlexValueControl nested inputs from global .form-control QRC styles to fix double borders and aligned caret/clear button positions.
- Added robust integration and unit test coverage in Query Records.
- Deprecated and removed legacy toggle between expression and value.
- Replaced custom report filter controls with FlexValueControl.
- Added "Fetch Default Values" button to report filters header.
- Handled loading and parsing legacy filters into structured objects.
- Passed flat/resolved primitive filter values to standard Frappe RPC to avoid AttributeError and TypeError crashes during report execution.
- Excluded FlexValueControl nested inputs from global .form-control QRC styles using :not(.fvc-main-field *) to prevent double borders and incorrect centering/middle icon alignment.
- Formatted Python and Vue files perfectly to comply with pre-commit hooks (Ruff format, Prettier).
- Added robust integration and unit test coverage in Query Records.
… formatting

- Deprecated and removed legacy toggle between expression and value.
- Replaced custom report filter controls with FlexValueControl.
- Added "Fetch Default Values" button to report filters header.
- Handled loading and parsing legacy filters into structured objects.
- Passed flat/resolved primitive filter values to standard Frappe RPC to avoid AttributeError and TypeError crashes during report execution.
- Fixed get_query and filters in Link fields by providing a complete flat values shim for cur_report and frappe.query_report.
- Isolated global CSS overrides in controls.css using :not(.fvc-main-field *) to prevent double borders and centered icons in FlexValueControl inputs.
- Formatted Python and Vue files perfectly to comply with pre-commit hooks (Ruff format, Prettier).
- Added robust integration and unit test coverage in Query Records.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant