Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2534

Planner previews to be hidden (or not displayed in the users' personal folder)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.4, 2.3.5
    • Component/s: Planner
    • Labels:
      None

      Description

      When previewing a sequence from the planner, we import the sequence into the user's personal folder. However, that has proven to be confusing as the user might just be "browsing thru designs".

      Therefore for previews we should:

      1) Put these sequences in a subfolder (within the user's personal folder) called Previews-Planner

      2) Put them in a central common folder workspace that no user has access to

        Activity

        Hide
        dronych Andrey Balan added a comment -
        Planner now creates and uses one common folder "Preview Planner" for storing all imported designs.
        The folder's type is PUBLIC_SEQUENCES so everybody is allowed to access and modify it.
        (so no probs with permissions).

        And to prevent users from seeing it I put it into the default folder of Root organization.
        (gotten in this way: userManagementService.getRootOrganisation().getWorkspace().getDefaultFolder();)
        so my assumption is that this folder always exists.
        could you please confirm this?


        also *all* imported designs are being stored in this folder (imported either for previewing or editing in Planner).
        if it's ok or we need to hide only the previewed ones?
        Show
        dronych Andrey Balan added a comment - Planner now creates and uses one common folder "Preview Planner" for storing all imported designs. The folder's type is PUBLIC_SEQUENCES so everybody is allowed to access and modify it. (so no probs with permissions). And to prevent users from seeing it I put it into the default folder of Root organization. (gotten in this way: userManagementService.getRootOrganisation().getWorkspace().getDefaultFolder();) so my assumption is that this folder always exists. could you please confirm this? also *all* imported designs are being stored in this folder (imported either for previewing or editing in Planner). if it's ok or we need to hide only the previewed ones?
        Hide
        ernieg Ernie Ghiglione added a comment -
        Great! Now previews don't seen as sequences in the user folder... that's great!

        However, now if I open a design in the planner and click on "Save" then, the design is not saved in *my* personal folder... instead, I assume, it's saved in the common catch all folder.

        Also, if I click on "Open in Full Author", this also saves the sequence in the common catch all folder.. so I can see the sequence, and I can save... so say that I've been modifying my sequence to be used in my class... but when I can't access it because it is not in my folder.

        So, preview sequences to be saved in the catch all folder... save designs have to be saved in my personal folder (as well as when I choose the "Open Full Author" button)
        Show
        ernieg Ernie Ghiglione added a comment - Great! Now previews don't seen as sequences in the user folder... that's great! However, now if I open a design in the planner and click on "Save" then, the design is not saved in *my* personal folder... instead, I assume, it's saved in the common catch all folder. Also, if I click on "Open in Full Author", this also saves the sequence in the common catch all folder.. so I can see the sequence, and I can save... so say that I've been modifying my sequence to be used in my class... but when I can't access it because it is not in my folder. So, preview sequences to be saved in the catch all folder... save designs have to be saved in my personal folder (as well as when I choose the "Open Full Author" button)
        Hide
        ernieg Ernie Ghiglione added a comment -
        Just so you know what "Save" button I'm talking about... you can disregard the missing labels.
        Show
        ernieg Ernie Ghiglione added a comment - Just so you know what "Save" button I'm talking about... you can disregard the missing labels.
        Hide
        dronych Andrey Balan added a comment -
        done for both versions
        Show
        dronych Andrey Balan added a comment - done for both versions
        Hide
        ernieg Ernie Ghiglione added a comment -
        Tested and closed!
        Show
        ernieg Ernie Ghiglione added a comment - Tested and closed!

          People

          • Assignee:
            dronych Andrey Balan
            Reporter:
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development