Skip to content

Commit

Permalink
feat: remove builder button (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Feb 28, 2023
1 parent 9a66b41 commit 967addc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions cypress/e2e/main.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ describe('Main Screen', () => {
items: [GRAASP_DOCUMENT_ITEM, ...FOLDER_WITH_SUBFOLDER_ITEM.items],
});
});
it('Show Builder button', () => {
cy.visit(buildMainPath({ rootId: GRAASP_DOCUMENT_ITEM.id, id: null }));
cy.get(`#${BUILDER_EDIT_BUTTON_ID}`).should('be.visible').click();
});
// todo: check that the builder can be accessed using the navigation
});
});
2 changes: 0 additions & 2 deletions src/components/common/SideContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
import { ITEM_TYPES } from '../../enums';
import { getParentsIdsFromPath } from '../../utils/item';
import { LayoutContext } from '../context/LayoutContext';
import BuilderButton from './BuilderButton';
import Chatbox from './Chatbox';
import Item from './Item';
import SideDrawer from './SideDrawer';
Expand Down Expand Up @@ -182,7 +181,6 @@ const SideContent = ({ children, item }) => {

{displayPinButton()}

<BuilderButton id={item.id} />

{children}
</StyledMain>
Expand Down

0 comments on commit 967addc

Please sign in to comment.