feat(map): context menu
2 unresolved threads
2 unresolved threads
In useOlMapListener
I've added listener for context menu. If user click on map with right button, context menu will appear. in onMapRightClick
util, we are searching is there any matching bioEntity. If there is, we save it's id and we are looking for UniProtID.
Test file for ContextMenu.component
will be added in next PR.
Edited by Mateusz Bolewski
Merge request reports
Activity
Filter activity
assigned to @MateuszBolewski
mentioned in merge request !84 (merged)
added 18 commits
-
50a28822...affe8fdc - 17 commits from branch
development
- 2cc75cf8 - Merge branch 'development' of ssh://gitlab.lcsb.uni.lu:8022/minerva/frontend into feat/context-menu
-
50a28822...affe8fdc - 17 commits from branch
added 3 commits
-
cbf4e4f5...a185dfbb - 2 commits from branch
development
- db3de4da - Merge branch 'development' of ssh://gitlab.lcsb.uni.lu:8022/minerva/frontend into feat/context-menu
-
cbf4e4f5...a185dfbb - 2 commits from branch
49 62 // eslint-disable-next-line consistent-return 50 63 return () => unByKey(key); 51 64 }, [mapInstance, handleMapSingleClick]); 65 66 useEffect(() => { added 5 commits
-
8fd53ab6...fc11105a - 4 commits from branch
development
- 4051c522 - Merge branch 'development' of ssh://gitlab.lcsb.uni.lu:8022/minerva/frontend into feat/context-menu
-
8fd53ab6...fc11105a - 4 commits from branch
added 2 commits
1 import { contextMenuSelector } from '@/redux/contextMenu/contextMenu.selector'; 2 import { useAppSelector } from '@/redux/hooks/useAppSelector'; 3 import React from 'react'; 4 import { twMerge } from 'tailwind-merge'; 5 import { searchedBioEntityElementUniProtIdSelector } from '@/redux/bioEntity/bioEntity.selectors'; 6 import { FIRST_ARRAY_ELEMENT, SECOND_ARRAY_ELEMENT } from '@/constants/common'; 7 8 export const ContextMenu = (): React.ReactNode => { added 2 commits
mentioned in commit 33770a77
Please register or sign in to reply