From 2c92540471004c79e317e8a0daf3e612560beda7 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Thu, 5 May 2016 09:32:12 -0400 Subject: [PATCH] PLT-2698 Integrations improvements (#2883) * Fixed Integrations link to show up for non-admins (when enabled) and when only slash commands are enabled * Updated BackstageSidebar to only show enabled integrations * Added placeholder to integrations list when none exist * Added loading spinner to integrations pages when they're loading --- .../backstage/backstage_category.jsx | 4 + .../backstage/backstage_sidebar.jsx | 75 ++++++++++++------- .../backstage/installed_commands.jsx | 27 +++---- .../backstage/installed_incoming_webhooks.jsx | 25 ++++--- .../backstage/installed_integrations.jsx | 25 ++++++- .../backstage/installed_outgoing_webhooks.jsx | 25 ++++--- webapp/components/navbar_dropdown.jsx | 28 +++---- webapp/i18n/en.json | 3 + 8 files changed, 133 insertions(+), 79 deletions(-) diff --git a/webapp/components/backstage/backstage_category.jsx b/webapp/components/backstage/backstage_category.jsx index 913c7562c6..8e6c8541bd 100644 --- a/webapp/components/backstage/backstage_category.jsx +++ b/webapp/components/backstage/backstage_category.jsx @@ -40,6 +40,10 @@ export default class BackstageCategory extends React.Component {