Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5189

Refactor Medialibrary plugin and integrate into master theme

    XporterXMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: 2.37.0
    • Story Points:
      3
    • Sprint:
      Sprint #138, Sprint #139, Sprint #140, Sprint #141, Sprint #142
    • Section:
      Block: Media
    • P4 site:
      All sites
    • Track:
      Development
    • Epic Link:
    • P4 Test Environment:
      deimos
    • Release Notes excerpt:
      Hide
      To address the issues with the current Medialibrary plugin, we decided to rewrite the functionality in React as part of the Master Theme, to eventually replace the original plugin.

      To avoid confusion with the WordPress media library, we decided to give the integration a new name, "Greenpeace Image Archive".

      For this we're trying out the "feature toggle" approach. This means that we deploy the code to production at an early stage, but hide the feature with a settings toggle that is off by default, until we have made the needed iterations to make it fully production ready.

      We don't recommend already turning the new media library on in production yet. But you can have a look on your develop or staging site.
      Show
      To address the issues with the current Medialibrary plugin, we decided to rewrite the functionality in React as part of the Master Theme, to eventually replace the original plugin. To avoid confusion with the WordPress media library, we decided to give the integration a new name, "Greenpeace Image Archive". For this we're trying out the "feature toggle" approach. This means that we deploy the code to production at an early stage, but hide the feature with a settings toggle that is off by default, until we have made the needed iterations to make it fully production ready. We don't recommend already turning the new media library on in production yet. But you can have a look on your develop or staging site.
    • Repositories:
      planet4-master-theme, planet4-plugin-medialibrary

      Description

      On PLANET-5110 the ADR for this change was refined:
      https://docs.google.com/document/d/1NWep63jLk5ytTg0DmOixDo2mGbD3bwoN7RCp8dl36OU

      Tasks

      • Use a different name so we can use it consistently from the start to avoid additional renaming. (Suggestion from Kelli and Multimedia editors: "Greenpeace Image Archive" or "GP Image Archive" for short)
      • Add a setting to use the new version instead of the old plugin. Will be false for all NROs
      • Integrate the new implementation in master-theme. Original plugin stays in use, but new code can already be merged as it won’t be used.
      • Coordinate with Luca and Andrada to give a heads up to community

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pvincent Pieter Vincent
                Reporter:
                nroussos Nikos Roussos
                Tester:
                Andrada Radu
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: