mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1. Placeholder should be inside the controlProps. Change the placeholder from 'Select...' to 'Select an item...'
2. Updated grant wizard screenshot and documentation. 3. Remove '(Beta)' from ERD Tool and PSQL Tool.
This commit is contained in:
@@ -197,7 +197,7 @@ export default class DomainSchema extends BaseUISchema {
|
||||
}, {
|
||||
id: 'typdefault', label: gettext('Default'), cell: 'text',
|
||||
type: 'text', group: gettext('Definition'),
|
||||
placeholder: gettext('Enter an expression or a value.'),
|
||||
controlProps: {placeholder: gettext('Enter an expression or a value.')},
|
||||
}, {
|
||||
id: 'typnotnull', label: gettext('Not NULL?'), cell: 'boolean',
|
||||
type: 'switch', group: gettext('Definition'),
|
||||
|
||||
@@ -426,7 +426,7 @@ export class ColumnSchema extends BaseUISchema {
|
||||
{
|
||||
id: 'typdefault', label: gettext('Default'), cell: 'text',
|
||||
type: 'text', group: gettext('Definition'),
|
||||
placeholder: gettext('Enter an expression or a value.'),
|
||||
controlProps: {placeholder: gettext('Enter an expression or a value.')},
|
||||
editable: (state) => {
|
||||
if(!(_.isUndefined(state.inheritedid)
|
||||
|| _.isNull(state.inheritedid)
|
||||
|
||||
@@ -97,7 +97,7 @@ define('pgadmin.node.database', [
|
||||
},{
|
||||
name: 'generate_erd', node: 'database', module: this,
|
||||
applies: ['object', 'context'], callback: 'generate_erd',
|
||||
category: 'erd', priority: 5, label: gettext('Generate ERD (Beta)'),
|
||||
category: 'erd', priority: 5, label: gettext('Generate ERD'),
|
||||
}]);
|
||||
|
||||
_.bindAll(this, 'connection_lost');
|
||||
|
||||
@@ -72,7 +72,7 @@ define([
|
||||
pgAdmin.Browser.add_menus([{
|
||||
name: 'show_psql_tool', node: this.type, module: this,
|
||||
applies: ['context'], callback: 'show_psql_tool',
|
||||
priority: 998, label: gettext('PSQL Tool (Beta)'),
|
||||
priority: 998, label: gettext('PSQL Tool'),
|
||||
icon: 'fas fa-terminal',
|
||||
}]);
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ define('pgadmin.browser.node', [
|
||||
pgAdmin.Browser.add_menus([{
|
||||
name: 'show_psql_tool', node: this.type, module: this,
|
||||
applies: ['context'], callback: 'show_psql_tool',
|
||||
priority: 998, label: gettext('PSQL Tool (Beta)'),
|
||||
priority: 998, label: gettext('PSQL Tool'),
|
||||
icon: 'fas fa-terminal',
|
||||
}]);
|
||||
}
|
||||
|
||||
@@ -766,7 +766,7 @@ export function InputSelect({
|
||||
menuPortalTarget: document.body,
|
||||
styles: styles,
|
||||
inputId: cid,
|
||||
placeholder: (readonly || disabled) ? '' : controlProps.placeholder || gettext('Select...'),
|
||||
placeholder: (readonly || disabled) ? '' : controlProps.placeholder || gettext('Select an item...'),
|
||||
...otherProps,
|
||||
...props
|
||||
};
|
||||
|
||||
@@ -38,7 +38,7 @@ export function initialize(gettext, url_for, $, _, pgAdmin, csrfToken, pgBrowser
|
||||
applies: ['tools'],
|
||||
callback: 'showErdTool',
|
||||
priority: 1,
|
||||
label: gettext('New ERD Project (Beta)'),
|
||||
label: gettext('New ERD Project'),
|
||||
enable: this.erdToolEnabled,
|
||||
data: {
|
||||
data_disabled: gettext('The selected tree node does not support this option.'),
|
||||
|
||||
@@ -49,7 +49,7 @@ export function initialize(gettext, url_for, $, _, pgAdmin, csrfToken, Browser)
|
||||
applies: ['tools'],
|
||||
callback: 'psql_tool',
|
||||
priority: 1,
|
||||
label: gettext('PSQL Tool (Beta)'),
|
||||
label: gettext('PSQL Tool'),
|
||||
enable: this.psqlToolEnabled,
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user