Rebuild workspace menu trees automatically

Created on 6 November 2024, 4 months ago

Problem/Motivation

Workspace menu trees going out of sync is problematic as itโ€™s confusing for content editors. Menu trees should be rebuilt automatically, given that it does seem a costly operation.

Proposed resolution

Add a wse_menu_tree_needs_rebuild key/value entry, which should be an array keyed by workspace ID, and with TRUE/FALSE values. Whenever the menu tree changes in Live, we need to update that k/v entry and set it to TRUE for all workspaces. Then, in a request subscriber, after checking that a workspace is active, check whether we need to rebuild the menu tree for that workspace by looking at the k/v entry, and perform the rebuild if needed.

๐Ÿ“Œ Task
Status

Active

Version

2.0

Component

Workspace Menu

Created by

๐Ÿ‡ธ๐Ÿ‡ฎSlovenia paranojik

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

Merge Requests

Comments & Activities

  • Issue created by @paranojik
  • Pipeline finished with Canceled
    4 months ago
    Total: 144s
    #330867
  • Pipeline finished with Failed
    4 months ago
    Total: 163s
    #330871
  • ๐Ÿ‡ธ๐Ÿ‡ฎSlovenia paranojik

    paranojik โ†’ changed the visibility of the branch 3485818-rebuild-workspace-menu to hidden.

  • Pipeline finished with Failed
    4 months ago
    Total: 163s
    #330872
  • Pipeline finished with Failed
    4 months ago
    Total: 174s
    #330874
  • Pipeline finished with Success
    4 months ago
    Total: 481s
    #330880
  • Pipeline finished with Success
    4 months ago
    Total: 178s
    #330902
  • ๐Ÿ‡ธ๐Ÿ‡ฎSlovenia paranojik

    Proposed solution implemented and ready for review.

  • ๐Ÿ‡ธ๐Ÿ‡ฎSlovenia paranojik
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly plach Venezia
  • Pipeline finished with Canceled
    4 months ago
    #331915
  • Pipeline finished with Running
    4 months ago
    #331920
  • Pipeline finished with Canceled
    4 months ago
    #331916
  • ๐Ÿ‡ธ๐Ÿ‡ฎSlovenia paranojik
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly plach Venezia
  • ๐Ÿ‡ธ๐Ÿ‡ฎSlovenia paranojik
  • Pipeline finished with Success
    4 months ago
    #332213
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly plach Venezia

    Looks good and works well, thanks!

  • ๐Ÿ‡ท๐Ÿ‡ดRomania amateescu

    amateescu โ†’ changed the visibility of the branch wse-3485818 to hidden.

  • ๐Ÿ‡ท๐Ÿ‡ดRomania amateescu

    amateescu โ†’ changed the visibility of the branch wse-3485818 to active.

  • Pipeline finished with Skipped
    4 months ago
    #333333
  • ๐Ÿ‡ท๐Ÿ‡ดRomania amateescu

    Merged into 2.0.x and cherry-picked to 1.0.x, thanks!

  • Pipeline finished with Success
    4 months ago
    Total: 174s
    #333332
  • ๐Ÿ‡ท๐Ÿ‡ดRomania amateescu
  • Pipeline finished with Success
    3 months ago
    Total: 161s
    #341832
  • Pipeline finished with Skipped
    3 months ago
    #346345
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Pipeline finished with Running
    3 months ago
    #350027
  • Pipeline finished with Failed
    3 months ago
    Total: 998s
    #350098
  • Pipeline finished with Success
    2 months ago
    Total: 286s
    #369295
  • Pipeline finished with Success
    2 months ago
    Total: 399s
    #369457
  • Pipeline finished with Canceled
    2 months ago
    Total: 722s
    #377452
  • Pipeline finished with Failed
    2 months ago
    Total: 943s
    #377460
  • Pipeline finished with Canceled
    2 months ago
    Total: 5129s
    #377449
  • Pipeline finished with Failed
    2 months ago
    #377970
  • Pipeline finished with Failed
    2 months ago
    Total: 590s
    #377980
  • Pipeline finished with Success
    2 months ago
    Total: 450s
    #378068
  • Pipeline finished with Success
    2 months ago
    Total: 559s
    #378078
  • Pipeline finished with Success
    2 months ago
    Total: 423s
    #378156
  • Pipeline finished with Success
    2 months ago
    Total: 404s
    #378157
  • Pipeline finished with Success
    2 months ago
    Total: 414s
    #378158
  • Pipeline finished with Failed
    about 2 months ago
    Total: 971s
    #379979
  • Pipeline finished with Success
    about 2 months ago
    Total: 792s
    #380569
  • Pipeline finished with Success
    about 2 months ago
    Total: 595s
    #380820
  • Pipeline finished with Failed
    about 2 months ago
    #389078
  • Pipeline finished with Failed
    about 2 months ago
    Total: 153s
    #389098
  • Pipeline finished with Success
    28 days ago
    Total: 372s
    #406413
  • Pipeline finished with Skipped
    16 days ago
    #418528
  • Pipeline finished with Failed
    13 days ago
    Total: 778s
    #420550
  • Pipeline finished with Failed
    13 days ago
    Total: 335s
    #420560
  • Pipeline finished with Success
    13 days ago
    Total: 240s
    #420563
  • Pipeline finished with Failed
    8 days ago
    Total: 283s
    #425229
  • Pipeline finished with Success
    8 days ago
    Total: 248s
    #425232
  • Pipeline finished with Success
    6 days ago
    Total: 250s
    #426579
Production build 0.71.5 2024