Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…5108) * console: fix checkbox for forwarding client headers in actions (close #4595) (#4669) * console: fix bulk selected rows state in data browser (close #4654) (#4673) * console: fix displaying boolean values in Edit Row tab (#4682) * console: fix regression in editing permissions manually (fix #4683) (#4826) * console: fix "Cannot read property 'foldable'" runtime error in `Browse Rows` page (fix #4907) (#5016) * console: fix enum tables reload data button UI (close #4647) (#4877)
- Loading branch information
Aleksandra Sikora
committed
Jun 16, 2020
1 parent
e91e30d
commit ece895f
Showing
21 changed files
with
516 additions
and
345 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
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 was deleted.
Oops, something went wrong.
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,32 @@ | ||
import React from 'react'; | ||
import OverlayTrigger from 'react-bootstrap/lib/OverlayTrigger'; | ||
import Tooltip from 'react-bootstrap/lib/Tooltip'; | ||
import styles from './Tooltip.scss'; | ||
|
||
const tooltipGen = (message: string) => { | ||
return <Tooltip id={message}>{message}</Tooltip>; | ||
}; | ||
export interface TooltipProps extends React.ComponentProps<'i'> { | ||
message: string; | ||
placement?: 'right' | 'left' | 'top' | 'bottom'; | ||
className?: string; | ||
tooltipStyle?: string; | ||
} | ||
|
||
const ToolTip: React.FC<TooltipProps> = ({ | ||
message, | ||
placement = 'right', | ||
tooltipStyle = '', | ||
children, | ||
}) => ( | ||
<OverlayTrigger placement={placement} overlay={tooltipGen(message)}> | ||
{children || ( | ||
<i | ||
className={`fa fa-info-circle ${styles.tooltipIcon} ${tooltipStyle}`} | ||
aria-hidden="true" | ||
/> | ||
)} | ||
</OverlayTrigger> | ||
); | ||
|
||
export default ToolTip; |
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
32 changes: 0 additions & 32 deletions
32
console/src/components/Services/Data/Common/Components/ReloadEnumValuesButton.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.