From 13aaa642d3376b6381a5b8093493951bf78e02bb Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 16 Jun 2021 15:42:05 +0530 Subject: [PATCH] feature(ui): assist - wip --- frontend/app/duck/sessions.js | 8 ++++++++ frontend/app/svg/icons/camera-video-off.svg | 2 +- frontend/app/svg/icons/camera-video.svg | 2 +- frontend/app/svg/icons/controller.svg | 4 ++++ frontend/app/svg/icons/mic-mute.svg | 2 +- frontend/app/svg/icons/mic.svg | 2 +- frontend/app/svg/icons/person.svg | 3 +++ frontend/app/svg/icons/telephone-fill.svg | 3 +++ frontend/app/svg/icons/telephone.svg | 3 +++ 9 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 frontend/app/svg/icons/controller.svg create mode 100644 frontend/app/svg/icons/person.svg create mode 100644 frontend/app/svg/icons/telephone-fill.svg create mode 100644 frontend/app/svg/icons/telephone.svg diff --git a/frontend/app/duck/sessions.js b/frontend/app/duck/sessions.js index 475f98177..726b9250e 100644 --- a/frontend/app/duck/sessions.js +++ b/frontend/app/duck/sessions.js @@ -12,6 +12,7 @@ const INIT = 'sessions/INIT'; const FETCH_LIST = new RequestTypes('sessions/FETCH_LIST'); const FETCH = new RequestTypes('sessions/FETCH'); const FETCH_FAVORITE_LIST = new RequestTypes('sessions/FETCH_FAVORITE_LIST'); +const FETCH_LIVE_LIST = new RequestTypes('sessions/FETCH_LIVE_LIST'); const TOGGLE_FAVORITE = new RequestTypes('sessions/TOGGLE_FAVORITE'); const FETCH_ERROR_STACK = new RequestTypes('sessions/FETCH_ERROR_STACK'); const SORT = 'sessions/SORT'; @@ -252,6 +253,13 @@ export function fetchFavoriteList() { }; } +export function fetchLiveList() { + return { + types: FETCH_LIVE_LIST.toArray(), + call: client => client.get('/sessions2/favorite'), + }; +} + export function sort(sortKey, sign = 1, listName = 'list') { return { type: SORT, diff --git a/frontend/app/svg/icons/camera-video-off.svg b/frontend/app/svg/icons/camera-video-off.svg index 7635e9b5c..17dcd971a 100644 --- a/frontend/app/svg/icons/camera-video-off.svg +++ b/frontend/app/svg/icons/camera-video-off.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/frontend/app/svg/icons/camera-video.svg b/frontend/app/svg/icons/camera-video.svg index 199e7a837..568193ff7 100644 --- a/frontend/app/svg/icons/camera-video.svg +++ b/frontend/app/svg/icons/camera-video.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/frontend/app/svg/icons/controller.svg b/frontend/app/svg/icons/controller.svg new file mode 100644 index 000000000..15e777456 --- /dev/null +++ b/frontend/app/svg/icons/controller.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/frontend/app/svg/icons/mic-mute.svg b/frontend/app/svg/icons/mic-mute.svg index 5a520a12f..b88c405d2 100644 --- a/frontend/app/svg/icons/mic-mute.svg +++ b/frontend/app/svg/icons/mic-mute.svg @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/frontend/app/svg/icons/mic.svg b/frontend/app/svg/icons/mic.svg index 57be2e560..ff4015706 100644 --- a/frontend/app/svg/icons/mic.svg +++ b/frontend/app/svg/icons/mic.svg @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/frontend/app/svg/icons/person.svg b/frontend/app/svg/icons/person.svg new file mode 100644 index 000000000..98de1b339 --- /dev/null +++ b/frontend/app/svg/icons/person.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/frontend/app/svg/icons/telephone-fill.svg b/frontend/app/svg/icons/telephone-fill.svg new file mode 100644 index 000000000..efc72c073 --- /dev/null +++ b/frontend/app/svg/icons/telephone-fill.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/frontend/app/svg/icons/telephone.svg b/frontend/app/svg/icons/telephone.svg new file mode 100644 index 000000000..8e359b825 --- /dev/null +++ b/frontend/app/svg/icons/telephone.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file