Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix share dialog #186

Merged
merged 3 commits into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
106 changes: 53 additions & 53 deletions docs/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bldrs",
"version": "1.0.0-r290",
"version": "1.0.0-r276",
"main": "src/index.jsx",
"homepage": "https://github.com/bldrs-ai/Share",
"bugs": {
Expand Down
10 changes: 6 additions & 4 deletions src/Components/OpenModelControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,21 @@ function OpenModelDialog({isDialogDisplayed, setIsDialogDisplayed, fileOpen}) {
setIsDialogDisplayed={setIsDialogDisplayed}
content={
<div className={classes.content}>
{/* <LocalFileOpen/>
<LocalFileOpen/>
<p className={classes.bullet}>
To take advantage of all features of BLDRS, we recommend using GitHub for model hosting.
<br/>
<b>To access models hosted on GitHub, paste the model link into the search bar.</b>
<br/>
For more info visit our &nbsp;
<a
className = {classes.link}
target="_blank"
href = 'https://github.com/bldrs-ai/Share/wiki/GitHub-model-hosting'
href = 'https://github.com/bldrs-ai/Share/wiki/Open-IFC-model-hosted-on-GitHub'
rel="noreferrer">wiki</a>
<br/>
<b>To access models hosted on GitHub, paste the model link into the search bar.</b>
</p> */}

</p>
<LocalFileOpen/>
<p className={classes.bullet}>
<b>Models accessed from local drive cannot be saved or shared.</b>
Expand Down
4 changes: 3 additions & 1 deletion src/Components/ShareControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ function ShareDialog({viewer, isDialogDisplayed, setIsDialogDisplayed}) {
<TextField
value={window.location}
inputRef={urlTextFieldRef}
variant='outlined'/>
variant='outlined'
InputProps={{readOnly: true}}
/>
<ToggleButton
value='copy'
selected={isLinkCopied}
Expand Down