File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
app/ide-desktop/lib/dashboard/src
authentication/src/dashboard/components Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
/** @file Main dashboard component, responsible for listing user's projects as well as other
2
2
* interactive components. */
3
3
4
- import * as auth from '../../authentication/providers/auth'
5
-
6
4
// =================
7
5
// === Dashboard ===
8
6
// =================
9
7
10
8
function Dashboard ( ) {
11
- const { signOut } = auth . useAuth ( )
12
- const { accessToken } = auth . useFullUserSession ( )
13
9
return (
14
10
< >
15
- < h1 > This is a placeholder page for the cloud dashboard.</ h1 >
16
- < p > Access token: { accessToken } </ p >
17
- < button onClick = { signOut } > Log out</ button >
11
+ { /* These are placeholders. When implementing a feature,
12
+ * please replace the appropriate placeholder with the actual element.*/ }
13
+ < div id = "header" />
14
+ < div id = "templates" />
15
+ < div id = "drive-header" />
16
+ < div id = "directory-listing" />
18
17
</ >
19
18
)
20
19
}
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ const ESBUILD_EVENT_NAME = 'change'
16
16
// === Live reload ===
17
17
// ===================
18
18
19
+ import * as authentication from 'enso-authentication'
20
+
21
+ import * as platform from './authentication/src/platform'
22
+
19
23
if ( IS_DEV_MODE ) {
20
24
new EventSource ( ESBUILD_PATH ) . addEventListener ( ESBUILD_EVENT_NAME , ( ) => {
21
25
location . reload ( )
You can’t perform that action at this time.
0 commit comments