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

Commit b2a8f50

Browse files
committed
Appling call-log UI design on a quickstart-calls sample.
1. Add CallLogView Component. 2. Add CallLogItem Component. 3. Add Header Component. 4. Add TabToolBar Component. 5. Add design Images. 6. Call-Log UI Desing apply. 7. when scroll reached to the bottom, get next call log query
1 parent 55c9cc8 commit b2a8f50

25 files changed

+746
-153
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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ body {
150150
display: flex;
151151
width: 100vw;
152152
height: 100vh;
153+
overflow: hidden;
153154
}
154155

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

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
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)