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

deploying apps #15595

Merged
merged 20 commits into from
Apr 21, 2020
Merged

deploying apps #15595

merged 20 commits into from
Apr 21, 2020

Conversation

oleurud
Copy link
Contributor

@oleurud oleurud commented Apr 7, 2020

https://app.clubhouse.io/cartoteam/story/67811/backend-for-deploying-apps

Summary:

  • new type in Visualization model and related
  • copy & paste from Kuviz
  • rename KuvizAssetsService to HTMLAssetsService
  • removing if_exists logic

It needs to be deployed with https://github.com/CartoDB/cartodb-platform/pull/6475

@oleurud oleurud changed the title App visualization deploying apps Apr 8, 2020
@oleurud oleurud marked this pull request as ready for review April 13, 2020 18:53
@oleurud oleurud force-pushed the apps-based-on-kuviz branch 2 times, most recently from 25f0c3c to a40883a Compare April 15, 2020 15:24
@oleurud
Copy link
Contributor Author

oleurud commented Apr 15, 2020

My own acceptance:

  • I can save a map
  • I can update a map
  • it is not using maps quota

I am removing if_exists logic added to Kuviz for not following a good RESTful approach

Copy link
Contributor

@gonzaloriestra gonzaloriestra left a comment

Choose a reason for hiding this comment

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

LGTM! I left a few suggestions and thoughts.

@@ -39,6 +39,7 @@ class Admin::VisualizationsController < Admin::AdminController

before_filter :resolve_visualization_and_table_if_not_cached, only: [:embed_map]
before_filter :redirect_to_kuviz_if_needed, only: [:embed_map]
before_filter :redirect_to_app_if_needed, only: [:embed_map]
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess there's no need to worry about /embed_map here, but it's not harmful anyway...

app/models/carto/visualization.rb Outdated Show resolved Hide resolved
config/app_config.yml.sample Show resolved Hide resolved
spec/mailers/user_mailer_spec.rb Show resolved Hide resolved
config/app_config.yml.sample Show resolved Hide resolved
@oleurud
Copy link
Contributor Author

oleurud commented Apr 20, 2020

Cache acceptance:

  • miss first request
  • hit second request
  • miss after update

@oleurud
Copy link
Contributor Author

oleurud commented Apr 20, 2020

Ready! It will be deployed tomorrow morning

@oleurud oleurud merged commit 40eeb61 into master Apr 21, 2020
@oleurud oleurud deleted the apps-based-on-kuviz branch April 21, 2020 08:52
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.

None yet

2 participants