Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

neurocracy/drupal-omnipedia-refreshless

Repository files navigation

Archived

This module is no longer developed or maintained. All development has switched to the RefreshLess module itself; if you want to help out, please see Hotwire Turbo minimum viable implementation [#3393105]. The rest of this readme is left as-is but no longer relevant.


This contains the source files for the "Omnipedia - RefreshLess" Drupal module, which provides experimental support for the RefreshLess contributed module for Omnipedia.

⚠️ Why open source? / Spoiler warning


Demo

Rough demo video on YouTube - doesn't provide any UI to indicate loading yet so this is just a proof of concept.


Description

Applies the RefreshLess Drupal core patch and works around several issues:


Requirements


Installation

Composer

Set up

Ensure that you have your Drupal installation set up with the correct Composer installer types such as those provided by the drupal/recommended-project template. If you're starting from scratch, simply requiring that template and following the Drupal.org Composer documentation should get you up and running.

Repository

In your root composer.json, add the following to the "repositories" section:

"drupal/omnipedia_refreshless": {
  "type": "vcs",
  "url": "https://github.com/neurocracy/drupal-omnipedia-refreshless.git"
}

Installing

Once you've completed all of the above, run composer require "drupal/omnipedia_refreshless:^2.0@dev" in the root of your project to have Composer install this and its required dependencies for you.


Major breaking changes

The following major version bumps indicate breaking changes:

  • 2.x:

    • Requires Drupal 10.1.

    • Requires PHP 8.1.

    • Requires RefreshLess 2.x.