center-for-threat-informed-defense / mappings-explorer

Mappings Explorer enables cyber defenders to understand how security controls and capabilities map onto the adversary behaviors catalogued in the MITRE ATT&CK® knowledge base. These mappings form a bridge between the threat-informed approach to cybersecurity and the traditional security controls perspective.
https://ctid.io/mappings-explorer
Apache License 2.0
38 stars 10 forks source link

Mapex 98 add "i" next to search on tables #39

Closed allisonrobbins closed 8 months ago

allisonrobbins commented 9 months ago

add info icon next to table search input and have a tooltip when user hovers over it

Because the search component is generated by the bootstrap-table library, I can't edit these elements into the html - I used the :before and :after psuedo elements to achieve this instead. Unfortunately, there are limitations like not being able to click a link on the tooltip. I'm also not able to change the placeholder text on the search- tried to use javascript to do it, but because of when the search elements are rendered, I'm unable to query to find the elements

In the future, could spend more time trying to change the placeholder text, but wanted to get an initial PR in for this.

github-actions[bot] commented 9 months ago

This PR has been published to https://mappingsexplorer.z13.web.core.windows.net/MAPEX-98-Add-next-to-search-on-Tables/

mehaase commented 8 months ago

@allisonrobbins Looks good. There's a very small merge conflict on main.css. I was about to resolve it myself but part of the conflict looks like 2 CSS selectors that are commented out, so you might just want to delete those selectors? After you resolve conflicts, I'll merge this branch.

github-actions[bot] commented 8 months ago

This PR has been published to https://mappingsexplorer.z13.web.core.windows.net/MAPEX-98-Add-next-to-search-on-Tables/