Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit dd46a9e

Browse files
authored
Merge pull request #2 from sendbird/feature/calls-700
[CALLS-700]Call history design implementation
2 parents 55c9cc8 + 30ebe82 commit dd46a9e

29 files changed

+912
-157
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
.DS_Store

css/main.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
body {
1616
margin: 0 auto;
17+
overflow: hidden;
1718
}
1819

1920
.center {
@@ -150,6 +151,7 @@ body {
150151
display: flex;
151152
width: 100vw;
152153
height: 100vh;
154+
overflow: hidden;
153155
}
154156

155157
.container {
@@ -253,3 +255,17 @@ button label {
253255
right: 16px;
254256
bottom: 16px;
255257
}
258+
259+
::-webkit-scrollbar {
260+
width: 5px; /* 세로축 스크롤바 길이 */
261+
}
262+
::-webkit-scrollbar-track {
263+
background-color: transparent;
264+
}
265+
::-webkit-scrollbar-track-piece {
266+
background-color: transparent;
267+
}
268+
::-webkit-scrollbar-thumb {
269+
border-radius: 8px;
270+
background-color: gray;
271+
}

js/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import MainApp from "../lib/components/MainApp";
33
import DialView from "../lib/views/DialView";
44
import CallView from "../lib/views/CallView";
55
import LoginView from "../lib/views/LoginView";
6+
import CallLogView from "../lib/views/CallLogView";
67
import { ACCESS_TOKEN, IS_ACCESS_TOKEN_NEEDED, TEST_APP_ID, USER_ID } from "../envs";
78

89
function onLoadedHandler() {
@@ -12,7 +13,8 @@ function onLoadedHandler() {
1213
'index': LoginView,
1314
'login_view': LoginView,
1415
'dial_view': DialView,
15-
'call_view': CallView
16+
'call_view': CallView,
17+
'calllog_view': CallLogView
1618
},
1719
styles: {},
1820
args: {

js/widget.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import "../css/main.css";
22
import LoginView from "../lib/views/LoginView";
33
import CallView from "../lib/views/CallView";
44
import DialView from "../lib/views/DialView";
5+
import CallLogView from "../lib/views/CallLogView";
56
import { TEST_APP_ID, USER_ID, ACCESS_TOKEN, IS_ACCESS_TOKEN_NEEDED } from "../envs.js";
67
import WidgetApp from "../lib/components/WidgetApp";
78

@@ -13,7 +14,8 @@ function onLoadedHandler() {
1314
'index': LoginView,
1415
'login_view': LoginView,
1516
'dial_view': DialView,
16-
'call_view': CallView
17+
'call_view': CallView,
18+
'calllog_view': CallLogView
1719
},
1820
styles: {
1921
},
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

lib/assets/ic-call-filled.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

lib/assets/ic-layout-default.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)