-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VYZN: (feature) hide/unhide and temporary isolate IFC elements (#617)
* feat: custom viewer api * subset list to dict * remove log statement * fix missing __getIFCViewerAPIMockSingleton * pickByID new implementation * fix: remove resetSelection guard to fix key down callback function lost state * fix: reset selection guard back to fix failing tests and call the from the call back func changed * subsets revisited * unhide all hidden elements * feature: ifc isolator component, incapsulates hide and isolate operations * fix: ids loaded from meshes to insure having visual props * fix: remove unused ifc classes imports * fix: get express ids from model mesh attributes for better performance * fix: reset reveal upon unhide * fix: turn off reveal on unhide all * feat: hide/unhide icons in nav tree for spatial structures and root aggregators * fix: failing unit tests * linter fixes * fix: reveal hidden elements material's depthTest * re-evaluate reveal subset if on when hiding again * fix: ifc viewer highlighter * remove unused imports * fix: disable hide icons on temp isolation mode * reflect isoaltor status to selected elements store * unit test for hide element by the tree icons * toggle hide icon e2e test * fix post processor * fix failing cadview tests * fix: placemarks broke the other post processing effects * fix: remove singleton post-processor * fix: space typo * fix: disable lint error * fix: maintain hidden elements when viewer changes * fix: align hide icons to right --------- Signed-off-by: Pablo Mayrgundter <pablo.mayrgundter@gmail.com> Co-authored-by: Ibrahim Saad <ibrahim.saad@xbim.net> Co-authored-by: OlegMoshkovich <oleg.mosh@gmail.com> Co-authored-by: Pablo Mayrgundter <pablo.mayrgundter@gmail.com>
- Loading branch information
1 parent
9ca69dd
commit ca07d4d
Showing
23 changed files
with
793 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
describe('Ifc Hide/Unhide E2E test suite', () => { | ||
context('Hide icon toggle', () => { | ||
beforeEach(() => { | ||
cy.setCookie('isFirstTime', 'false') | ||
cy.visit('/') | ||
}) | ||
|
||
it('should toggle hide icon when clicked', () => { | ||
cy.findByTestId('hide-icon').should('exist') | ||
cy.findByTestId('hide-icon').should('have.attr', 'data-icon', 'eye') | ||
cy.findByTestId('hide-icon').realClick() | ||
cy.findByTestId('hide-icon').should('have.attr', 'data-icon', 'eye-slash') | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.