From 28482627f707712dc97c7211970ddf4a41e5c22c Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 8 Dec 2018 16:59:29 +0900 Subject: [PATCH] improve user-integration display in the user page (#3541) * improve user-integration display in the user page * delete unnecessary comma --- .../desktop/views/pages/user/user.discord.vue | 28 --------- .../desktop/views/pages/user/user.github.vue | 28 --------- .../user/user.integrations.integration.vue | 14 +++++ .../views/pages/user/user.integrations.vue | 63 +++++++++++++++++++ .../desktop/views/pages/user/user.twitter.vue | 28 --------- .../app/desktop/views/pages/user/user.vue | 15 ++--- 6 files changed, 82 insertions(+), 94 deletions(-) delete mode 100644 src/client/app/desktop/views/pages/user/user.discord.vue delete mode 100644 src/client/app/desktop/views/pages/user/user.github.vue create mode 100644 src/client/app/desktop/views/pages/user/user.integrations.integration.vue create mode 100644 src/client/app/desktop/views/pages/user/user.integrations.vue delete mode 100644 src/client/app/desktop/views/pages/user/user.twitter.vue diff --git a/src/client/app/desktop/views/pages/user/user.discord.vue b/src/client/app/desktop/views/pages/user/user.discord.vue deleted file mode 100644 index 576b6ed46..000000000 --- a/src/client/app/desktop/views/pages/user/user.discord.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - - - diff --git a/src/client/app/desktop/views/pages/user/user.github.vue b/src/client/app/desktop/views/pages/user/user.github.vue deleted file mode 100644 index ec0f21c5a..000000000 --- a/src/client/app/desktop/views/pages/user/user.github.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - - - diff --git a/src/client/app/desktop/views/pages/user/user.integrations.integration.vue b/src/client/app/desktop/views/pages/user/user.integrations.integration.vue new file mode 100644 index 000000000..479122688 --- /dev/null +++ b/src/client/app/desktop/views/pages/user/user.integrations.integration.vue @@ -0,0 +1,14 @@ + + + diff --git a/src/client/app/desktop/views/pages/user/user.integrations.vue b/src/client/app/desktop/views/pages/user/user.integrations.vue new file mode 100644 index 000000000..d796ff932 --- /dev/null +++ b/src/client/app/desktop/views/pages/user/user.integrations.vue @@ -0,0 +1,63 @@ + + + + + diff --git a/src/client/app/desktop/views/pages/user/user.twitter.vue b/src/client/app/desktop/views/pages/user/user.twitter.vue deleted file mode 100644 index d312c8c62..000000000 --- a/src/client/app/desktop/views/pages/user/user.twitter.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - - - diff --git a/src/client/app/desktop/views/pages/user/user.vue b/src/client/app/desktop/views/pages/user/user.vue index 1333d313f..5cd63545f 100644 --- a/src/client/app/desktop/views/pages/user/user.vue +++ b/src/client/app/desktop/views/pages/user/user.vue @@ -12,9 +12,7 @@
- - - + @@ -38,9 +36,7 @@ import XProfile from './user.profile.vue'; import XPhotos from './user.photos.vue'; import XFollowersYouKnow from './user.followers-you-know.vue'; import XFriends from './user.friends.vue'; -import XTwitter from './user.twitter.vue'; -import XGithub from './user.github.vue'; // ?MEM: Don't fix the intentional typo. (XGitHub -> ``) -import XDiscord from './user.discord.vue'; +import XIntegrations from './user.integrations.vue'; export default Vue.extend({ i18n: i18n(), @@ -51,9 +47,7 @@ export default Vue.extend({ XPhotos, XFollowersYouKnow, XFriends, - XTwitter, - XGithub, // ?MEM: Don't fix the intentional typo. (see L41) - XDiscord + XIntegrations }, data() { return { @@ -87,7 +81,8 @@ export default Vue.extend({