As the final trick of the Editor Builder migration we need to freeze the Editor assets. For the experience of a Builder user those assets are not needed so we can avoid them in the building process.
These are the proposed steps after some talks with @javitonino and @jvillarf They should be tackled in order.
Frontend:
A.- Create a new file for setting the current editor assets version. Preferably in an .rb file.
B.- Separate build processes:
- grunt dev, the current one, should create the assets for a Builder user, using the folder of the assets version set in package.json. The takeaway here is to have one process to be able to generate / develop the whole app (statics, builder, dashboard). If we get rid of grunt for this, ok. If not, also ok.
- wadus should generate the editor assets, using the folder with the version set in A) file. This process would allow Editor users to generate / develop with the Editor assets.
Backend
C.- Create new helper to serve editor assets. Something à la javascript_include_tag. The way to do this it's not clear yet. This new helper should serve the assets set in the version file A) from a local folder or the S3 bucket. Just like it is right now but pointing to a different location.
Frontend
D.- Use new helper made in C) to modify every editor asset requirement using it.
Infra
E.- Add to current Builder deployment a call to the new build process (B wadus) if file A) changes. This should upload the editor assets to the proper S3 route provided by the version set in A)
Frontend-wise, Editor code migration has finished.
Summing the highlights up:
Summoning @xavijam @matallo and @nobuti who will be happy to hear this. 😄
V-A-M-O-S!
Slow applause!

RABO!
El mié., 11 jul. 2018 12:12, Javier Álvarez Medina notifications@github.com
escribió:
V-A-M-O-S!
Slow applause!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CartoDB/cartodb/issues/14067#issuecomment-404117961,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABTbO470a0YebdGdROJWjAGZPtun5jhSks5uFc-hgaJpZM4UmTQM
.
Most helpful comment
V-A-M-O-S!
Slow applause!