From 6079301ec45c6c13a1f8b5f9f6acf52b5a449331 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Thu, 16 Jul 2020 17:42:16 +0300 Subject: Move user list from reactions to its own component, make favs and rts use it --- .../user_list_popover/user_list_popover.js | 13 ++++ .../user_list_popover/user_list_popover.vue | 74 ++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 src/components/user_list_popover/user_list_popover.js create mode 100644 src/components/user_list_popover/user_list_popover.vue (limited to 'src/components/user_list_popover') diff --git a/src/components/user_list_popover/user_list_popover.js b/src/components/user_list_popover/user_list_popover.js new file mode 100644 index 00000000..26d2ed1a --- /dev/null +++ b/src/components/user_list_popover/user_list_popover.js @@ -0,0 +1,13 @@ + +const UserListPopover = { + name: 'UserListPopover', + props: [ + 'users' + ], + components: { + Popover: () => import('../popover/popover.vue'), + UserAvatar: () => import('../user_avatar/user_avatar.vue') + } +} + +export default UserListPopover diff --git a/src/components/user_list_popover/user_list_popover.vue b/src/components/user_list_popover/user_list_popover.vue new file mode 100644 index 00000000..b6b7ab95 --- /dev/null +++ b/src/components/user_list_popover/user_list_popover.vue @@ -0,0 +1,74 @@ + + + + + -- cgit v1.2.3-70-g09d2 From 8e0414dc7c5fd6d86d6f94958fa94e24f33b08c4 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Thu, 16 Jul 2020 17:45:07 +0300 Subject: change class names to not have reacts in them --- .../user_list_popover/user_list_popover.vue | 47 ++++++++++------------ 1 file changed, 22 insertions(+), 25 deletions(-) (limited to 'src/components/user_list_popover') diff --git a/src/components/user_list_popover/user_list_popover.vue b/src/components/user_list_popover/user_list_popover.vue index b6b7ab95..6bd786b3 100644 --- a/src/components/user_list_popover/user_list_popover.vue +++ b/src/components/user_list_popover/user_list_popover.vue @@ -9,27 +9,24 @@
-
+
- + - {{ user.screen_name }} + {{ user.screen_name }}
@@ -45,29 +42,29 @@