Skip to content

Make it easier to inject custom JS / CSS / HTML snippets (aka. custom userscripts) #746

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

Open
wants to merge 104 commits into
base: dev
Choose a base branch
from

Conversation

Raruto
Copy link
Contributor

@Raruto Raruto commented Feb 9, 2024

Precedes: g3w-suite/g3w-client#485

Follows: g3w-suite/g3w-client#574

Motivation

  1. make branding more easier for 3rd party developers (ie. no more G3WSUITE_CUSTOM_STATIC_URL hell!)

  2. closes: Remove yarn as project dependency #352

  3. closes: Remove google font from AdmintLTE template #359

  4. Deprecate/archive the following repositories:

  5. reduce entry barrier for other developers allowing them to test code changes without having to recompile it (ie. npm/yarn should not be a mandatory dependency to develop/deploy a plugin)

  6. Lazy loading active language translation (i18n) instead to include all locales within the generated bundle g3w-client#412

Related: g3w-suite/g3w-client#292 g3w-suite/g3w-client#442


Before (v3.9.x)

• "g3w-admin"

image

• "django-admin"

image

image


After (v4.0.x)

• "g3w-admin"

image

• "django-admin"

image

image

• "userscripts" (new)

image

image

@Raruto Raruto added this to Board Apr 4, 2025
@Raruto Raruto removed this from Board Apr 4, 2025
@Raruto Raruto changed the title Remove yarn + convert "openrouteservice", "qplotly" and "qtimeseries" to standalone plugins (ie. no more build step for static plugin.js, g3wadmin.js and g3wadmin.css) Make it easier to inject custom JS / CSS / HTML snippets (aka. custom userscripts) Apr 4, 2025
@Raruto Raruto added this to the v4.0 milestone Apr 4, 2025
@Raruto Raruto marked this pull request as ready for review April 4, 2025 09:57
@Raruto Raruto requested a review from wlorenzetti April 4, 2025 09:59
@Raruto Raruto added breaking Any code changes that are not or may not be backward compatible and removed refactoring Anything which could result in a API change labels Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Any code changes that are not or may not be backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove google font from AdmintLTE template Remove yarn as project dependency
2 participants