Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
f7df3e6e
Commit
f7df3e6e
authored
Mar 15, 2021
by
aniket-engg
Committed by
Aniket
Mar 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
current placing updated
parent
0f4031f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
file-explorer-menu.tsx
libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx
+2
-2
remix-ui-workspace.tsx
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+5
-5
No files found.
libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx
View file @
f7df3e6e
...
@@ -16,12 +16,12 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
...
@@ -16,12 +16,12 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
},
},
{
{
action
:
'publishToGist'
,
action
:
'publishToGist'
,
title
:
'Publish all the workspace files (only root) to a github gist'
,
title
:
'Publish all the
current
workspace files (only root) to a github gist'
,
icon
:
'fab fa-github'
icon
:
'fab fa-github'
},
},
{
{
action
:
'uploadFile'
,
action
:
'uploadFile'
,
title
:
'Load a local file into workspace'
,
title
:
'Load a local file into
current
workspace'
,
icon
:
'fa fa-upload'
icon
:
'fa fa-upload'
},
},
{
{
...
...
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
View file @
f7df3e6e
...
@@ -131,7 +131,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -131,7 +131,7 @@ export const Workspace = (props: WorkspaceProps) => {
/* workspace creation, renaming and deletion */
/* workspace creation, renaming and deletion */
const
renameCurrentWorkspace
=
()
=>
{
const
renameCurrentWorkspace
=
()
=>
{
modal
(
'Rename Workspace'
,
renameModalMessage
(),
{
modal
(
'Rename
Current
Workspace'
,
renameModalMessage
(),
{
label
:
'OK'
,
label
:
'OK'
,
fn
:
onFinishRenameWorkspace
fn
:
onFinishRenameWorkspace
},
{
},
{
...
@@ -151,7 +151,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -151,7 +151,7 @@ export const Workspace = (props: WorkspaceProps) => {
}
}
const
deleteCurrentWorkspace
=
()
=>
{
const
deleteCurrentWorkspace
=
()
=>
{
modal
(
'Delete
Workspace'
,
'Are you sure to delete the
workspace?'
,
{
modal
(
'Delete
Current Workspace'
,
'Are you sure to delete the current
workspace?'
,
{
label
:
'OK'
,
label
:
'OK'
,
fn
:
onFinishDeleteWorkspace
fn
:
onFinishDeleteWorkspace
},
{
},
{
...
@@ -327,7 +327,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -327,7 +327,7 @@ export const Workspace = (props: WorkspaceProps) => {
createWorkspace
()
createWorkspace
()
}
}
}
}
className=
'far fa-plus-square remixui_menuicon'
className=
'far fa-plus-square remixui_menuicon'
title=
'Create
workspace
'
>
title=
'Create'
>
</
span
>
</
span
>
<
span
<
span
hidden=
{
state
.
currentWorkspace
===
LOCALHOST
||
state
.
currentWorkspace
===
NO_WORKSPACE
}
hidden=
{
state
.
currentWorkspace
===
LOCALHOST
||
state
.
currentWorkspace
===
NO_WORKSPACE
}
...
@@ -338,7 +338,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -338,7 +338,7 @@ export const Workspace = (props: WorkspaceProps) => {
renameCurrentWorkspace
()
renameCurrentWorkspace
()
}
}
}
}
className=
'far fa-edit remixui_menuicon'
className=
'far fa-edit remixui_menuicon'
title=
'Rename
workspace
'
>
title=
'Rename'
>
</
span
>
</
span
>
<
span
<
span
hidden=
{
state
.
currentWorkspace
===
LOCALHOST
||
state
.
currentWorkspace
===
NO_WORKSPACE
}
hidden=
{
state
.
currentWorkspace
===
LOCALHOST
||
state
.
currentWorkspace
===
NO_WORKSPACE
}
...
@@ -349,7 +349,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -349,7 +349,7 @@ export const Workspace = (props: WorkspaceProps) => {
deleteCurrentWorkspace
()
deleteCurrentWorkspace
()
}
}
}
}
className=
'fas fa-trash'
className=
'fas fa-trash'
title=
'Delete
workspace
'
>
title=
'Delete'
>
</
span
>
</
span
>
</
span
>
</
span
>
<
select
id=
"workspacesSelect"
data
-
id=
"workspacesSelect"
onChange=
{
(
e
)
=>
setWorkspace
(
e
.
target
.
value
)
}
className=
"form-control custom-select"
>
<
select
id=
"workspacesSelect"
data
-
id=
"workspacesSelect"
onChange=
{
(
e
)
=>
setWorkspace
(
e
.
target
.
value
)
}
className=
"form-control custom-select"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment