Add a download button on single export configuration page

Created on 4 March 2021, over 3 years ago
Updated 3 January 2024, 8 months ago

Problem/Motivation

Actually when we want to export a single configuration file we have to manually copy and paste content on file manually.

Steps to reproduce

Go to url /admin/config/development/configuration/single/export and select a single configuration.

Proposed resolution

It would be helpfull to have a button to download the configuration file and avoid to manually copy and paste to the file.

User interface changes

Add a Download button in bottom of the page.

Feature request
Status

Needs work

Version

11.0 🔥

Component
Configuration 

Last updated 1 day ago

Created by

🇪🇸Spain abarrio

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India Prashant.c Dharamshala
  • Merge request !6005Download single configuration file → (Open) created by Prashant.c
  • Status changed to Needs review 8 months ago
  • 🇮🇳India Prashant.c Dharamshala

    Included code to achieve the following functionalities:

    1. Show the "Download" button specifically on the single export page at "admin/config/development/configuration/single/export".

    2. Upon clicking the "Download" button, a YAML file with the configuration name will be downloaded to your local system.

    Requesting code and usability reviews, as well as any feedback. Appreciate your input. Thank you.

  • First commit to issue fork.
  • Status changed to Needs work 8 months ago
  • 🇺🇸United States smustgrave

    This will need test coverage

    IS is incomplete as this will be a UI change.

    CR will be needed.

Production build 0.71.5 2024