Provide default options for each content type

Created on 31 January 2021, over 3 years ago
Updated 3 August 2023, 11 months ago

Problem/Motivation

It would be good to see some default options for each content type. Similar to 'Published' and 'Sticky'

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom MrPaulDriver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

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

  • 🇮🇳India samit.310@gmail.com

    I am working on this ticket.

  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India samit.310@gmail.com

    I have the default options, Please review.

  • 🇩🇪Germany Anybody Porta Westfalica

    Super helpful addition, just thought the same! We'll review this, thanks!

  • First commit to issue fork.
  • @grevil opened merge request.
  • 🇩🇪Germany Grevil

    Applied the patch as an MR

  • Status changed to Needs work about 1 year ago
  • 🇩🇪Germany Grevil

    The patch works great! Nice job! :)

    I'll also add alias_keeper as a default setting, and then we can RTBC this I guess! (There are currently no tests and the schema config definitely needs further entries, but this is too much for this issue).

  • Status changed to Needs review about 1 year ago
  • 🇩🇪Germany Grevil

    Done, please review the new addition!

  • Status changed to RTBC about 1 year ago
  • Hello Folks !!

    Tested the MR for node_keep 2.x-dev on Drupal 9.5.9 and PHP 8.2, It works great .
    To provide you with a comprehensive view, I will be adding both a before and after screenshot.

    Can be moved to RTBC!!!

    Thank you for your support!!

  • Status changed to Needs work about 1 year ago
  • 🇩🇪Germany Anybody Porta Westfalica

    Thank you for the screenshots!

    Back to NW for some final fixes:

    1. The Prevent this node's alias from being changed option is missing in the defaults form
    2. It isn't clear from the current defaults UI, that the value set is the default for new created nodes of this type. There's currently a too high risk of misunderstanding or in other words, the current texts are wrong.

    You can see both points in the screenshots.

    These are the two checkboxes appearing on the node create / edit form for comparison:

    Prevent this node's alias from being changed
    This option will prevent node alias changes to avoid accidents. Only users with "administer node_keep per node" permission will be able to change this node alias.

    Prevent this node from being deleted
    This option will prevent node deletion to avoid accidents. Only users with "administer node_keep per node" permission will be able to remove this node.

  • 🇩🇪Germany Grevil

    @Anybody
    1. No its not missing.
    2. I'll change that accordingly!

  • Status changed to Needs review about 1 year ago
  • 🇩🇪Germany Grevil

    Please review.

  • Status changed to RTBC about 1 year ago
  • 🇩🇪Germany Anybody Porta Westfalica

    Great work @Grevil! Thank you so much. RTBC! Let's get this merged :)

  • 🇩🇪Germany Anybody Porta Westfalica

    PS: Super helpful feature, I hope a maintainer will pick this up soon :)

  • First commit to issue fork.
  • Status changed to Fixed 11 months ago
  • 🇺🇦Ukraine nginex

    Thanks for the great feature.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024