Skip to content

Commit

Permalink
Disable incomplete features for prod release
Browse files Browse the repository at this point in the history
  • Loading branch information
entrotech committed Nov 13, 2024
1 parent 7cc3196 commit b78bedd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Layout/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const NavBar = ({ navbarOpen, setNavbarOpen }) => {
Feedback
</NavLink>
</li>
<li className={classes.linkBlock}>
<li className={classes.linkBlock} style={{ display: "none" }}>
<NavLink
className={classes.link}
to="/submit"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const useStyles = createUseStyles({
level0Message: {
marginTop: "20px",
maxWidth: "800px",
backgroundColor: "#F9DFDA",
color: "#B64E38",
backgroundColor: "white",
color: "black",
fontSize: "22px",
lineHeight: "38px",
padding: "60px 48px 40px",
Expand Down
2 changes: 2 additions & 0 deletions client/src/components/Projects/ProjectContextMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ const ProjectContextMenu = ({
<li
className={classes.listItem}
onClick={() => handleClick(handleShareSnapshotModalOpen)}
// Temporarily hide the button until we get related features working.
style={{ display: "none" }}
>
<MdOutlineIosShare
className={classes.listItemIcon}
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Projects/ProjectsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ const ProjectsPage = ({ contentContainerRef }) => {
{
id: "dro",
label: "DRO",
popupType: "text"
popupType: null // temporarily disable filtering by DRO, as it crashes
},

...(userContext.account?.isAdmin
Expand Down

0 comments on commit b78bedd

Please sign in to comment.