D7: Update Quant Queue tab URL for consistency

Created on 5 February 2023, over 1 year ago
Updated 27 June 2023, about 1 year ago

Problem/Motivation

On the Quant Queue tab, the URL data looks different across different items, e.g.

  • Node: Shows node id
  • Term: Shows term id
  • Theme file: Shows relative path to file
  • Other files: Shows URL with configured domain, e.g. http://localhost/_quant404, http://localhost/node, http://localhost/robots.txt

Steps to reproduce

  • Install Drupal 7
  • Enable and configure quant and quant_api modules
  • Use devel_generate to generate content
  • Go to Seed tab (/admin/config/services/quant/seed)
  • Check: Export nodes (Article, Basic page), Export taxonomy terms, Export theme assets, Export Views, Custom routes (/node)
  • Click Save and queue button
  • Go to Queue tab and you should see items listed
  • Look at the URL for different types of items
  • Result: URL is inconsistent across items
  • Expected result: URL is more consistent across items
  • Proposed resolution

    Update to be more consistent, e.g.

    • Node: Shows /node/[nid] or alias
    • Term: Shows /taxonomy/term/[tid] or alias
    • Theme file: Shows relative path to file
    • Other files: Shows relative URL, e.g. /_quant404, /node, /robots.txt

    Remaining tasks

    1. Update code
    2. Review and test
    3. Commit :)

    User interface changes

    URL will look more consistent across queue items.

    API changes

    Data model changes

    πŸ“Œ Task
    Status

    Fixed

    Version

    1.0

    Component

    Code

    Created by

    πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

    Comments & Activities

    Production build 0.69.0 2024