Use the Tab name for the tab links

Created on 13 May 2020, about 4 years ago
Updated 13 April 2024, 2 months ago

Is it possible to provide the tab name instead of paragraph-id for the tab links?

I would like the urls of a tabbed page, for example http://mysite/mysection#tab-648-3, not to show the {{ paragraph_id }}-{{ key }} pattern after the hash, but a string value something like http://mysite/mysection/profiles .

Thanks .

✨ Feature request
Status

Needs review

Version

5.0

Component

Code

Created by

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.

  • 🇨🇦Canada taylor_wills

    Patch does not apply successfully.

  • Status changed to Needs review 3 months ago
  • 🇮🇳India Chandreshgiri Gauswami

    Re-rolled patch according to latest branch.

  • Assigned to Stockfoot
  • 🇺🇸United States Stockfoot

    Assigning myself to begin review on this issue.

  • Issue was unassigned.
  • Status changed to Needs work 3 months ago
  • 🇺🇸United States Stockfoot

    The patch applied correctly but attempting to put a "Tab" component leads to a WSOD when the page loads.

    I think something is missing in the syntax. My code editor shows a comment code color change that there is probably a missing character somewhere.

    See the following image for reference before and after the patch.
    Before patch on left, after patch on right.

    Moving to "Needs work" status

  • Status changed to Needs review 2 months ago
  • 🇮🇳India Chandreshgiri Gauswami

    Hi @Stockfoot,
    Thanks for pointing out the issue. Yes, I forgot to close "}}" brackets and it was resulting in WSOD. Fixed the issue and attaching new [atch. Kindly please review.

Production build 0.69.0 2024