Skip to content

Commit

Permalink
Merge pull request #445 from biocompute-objects/24.08.08
Browse files Browse the repository at this point in the history
24.08.08
  • Loading branch information
kee007ney authored Aug 9, 2024
2 parents f60e0f7 + 30c3261 commit 08ec4dc
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
26 changes: 26 additions & 0 deletions client/src/components/FloatingIconComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import * as React from 'react';
import Box from '@mui/material/Box';
import Fab from '@mui/material/Fab';
import TextsmsOutlinedIcon from '@mui/icons-material/TextsmsOutlined';

export default function FloatingActionButtons() {
return (
<Box
sx={{
position: 'fixed',
bottom: 16,
right: 16,
'& > :not(style)': { m: 1 },
}}
>
<Fab
variant="extended"
href="https://github.com/biocompute-objects/portal_userdb/issues/new/choose"
target='_blank'
style={{ textDecoration: 'none' }}>
<TextsmsOutlinedIcon sx={{ mr: 1 }} />
Give Us Feedback
</Fab>
</Box>
);
}
3 changes: 3 additions & 0 deletions client/src/components/builder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import biocomputing from "../../images/biocomputing.gif"
import ThirdBox from "../ThirdBox";
import ErrorBoundary from "../ErrorBoundry";
import HelpPopup from "./HelpBox";
import FloatingActionButtons from '../FloatingIconComponent';

import {
getDraftBco,
getTempDraftBco,
Expand Down Expand Up @@ -203,6 +205,7 @@ export default function BuilderColorCode () {
)
)}
</Stack>
<FloatingActionButtons />
</Grid>
)
}
5 changes: 4 additions & 1 deletion client/src/pages/Bcodbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,10 @@ export default function BcoDbs () {
<Typography>
3. Enter search term:
</Typography>
<Field name='search' label='Search BCO Db' />
<Field
name='search'
label='Search BCO Db'
placeholder="Enter a prefix or BCO ID" />
</Box>
</CardContent>
</Card>
Expand Down

0 comments on commit 08ec4dc

Please sign in to comment.