-
Notifications
You must be signed in to change notification settings - Fork 4
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
Removed code from the old Mongoose back-end and re-organised menu's #1126
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine at first glance, but we should carefully test all/most controllers of koala to see if nothing breaks
This PR makes no changes to the database so if something breaks we can easily revert to an earlier deployment and not data will be lost. I have looked through all the pages that I know of and they seem functional (including the export of transactions) |
Looks good to me. @SilasPeters are there any blockers left on this PR? |
I am not aware of any blockers. I would say let's review, test and merge! But @stickyPiston probably has a better view on this. |
If @stickyPiston and @TobiasDeBruijn have time for a quick review, I can resolve the merge conflicts and merge this PR. I don't have a lot of time these days so if many more merge conflicts will arise in the mean time I don't think I will have enough time to resolve them in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick scan. Our time would be better spend to test every endpoint in staging.
@limit = params[:limit] ? params[:limit].to_i : 50 | ||
|
||
@pagination, @impressions = pagy(Impression.all.order(created_at: :desc), | ||
items: params[:limit] ||= 50) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items: params[:limit] ||= 50) | |
items: @limit |
Closes #1109. The Mongoose data will not deleted from the database with this PR and Mongoose top-ups are still shown in the transaction history and exports.