Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-34952

Column & Card views have constant ordering

    XMLWordPrintable

Details

    • Tree
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • Hide
      Order for default Box types: https://wiki.softwareplant.com/pages/viewpage.action?pageId=279685458

      To determine which views/box types are default and which aren't it's enough to match them by name (not sure if we have any other way to match them)
      Show
      Order for default Box types: https://wiki.softwareplant.com/pages/viewpage.action?pageId=279685458 To determine which views/box types are default and which aren't it's enough to match them by name (not sure if we have any other way to match them)
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • No
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18807"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}

    Description

      Before change:

      Order of Card & Column views is random

      After change:

      • Card & Column views are stored on backend in order for both Boxes and Box Types
      • Public views and private views have separate orders: public are always higher than private
      • The first view from the list is always default (when local storage is empty)
      • Boxes copy the order from their Box Types when created
      • New views are put at the end of the ordering

      Data changes/migration:

      1. Default Box Types have default views set to their default order
        • If non-default views are present, they are put after all default ones in the order described in point 3
      2. Boxes created from default Box Types have views set to their default order
        • If non-default views are present, they are put after all default ones in the order described in point 3
      3. All views in non-default Box types are set in alphabetical order

      Attachments

        Issue Links

          People

            sebastian.janda Sebastian Janda
            maciej.bartylak Maciej Bartylak
            system.jenkins Jenkins , mateusz.wyzinski Mateusz Wyzinski , dominik.kowalik Dominik Kowalik , marta.kucharska Marta Pastor (Kucharska) , kamila.kornatko Kamila Kornatko , wojciech.uniszewski Wojciech Uniszewski (Inactive) , katarzyna.rajchert Katarzyna Rajchert , tom.kucharski Tom Kucharski , system.gerrit Gerrit , sebastian.janda Sebastian Janda , maciej.bartylak Maciej Bartylak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: