From 869bab8ab025d90591063a1227b4c186c58a770b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 19 Nov 2018 07:11:16 +0100 Subject: [PATCH 1/4] Standarize Text at Teams Menu --- client/src/views/layout/header/imports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/layout/header/imports.js b/client/src/views/layout/header/imports.js index e32cd1fb8..1ba8a0a02 100644 --- a/client/src/views/layout/header/imports.js +++ b/client/src/views/layout/header/imports.js @@ -30,7 +30,7 @@ const teamsMenus = { to: '/teams', icon: Home, submenus: [ - { title: 'Explore teams', to: '/teams/explore', icon: Search }, + { title: 'Directory', to: '/teams/explore', icon: ImportContacts }, { title: 'Your teams', to: '/teams/manage-teams', icon: Group, authenticated: true }, { title: 'Team members', to: '/teams/team-members', icon: People, authenticated: true }, { title: 'Financial beings', to: '/teams/financial-beings', icon: Adb, authenticated: true }, From a850ef11845d3f50aac536df8bc47fc97f5ff1b1 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 19 Nov 2018 07:14:03 +0100 Subject: [PATCH 2/4] Reposition Menu Item to standarize --- client/src/views/layout/header/imports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/layout/header/imports.js b/client/src/views/layout/header/imports.js index 1ba8a0a02..692aa1908 100644 --- a/client/src/views/layout/header/imports.js +++ b/client/src/views/layout/header/imports.js @@ -18,9 +18,9 @@ const usersMenus = { to: '/users', icon: Home, submenus: [ - { title: 'Your Profile', to: '/users/user', icon: People, authenticated: true }, { title: 'Directory', to: '/users/browse', icon: ImportContacts }, { title: 'Search', to: '/users/search', icon: Search }, + { title: 'Your Profile', to: '/users/user', icon: People, authenticated: true }, { title: 'Report a Bug', to: 'https://github.com/AdvancedAlgos/UsersModule/issues/new', icon: BugReport, externalLink: true } ] } From d42cc163069618216d9bd5cbaf99aa43ff6116e8 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 19 Nov 2018 07:16:20 +0100 Subject: [PATCH 3/4] Event Menu standarized --- client/src/views/layout/header/imports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/layout/header/imports.js b/client/src/views/layout/header/imports.js index 692aa1908..8648a23b3 100644 --- a/client/src/views/layout/header/imports.js +++ b/client/src/views/layout/header/imports.js @@ -43,7 +43,7 @@ const eventsMenus = { to: '/events', icon: Home, submenus: [ - { title: 'All events', to: '/events', icon: Search }, + { title: 'Directory', to: '/events', icon: ImportContacts }, { title: 'Your events', to: '/events/my', icon: GamepadRounded, authenticated: true }, { title: 'Your hosted events', to: '/events/host', icon: AccessibilityNew, authenticated: true }, { title: 'Host an event', to: '/events/create', icon: LibraryAdd, authenticated: true }, From 596eb7b59c1e1f7e7ab4ee6ee270917947f8892c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 22 Nov 2018 20:51:38 +0100 Subject: [PATCH 4/4] Error handling for onResize of the Canvas App --- client/html/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/html/index.html b/client/html/index.html index 5de3933a4..2c4729474 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -35,10 +35,16 @@ loadAdvancedAlgosPlatform(); } } + function onResize(){ + if (window.canvasApp === undefined) {return} + if (window.canvasApp.eventHandler === undefined) {return} + window.canvasApp.eventHandler.raiseEvent('Browser Resized') + } + - +