Skip to content

Conversation

@Elkrival
Copy link
Collaborator

This pr adds tests and splits up the logic in the charts routes file into different controllers.
The chartsController was moved to a file called chartsDataController similar as the name on the route and the charts controller has the methods that belong to just charts.

Copy link

@JackVCurtis JackVCurtis left a comment

Choose a reason for hiding this comment

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

Mmmmm... test coverage. 🚢

@Elkrival Elkrival force-pushed the 343-update-chart-forms-to-use-the-form-library branch 2 times, most recently from d60ecdd to fd88d2e Compare September 20, 2023 19:23
Base automatically changed from 343-update-chart-forms-to-use-the-form-library to pnl-devel September 20, 2023 19:27
@Elkrival Elkrival force-pushed the 396-improve-backend-request-handling-for-charts branch from 024ac86 to 844f48c Compare September 20, 2023 19:47
* Get all charts
* Delete charts
* Added destroy verbs on controllers

Update Charts Pages to use forms library

* Updated the new charts page, edit chart, view charts page to use the
  react hook form library
* Had to update UI to use controlled inputs for react hook forms
* Updated initial values to use our hooks
* Updated CSV downloader
* Added api routes and api verbs for each type of call

Charts Controller

* Updated the charts controller and routes
* Moved additional routes to controller
* Added tests

Clean Up

* Cleaned up code
* Added styling to sidebar
@Elkrival Elkrival force-pushed the 396-improve-backend-request-handling-for-charts branch from 503e25c to a4f3115 Compare September 20, 2023 20:17
@Elkrival Elkrival merged commit 7c71e5e into pnl-devel Sep 20, 2023
@Elkrival Elkrival linked an issue Sep 20, 2023 that may be closed by this pull request
3 tasks
@Elkrival Elkrival deleted the 396-improve-backend-request-handling-for-charts branch September 20, 2023 20:19
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.

Improve backend request handling for charts

4 participants