Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25703

Switching a Live Data to edit mode re-renders every row and cell

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • 18.10.0-rc-1
    • 17.10.0
    • Live Data
    • None
    • Unknown

    Description

      Entering or leaving the Live Data edit mode re-renders every row and every cell: each cell reads the edit mode through isPropertyVisible (v-show), each row through logic.isEditMode(), and each BaseDisplayer through its own isEditMode. With 15 rows and 6 columns that is about 195 component updates for a mode switch.

      Proposal: compute the visibility once per column and expose the edit mode through a class on the layout, so that cells do not depend on it individually.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: