Skip to content

Commit

Permalink
feat: Rework Category and App Cards - MEED-6990 - Meeds-io/MIPs#139 (#99
Browse files Browse the repository at this point in the history
)
  • Loading branch information
boubaker authored and SaraBoutej committed Aug 29, 2024
1 parent 848ff73 commit 20c7d33
Show file tree
Hide file tree
Showing 47 changed files with 81 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Container entfernen
layout.addApplication=Anwendung hinzuf\u00fcgen
layout.moveCell=Zelle verschieben
layout.resizeCell=Zelle skalieren
layout.addApplicationFromCategoryTitle=Applikation hinzuf\u00fcgen

layout.editApplication=App bearbeiten
layout.deleteApplication=App l\u00f6schen
layout.editApplicationTitle=Bearbeiten: {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Supprimer le conteneur
layout.addApplication=Ajouter une application
layout.moveCell=D\u00e9placer la cellule
layout.resizeCell=Redimensionner la cellule
layout.addApplicationFromCategoryTitle=Ajouter une application
layout.editApplication=Modifier
layout.deleteApplication=Supprimer
layout.editApplicationTitle=Modifier {0} ({1})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container
layout.addApplication=Add Application
layout.moveCell=Move cell
layout.resizeCell=Resize cell
layout.addApplicationFromCategoryTitle=Add an application

layout.editApplication=Edit application
layout.deleteApplication=Delete application
layout.editApplicationTitle=Edit {0} {1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,6 @@ export default {
this.$refs.sectionEditDrawer.open(parentContainer.children[index], index, parentContainer.children.length);
}
},
openApplicationDrawer(applications) {
this.$refs.applicationDrawer.open(applications);
},
openApplicationCategoryDrawer(sectionId, container) {
this.$root.selectedSectionId = sectionId;
this.$root.selectedCells = [container];
Expand All @@ -222,7 +219,7 @@ export default {
this.$layoutUtils.isBetween(c.colIndex, selection.fromColIndex, selection.toColIndex)
&& this.$layoutUtils.isBetween(c.rowIndex, selection.fromRowIndex, selection.toRowIndex)
) || [];
this.$refs.applicationDrawer.open();
this.$refs.applicationCategoryDrawer.open();
} else {
console.warn(`Can't find section with id ${this.$root.selectedSectionId}`); // eslint-disable-line no-console
}
Expand Down
Loading

0 comments on commit 20c7d33

Please sign in to comment.