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

[Improvement] Custom Reports tree endpoint #665

Merged
merged 23 commits into from
Jan 13, 2025

Conversation

mcop1
Copy link
Contributor

@mcop1 mcop1 commented Jan 9, 2025

Changes in this pull request

Resolves #660
Resolves #676

Additional info

Added 3 endpoints:

1.) Get reports to display in a tree, that is used to actually display the reports
2.) Get reports to display in a tree, that is used for configuring the reports
3.) Get full report configuration by name

@mcop1 mcop1 changed the title [Improvement] Custom Reports endpoint [Improvement] Custom Reports tree endpoint Jan 9, 2025
@mcop1 mcop1 self-assigned this Jan 9, 2025
@mcop1 mcop1 marked this pull request as ready for review January 9, 2025 14:53
src/CustomReport/Controller/Config/TreeController.php Outdated Show resolved Hide resolved
src/CustomReport/Controller/TreeController.php Outdated Show resolved Hide resolved
src/CustomReport/Schema/CustomReportConfigTreeNode.php Outdated Show resolved Hide resolved
translations/studio_api_docs.en.yaml Show resolved Hide resolved
@mcop1
Copy link
Contributor Author

mcop1 commented Jan 10, 2025

Thanks for reviewing, in general I would prefer reviews after a pull request is done and I "request" an review. Should we, for the future, use the draft option for that?

@mattamon
Copy link
Contributor

Thanks for reviewing, in general I would prefer reviews after a pull request is done and I "request" an review. Should we, for the future, use the draft option for that?

Sorry for that, I usually use the draft option like you suggested, that is why I thought your PR is ready.

@mcop1
Copy link
Contributor Author

mcop1 commented Jan 13, 2025

Thanks for reviewing, in general I would prefer reviews after a pull request is done and I "request" an review. Should we, for the future, use the draft option for that?

Sorry for that, I usually use the draft option like you suggested, that is why I thought your PR is ready.

Absolutely no problem, I will use the draft option in the future as well.

Copy link

sonarqubecloud bot commented Jan 13, 2025

private string $order,
#[Property(description: 'Label/display name of column', type: 'string', example: 'Attributes')]
private string $label,
#[Property(description: 'Id', type: 'string', example: 'extModel401-3')]
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if we still need that example. Ext would be a extjs thing. Maybe something else might be better, but I am sure this will come up once FE is ready to implement that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True, I will change the example as soon as we know how column ids in the new ui will look.

Copy link
Contributor

@mattamon mattamon left a comment

Choose a reason for hiding this comment

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

LGTM

@mcop1 mcop1 merged commit 02582a1 into 1.x Jan 13, 2025
12 checks passed
@mcop1 mcop1 deleted the 660-task-custom-reports-tree-listing-endpoint branch January 13, 2025 12:57
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Load detailed report configuration [Task] Custom reports tree listing endpoint
2 participants