Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/en_US/release_notes_9_12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Bundled PostgreSQL Utilities
New features
************

| `Issue #6451 <https://github.com/pgadmin-org/pgadmin4/issues/6451>`_ - Add new options like INHERIT and SET to the Role's membership tab.
| `Issue #8890 <https://github.com/pgadmin-org/pgadmin4/issues/8890>`_ - Add a new button in the query tool data output toolbar to get entire range of data.
| `Issue #9292 <https://github.com/pgadmin-org/pgadmin4/issues/9292>`_ - Enhance OAUTH2 and OIDC authentication support with improved claims handling and configuration options.

Expand All @@ -52,3 +53,4 @@ Bug fixes
| `Issue #9380 <https://github.com/pgadmin-org/pgadmin4/issues/9380>`_ - Fixed an issue where the Query History panel would auto-scroll to the top and did not preserve the scroll bar position for the selected entry.
| `Issue #9500 <https://github.com/pgadmin-org/pgadmin4/issues/9500>`_ - Fixed an issue where connection parameters were using localized values instead of literal values, causing connection failures.
| `Issue #9518 <https://github.com/pgadmin-org/pgadmin4/issues/9518>`_ - Mask the secret key for restrict option in the process watcher when restoring plain SQL file.
| `Issue #9552 <https://github.com/pgadmin-org/pgadmin4/issues/9552>`_ - Ensure that the tooltip for the password cell is not visible.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function getConnectionParameters() {
}, {
'value': 'sslkey', 'label': gettext('Client certificate key'), 'vartype': 'file'
}, {
'value': 'sslpassword', 'label': gettext('SSL password'), 'vartype': 'string',
'value': 'sslpassword', 'label': gettext('SSL password'), 'vartype': 'password',
'min_server_version': '13'
}, {
'value': 'sslrootcert', 'label': gettext('Root certificate'), 'vartype': 'file'
Expand Down
6 changes: 4 additions & 2 deletions web/pgadmin/static/js/SchemaView/DataGridView/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import { useContext, useMemo, useRef } from 'react';
import Draggable from 'react-draggable';
import { evalFunc } from 'sources/utils';

import { flexRender } from '@tanstack/react-table';

Expand Down Expand Up @@ -71,9 +72,10 @@ export function DataGridRow({row, isResizing}) {
getValue: cell.getValue,
}
);

let cellObj = evalFunc(null, columnDef?.field?.cell, row.original);
return (
<PgReactTableCell cell={cell} row={row} key={cell.id}>
<PgReactTableCell cell={cell} row={row} key={cell.id}
disableTooltip={cellObj?.cell === 'password'}>
{content}
</PgReactTableCell>
);
Expand Down
8 changes: 6 additions & 2 deletions web/pgadmin/static/js/components/PgReactTableStyled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ export function PgReactTableCell(
row,
cell,
children,
className
className,
disableTooltip
}
) {
let classNames = ['pgrd-row-cell'];
Expand Down Expand Up @@ -199,7 +200,9 @@ export function PgReactTableCell(
...(cell.column.columnDef.maxSize ? { maxWidth: `${cell.column.columnDef.maxSize}px` } : {})
}}
className={classNames.join(' ')}
title={typeof(cell.getValue()) === 'object' ? '' : String(cell.getValue() ?? '')}>
title={
disableTooltip ? '' : typeof(cell.getValue()) === 'object' ? '' : String(cell.getValue() ?? '')
}>
<div className='pgrd-row-cell-content'>{children}</div>
</div>
);
Expand All @@ -211,6 +214,7 @@ PgReactTableCell.propTypes = {
cell: PropTypes.object,
children: CustomPropTypes.children,
className: PropTypes.any,
disableTooltip: PropTypes.bool,
};

export function PgReactTableRow (
Expand Down
Loading