Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-418

Add the possibility to tag, categorize or add keyword to project in the administration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.LATER
    • Component/s: None
    • Labels:
      None
    • Internal review:
      1 - Middle term
    • Estimation:
      2 - Normal

      Description

      • Define a ChooseProjectTag.js which call Ametys.cms.uihelper.ChooseTagHelper (see ChooseTag.js in the cms)
      • Define a create action in the ProjectTagAction.js to be call by the ChooseTagHelper
        create: function (parentId, callback)
        {
        Ametys.plugins.workspaces.project.tag.ProjectTagActions._initFormPanel();
        
        Ametys.plugins.cms.tag.TagHelper.add(
        parentId,
        Ametys.plugins.workspaces.project.tag.ProjectTagActions._formPanel,
        Ametys.message.MessageTarget.PROJECT_TAG,
        "org.ametys.plugins.workspaces.tags.ProjectJCRTagsDAO",
        null
        );
        }

         

      • Define a pipeline tags.json to getAll the tags
      • Define an action GetProjectTagsAction which extends AbstractGetTagsAction
        Handle rights in this action
      • define a ProjectTagDAO which extends AbstractTagsDAO
      • Define a right to tag a project
      • Define a ProjectTreePanel.js which extends Ametys.plugins.cms.tag.TagsTreePanel
      • Define a AffectProjectTagAction.js to launch action to selectTag

        Attachments

        1. AffectProjectTagAction.js
          5 kB
        2. ChooseProjectTag.js
          7 kB
        3. GetProjectTagsAction.java
          4 kB
        4. ProjectTagsDAO.java
          1 kB
        5. ProjectTagsTreePanel.js
          1 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lbouchet Loïc Bouchet
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: