Skip to content

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Jul 26, 2024

I can't see a good reason to want to change the version to load assets that are unlikely to work with the versions in the views in the project Hyde version.

Changing the CDN URL could be useful if you want to change the host to another CDN provider, but this may be easier to do using a static property. Since these constants are protected, this is something we can do in a minor release if there is demand for it. We would just replace the constants with public static properties (or protected with accessors)

This is a part of #1904

@emmadesilva emmadesilva mentioned this pull request Jul 26, 2024
21 tasks
I can't see a good reason to want to change the version to load assets that are unlikely to work with the versions in the views in the project Hyde version. Changing the CDN URL could be useful if you want to change the host to another CDN provider, but this current system is way too convoluted for that.
@emmadesilva emmadesilva force-pushed the remove-hydefront-cdn-customization-options branch from 31e6ff6 to 67ae211 Compare July 26, 2024 08:49
@emmadesilva emmadesilva marked this pull request as ready for review July 26, 2024 08:50
@codecov
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (73cc657) to head (1250bcc).

Additional details and impacted files
@@                     Coverage Diff                     @@
##             normalize-the-asset-api     #1909   +/-   ##
===========================================================
  Coverage                     100.00%   100.00%           
  Complexity                      1876      1876           
===========================================================
  Files                            192       192           
  Lines                           4954      4954           
===========================================================
  Hits                            4954      4954           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@emmadesilva emmadesilva changed the title [2.x] Remove the HydeFront version and CDN URL configuration options [2.x] Remove HydeFront version and CDN URL configuration options Jul 26, 2024
@emmadesilva emmadesilva merged commit b16416b into normalize-the-asset-api Jul 26, 2024
@emmadesilva emmadesilva deleted the remove-hydefront-cdn-customization-options branch July 26, 2024 09:29
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.

2 participants