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

Remove Data Observatory v1 #16207

Merged
merged 16 commits into from
Mar 31, 2021
Merged

Conversation

Jesus89
Copy link
Member

@Jesus89 Jesus89 commented Mar 9, 2021

NOTE: this can not be merged/deployed until March 31st

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #111330: Remove DO v1 from Builder.

@CartoDB CartoDB deleted a comment from hound bot Mar 9, 2021
@CartoDB CartoDB deleted a comment from hound bot Mar 9, 2021
Copy link
Contributor

@amiedes amiedes left a comment

Choose a reason for hiding this comment

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

Thanks a lot for taking care of this @Jesus89, this will make much easier the maintenance of the old codebase 🎉

I have very little knowledge about how the old DO itself works, but from outside I've spotted a couple of details.

Apart from the linter comment, I also miss a database migration which drops the old Data Observatory columns. It should be something similar to this.

.rubocop.yml Outdated Show resolved Hide resolved
@Jesus89
Copy link
Member Author

Jesus89 commented Mar 31, 2021

Thanks for the review. Regarding the columns drop, I would make this in a different step (in the future). I've created a ticket with the code of the migration: https://app.clubhouse.io/cartoteam/story/145308/add-migration-to-drop-old-do-columns.

@VictorVelarde VictorVelarde self-requested a review March 31, 2021 10:21
Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

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

@Jesus89 Everything looks reasonable for the FrontEnd part. 👍🏻
I've just had a look at application.rb and there are some entries that I think we should also remove from the precompile list: data_library_deps.js, data_library.js and data_library_deps.css

@Jesus89
Copy link
Member Author

Jesus89 commented Mar 31, 2021

Thanks for the review @VictorVelarde.

I'll clean these entries from the application config:

  • data_library_deps.js
  • data_library.js
  • data_library.css

@Jesus89 Jesus89 requested a review from amiedes March 31, 2021 11:31
Copy link
Contributor

@amiedes amiedes left a comment

Choose a reason for hiding this comment

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

🚀 🌔

@Jesus89 Jesus89 merged commit 37dd9d3 into master Mar 31, 2021
@Jesus89 Jesus89 deleted the chore/ch111330/remove-do-v1-from-builder branch March 31, 2021 14:28
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.

3 participants