Skip to content

Conversation

@arlen
Copy link
Contributor

@arlen arlen commented Aug 18, 2026

This PR does a number of things:

  • It allows mostly static resources to be cached and implements etags for them
  • It provides a post_max_size check as middleware to avoid a white-screen exception if a user uploads a file that is too large for that PHP setting
  • It displays image-based resources in the edit/view view
  • It automatically sets an appropriate slug for the resource (with JavaScript)
  • It allows relative media to be embedded while using the HtmlSanitizer library (so that resources can be used in themes)
  • It allows the resource URL to be copied using our Vuejs component (this PR shows an example of embedding a Vuejs component in a fields.inc file)

Here is the edit view:
image

@arlen arlen force-pushed the feature-cfm62-MsResourcesImprovements branch from 5aa1e60 to a9f042d Compare August 18, 2026 13:29
@arlen
Copy link
Contributor Author

arlen commented Aug 18, 2026

The force-push was to rebase against the latest develop.

Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant