Refactor URLs and Names of Project Wiki related pages

Created on 29 August 2023, over 1 year ago

Problem/Motivation

Due to recent (and hopefully final) changes in the routing for Project Wiki related pages like settings, the custom URLs do not match the page's actual location within the admin menu structure anymore.
Example:

  • Title: "

    Steps to reproduce

    Open any settings page and compare its location with its URL.

    Proposed resolution

    Change the URLs and Titles in compliance with the admin menu structure and with a standardized naming system.

    Remaining tasks

    Here is a list with all Project Wiki pages with their current bad naming system:
    The follwing pages are listed as: -

    User interface changes

    API changes

    Data model changes

📌 Task
Status

Active

Version

1.0

Component

Miscellaneous

Created by

🇩🇪Germany lrwebks Porta Westfalica

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

Comments & Activities

  • Issue created by @lrwebks
  • 🇩🇪Germany lrwebks Porta Westfalica
  • 🇩🇪Germany lrwebks Porta Westfalica

    A possible naming structure could be the following:

    • Every word within the page title sould be in uppercase (Add Project Wiki Entity Content)
    • Menu names should be the same as page titles just shortened (Not: Project Wiki Entity; But: Project Wiki Entity Content)
    • URLs and Menu locations should simply match up starting with /admin/

    What do you think?

  • 🇩🇪Germany lrwebks Porta Westfalica
  • Status changed to Needs work over 1 year ago
  • 🇩🇪Germany lrwebks Porta Westfalica

    I will change this now to the naming system that I have proposed above.

  • 🇩🇪Germany lrwebks Porta Westfalica
  • Status changed to Needs review over 1 year ago
  • 🇩🇪Germany lrwebks Porta Westfalica

    Done with the refactoring! If this system does not fit our current setup, please let me know in the review!

  • @lrwebks opened merge request.
  • 🇩🇪Germany Anybody Porta Westfalica

    Thanks for the cleanup and pointing out these @LRWebks! :)

    LGTM in large parts already. I'll assign this to me for further review.
    I'm not sure about some technical details yet, of which I think Drupal will auto-generate them and I'm not totally sure about the URL and menu positions. We need to discuss that in the team! Background: "Content" would be the right parent menu item for nearly every custom entity, but the Wiki is not a "Project / Website content". It's something dedicated to the admin area and help. So I'd tend to place it all in admin/help/ ... for the list and creation of wiki entities.

  • Assigned to Anybody
  • 🇩🇪Germany Anybody Porta Westfalica
  • Status changed to Needs work over 1 year ago
  • 🇩🇪Germany lrwebks Porta Westfalica

    Back to work then!

  • Open on Drupal.org →
    Core: 10.0.7 + Environment: PHP 8.2 & MySQL 8
    last update about 1 year ago
    Waiting for branch to pass
  • Status changed to Needs review about 1 year ago
  • 🇩🇪Germany lrwebks Porta Westfalica

    Back to review!

  • Assigned to lrwebks
  • Status changed to Needs work 2 months ago
  • 🇩🇪Germany Grevil

    Needs a rebase. Also, a test fails!

  • 🇩🇪Germany lrwebks Porta Westfalica

    Now that much has changed with the module and the routing, I think it is best if we postpone this until the very end, where we can take a final look at the routing in here. If this is needed sooner, we could always move this up in the list again.

  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.71.5 2024