Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84804

Dynamic tabs doesn't update page titles

XMLWordPrintable

    • 2
    • WP Sprint 2025-I1.3 (Espresso), WP Sprint 2025-I2.1 (Espresso), WP Sprint 2025-I2.2 (Espresso)

      The dynamic_tabs module does not update the page title when changing tabs. This is true even if you refresh the page, because the selected tab is loaded by JavaScript code using the anchor part of the URL.

      To resolve this, we need a JS module to dynamically change titles. We must define how a title is structured to allow manipulating specific parts. When a tab is selected, it should be possible to swap the old tab name with the new. It should not be the responsibility of dynamic_tabs to completely rewrite the title. That will lead to inconsistency issues as we already have enough of.

        1. MDL-84804 - Audience.png
          37 kB
          Sebastian Gundersen
        2. MDL-84804 - Editor.png
          38 kB
          Sebastian Gundersen
        3. MDL-84804 - Schedules.png
          26 kB
          Sebastian Gundersen
        4. (1) 4 Passed -- (Main)MDL-84804.png
          56 kB
          Kim Jared Lucas
        5. (1) 6 Passed -- (Main)MDL-84804.png
          28 kB
          Kim Jared Lucas

            pholden Paul Holden
            sebastian.gundersen@moodle.com Sebastian Gundersen
            Sebastian Gundersen Sebastian Gundersen
            David Carrillo David Carrillo
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 26 minutes
                2h 26m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.