diff --git a/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.spec.tsx b/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.spec.tsx index 880f5f04df..d2380c44a2 100644 --- a/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.spec.tsx +++ b/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.spec.tsx @@ -31,7 +31,7 @@ describe('AnalyticsTabs', () => { render() - fireEvent.mouseDown(screen.getByText('Database Analysis')) + fireEvent.mouseDown(screen.getByText('Database analysis')) expect(pushMock).toHaveBeenCalledTimes(1) expect(pushMock).toHaveBeenCalledWith( @@ -44,7 +44,7 @@ describe('AnalyticsTabs', () => { render() - fireEvent.mouseDown(screen.getByText('Slow Log')) + fireEvent.mouseDown(screen.getByText('Slow log')) expect(pushMock).toHaveBeenCalledTimes(1) expect(pushMock).toHaveBeenCalledWith('/instanceId/analytics/slowlog') @@ -77,7 +77,7 @@ describe('AnalyticsTabs', () => { render() - fireEvent.mouseDown(screen.getByText('Slow Log')) + fireEvent.mouseDown(screen.getByText('Slow log')) expect(pushMock).toHaveBeenCalledTimes(1) expect(pushMock).toHaveBeenCalledWith('/instanceId/analytics/slowlog') diff --git a/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.tsx b/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.tsx index 05235cdccb..bdd196fdd2 100644 --- a/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.tsx +++ b/redisinsight/ui/src/components/analytics-tabs/AnalyticsTabs.tsx @@ -46,7 +46,7 @@ const AnalyticsTabs = () => { value: AnalyticsViewTab.DatabaseAnalysis, content: null, label: renderOnboardingTourWithChild( - Database Analysis, + Database analysis, { options: ONBOARDING_FEATURES?.ANALYTICS_DATABASE_ANALYSIS, anchorPosition: 'downLeft', @@ -59,7 +59,7 @@ const AnalyticsTabs = () => { value: AnalyticsViewTab.SlowLog, content: null, label: renderOnboardingTourWithChild( - Slow Log, + Slow log, { options: ONBOARDING_FEATURES?.ANALYTICS_SLOW_LOG, anchorPosition: 'downLeft', diff --git a/redisinsight/ui/src/components/auto-refresh/AutoRefresh.tsx b/redisinsight/ui/src/components/auto-refresh/AutoRefresh.tsx index 9021e0087e..85e26e8164 100644 --- a/redisinsight/ui/src/components/auto-refresh/AutoRefresh.tsx +++ b/redisinsight/ui/src/components/auto-refresh/AutoRefresh.tsx @@ -279,7 +279,7 @@ const AutoRefresh = ({ { expect(screen.getByTestId(cliId)).toBeInTheDocument() }) - it('should render Command Helper when isShowHelper truthy', () => { + it('should render Command helper when isShowHelper truthy', () => { render() expect(screen.getByTestId(commandHelperId)).toBeInTheDocument() }) diff --git a/redisinsight/ui/src/components/browser/view-switch/ViewSwitch.tsx b/redisinsight/ui/src/components/browser/view-switch/ViewSwitch.tsx index 5e08b1e8ed..d34fbe4fec 100644 --- a/redisinsight/ui/src/components/browser/view-switch/ViewSwitch.tsx +++ b/redisinsight/ui/src/components/browser/view-switch/ViewSwitch.tsx @@ -18,7 +18,7 @@ const ViewSwitch = ({ const viewTypes: ISwitchType[] = [ { type: KeyViewType.Browser, - tooltipText: 'List View', + tooltipText: 'List view', ariaLabel: 'List view button', dataTestId: 'view-type-browser-btn', getIconType: () => EqualIcon, @@ -26,8 +26,8 @@ const ViewSwitch = ({ { type: KeyViewType.Tree, tooltipText: isTreeViewDisabled - ? 'Tree View is unavailable when the HEX key name format is selected.' - : 'Tree View', + ? 'Tree view is unavailable when the HEX key name format is selected.' + : 'Tree view', ariaLabel: 'Tree view button', dataTestId: 'view-type-list-btn', disabled: isTreeViewDisabled, diff --git a/redisinsight/ui/src/components/command-helper/CommandHelperHeader/CommandHelperHeader.tsx b/redisinsight/ui/src/components/command-helper/CommandHelperHeader/CommandHelperHeader.tsx index b0b420e12e..e737c69eea 100644 --- a/redisinsight/ui/src/components/command-helper/CommandHelperHeader/CommandHelperHeader.tsx +++ b/redisinsight/ui/src/components/command-helper/CommandHelperHeader/CommandHelperHeader.tsx @@ -52,7 +52,7 @@ const CommandHelperHeader = () => { anchorPosition="upLeft" panelClassName={styles.helperOnboardPanel} > - Command Helper + Command helper @@ -60,7 +60,7 @@ const CommandHelperHeader = () => { onClose={handleCloseHelper} onHide={handleHideHelper} id="command-helper" - label="Command Helper" + label="Command helper" /> diff --git a/redisinsight/ui/src/components/database-overview/DatabaseOverview.spec.tsx b/redisinsight/ui/src/components/database-overview/DatabaseOverview.spec.tsx index d92de083f7..41d8039c2e 100644 --- a/redisinsight/ui/src/components/database-overview/DatabaseOverview.spec.tsx +++ b/redisinsight/ui/src/components/database-overview/DatabaseOverview.spec.tsx @@ -227,10 +227,10 @@ const mockMetrics: IMetric[] = [ { id: 'overview-total-memory', value: 13, - unavailableText: 'Total Memory is not available', - title: 'Total Memory', + unavailableText: 'Total memory is not available', + title: 'Total memory', tooltip: { - title: 'Total Memory', + title: 'Total memory', icon: 'MemoryLightIcon', content: '13 / 30 (43%)', }, @@ -244,23 +244,23 @@ const mockMetrics: IMetric[] = [ { id: 'overview-total-keys', value: 5000, - unavailableText: 'Total Keys are not available', - title: 'Total Keys', + unavailableText: 'Total keys are not available', + title: 'Total keys', icon: 'KeyLightIcon', content: truncateNumberToRange(5000), tooltip: { icon: 'KeyLightIcon', content: 5 000, - title: 'Total Keys', + title: 'Total keys', }, children: [ { id: 'total-keys-tip', value: 5000, - unavailableText: 'Total Keys are not available', - title: 'Total Keys', + unavailableText: 'Total keys are not available', + title: 'Total keys', tooltip: { - title: 'Total Keys', + title: 'Total keys', content: 5 000, }, content: 5 000, diff --git a/redisinsight/ui/src/components/import-file-modal/ImportFileModal.spec.tsx b/redisinsight/ui/src/components/import-file-modal/ImportFileModal.spec.tsx index fe37e374e7..ee8ad57d27 100644 --- a/redisinsight/ui/src/components/import-file-modal/ImportFileModal.spec.tsx +++ b/redisinsight/ui/src/components/import-file-modal/ImportFileModal.spec.tsx @@ -92,7 +92,7 @@ describe('ImportFileModal', () => { render() expect(screen.getByTestId('import-file-modal-title')).toHaveTextContent( - 'Import Results', + 'Import results', ) }) diff --git a/redisinsight/ui/src/components/import-file-modal/ImportFileModal.tsx b/redisinsight/ui/src/components/import-file-modal/ImportFileModal.tsx index d3a655baeb..ce5bb9b0d7 100644 --- a/redisinsight/ui/src/components/import-file-modal/ImportFileModal.tsx +++ b/redisinsight/ui/src/components/import-file-modal/ImportFileModal.tsx @@ -62,7 +62,7 @@ const ImportFileModal = ({ - {!data && !error ? title : resultsTitle || 'Import Results'} + {!data && !error ? title : resultsTitle || 'Import results'} diff --git a/redisinsight/ui/src/components/instance-header/InstanceHeader.tsx b/redisinsight/ui/src/components/instance-header/InstanceHeader.tsx index e43f8cd237..633af73996 100644 --- a/redisinsight/ui/src/components/instance-header/InstanceHeader.tsx +++ b/redisinsight/ui/src/components/instance-header/InstanceHeader.tsx @@ -258,7 +258,7 @@ const InstanceHeader = ({ onChangeDbIndex }: Props) => { setDbIndex(value ? value.toString() : '') } value={Number(dbIndex)} - placeholder="Database Index" + placeholder="Database index" className={styles.dbIndexInput} data-testid="change-index-input" /> diff --git a/redisinsight/ui/src/components/instance-header/components/ShortInstanceInfo.tsx b/redisinsight/ui/src/components/instance-header/components/ShortInstanceInfo.tsx index b6770e6f6b..b5201f3ab3 100644 --- a/redisinsight/ui/src/components/instance-header/components/ShortInstanceInfo.tsx +++ b/redisinsight/ui/src/components/instance-header/components/ShortInstanceInfo.tsx @@ -72,7 +72,7 @@ const ShortInstanceInfo = ({ info, databases, modules }: Props) => { Select logical databases to work with in Browser, Workbench, - and Database Analysis. + and Database analysis. diff --git a/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.spec.tsx b/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.spec.tsx index 4782d030e8..720658972d 100644 --- a/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.spec.tsx +++ b/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.spec.tsx @@ -14,7 +14,7 @@ describe('RunConfirmationPopover', () => { expect(render()).toBeTruthy() }) - it('should hide "Change Database" button when feature flag is off', async () => { + it('should hide "Change database" button when feature flag is off', async () => { const initialStoreState = set( cloneDeep(initialStateDefault), `app.features.featureFlags.features.${FeatureFlags.envDependent}`, @@ -25,11 +25,11 @@ describe('RunConfirmationPopover', () => { store: mockStore(initialStoreState), }) expect( - screen.queryByRole('button', { name: 'Change Database' }), + screen.queryByRole('button', { name: 'Change database' }), ).toBeInTheDocument() }) - it('should hide "Change Database" button when feature flag is on', async () => { + it('should hide "Change database" button when feature flag is on', async () => { const initialStoreState = set( cloneDeep(initialStateDefault), `app.features.featureFlags.features.${FeatureFlags.envDependent}`, @@ -40,7 +40,7 @@ describe('RunConfirmationPopover', () => { store: mockStore(initialStoreState), }) expect( - screen.queryByRole('button', { name: 'Change Database' }), + screen.queryByRole('button', { name: 'Change database' }), ).not.toBeInTheDocument() }) }) diff --git a/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.tsx b/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.tsx index 7bac22935e..bbaa16b972 100644 --- a/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.tsx +++ b/redisinsight/ui/src/components/markdown/CodeButtonBlock/components/RunConfirmationPopover.tsx @@ -76,7 +76,7 @@ const RunConfirmationPopover = ({ onApply }: Props) => { onClick={handleChangeDatabase} data-testid="tutorial-popover-change-db" > - Change Database + Change database Workbench - , our advanced CLI. Check out our Quick Guides to learn more about Redis + , our advanced CLI. Check out our quick guides to learn more about Redis capabilities. )} @@ -72,7 +72,7 @@ export const cliTexts = { className="cli-output-response-fail" data-testid="user-pub-sub-link-disabled" > - PubSub not supported in this environment. + Pub/Sub not supported in this environment. ), USE_PSUBSCRIBE_COMMAND: (path: string = '') => ( diff --git a/redisinsight/ui/src/components/messages/database-not-opened/DatabaseNotOpened.tsx b/redisinsight/ui/src/components/messages/database-not-opened/DatabaseNotOpened.tsx index b578cf7e54..0270985794 100644 --- a/redisinsight/ui/src/components/messages/database-not-opened/DatabaseNotOpened.tsx +++ b/redisinsight/ui/src/components/messages/database-not-opened/DatabaseNotOpened.tsx @@ -30,7 +30,7 @@ const DatabaseNotOpened = (props: Props) => { - Open your Redis database, or create a new database to get started. + Open your Redis database, or build a new database to get started. @@ -51,7 +51,7 @@ const DatabaseNotOpened = (props: Props) => { }} data-testid="tutorials-get-started-link" > - Create a free Redis Cloud database + Build a free Redis Cloud database )} diff --git a/redisinsight/ui/src/components/messages/feature-not-available/FeatureNotAvailable.tsx b/redisinsight/ui/src/components/messages/feature-not-available/FeatureNotAvailable.tsx index 4f2787657a..68bc9f059c 100644 --- a/redisinsight/ui/src/components/messages/feature-not-available/FeatureNotAvailable.tsx +++ b/redisinsight/ui/src/components/messages/feature-not-available/FeatureNotAvailable.tsx @@ -69,7 +69,7 @@ const FeatureNotAvailable = ({ data-testid={`${content.testId}-get-started-link`} size="m" > - Get Started For Free + Build a free database )} @@ -79,7 +79,7 @@ const FeatureNotAvailable = ({ href={getUtmExternalLink(EXTERNAL_LINKS.redisStack, learnMoreUtm)} data-testid={`${content.testId}-learn-more-link`} > - Learn More + Learn more diff --git a/redisinsight/ui/src/components/messages/feature-not-available/constants.ts b/redisinsight/ui/src/components/messages/feature-not-available/constants.ts index aa95b23449..6e66713cae 100644 --- a/redisinsight/ui/src/components/messages/feature-not-available/constants.ts +++ b/redisinsight/ui/src/components/messages/feature-not-available/constants.ts @@ -8,19 +8,19 @@ export const FILTER_NOT_AVAILABLE_CONTENT: FeatureNotAvailableContent = { freeInstanceText: 'Use your free all-in-one Redis Cloud database to start exploring these capabilities.', noInstanceText: - 'Create a free Redis Cloud database that supports filtering and extends the core capabilities of your Redis.', + 'Build a free Redis Cloud database that supports filtering and extends the core capabilities of your Redis.', oauthSource: OAuthSocialSource.BrowserFiltering, } export const REDISEARCH_VERSION_REQUIRED_CONTENT: FeatureNotAvailableContent = { testId: 'redisearch-version-required', - title: 'Redis Query Engine 2.0+ required', + title: 'Redis Search 2.0+ required', description: - 'This feature requires Redis Query Engine 2.0 or later (included with Redis 6+). ' + + 'This feature requires Redis Search 2.0 or later (included with Redis 6+). ' + 'Older versions of the query engine are not compatible with the commands used here.', freeInstanceText: 'Use your free all-in-one Redis Cloud database to start exploring these capabilities.', noInstanceText: - 'Create a free Redis Cloud database to start exploring these capabilities.', + 'Build a free Redis Cloud database to start exploring these capabilities.', oauthSource: OAuthSocialSource.BrowserSearch, } diff --git a/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.spec.tsx b/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.spec.tsx index 8ba0a2c525..05c30d7dfc 100644 --- a/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.spec.tsx +++ b/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.spec.tsx @@ -70,7 +70,7 @@ describe('ModuleNotLoadedMinimalized', () => { expect(screen.queryByTestId('connect-free-db-btn')).not.toBeInTheDocument() expect(screen.getByText(/Redis Databases page/)).toBeInTheDocument() expect( - screen.getByText(/Open a database with Redis Query Engine/), + screen.getByText(/Open a database with Redis Search/), ).toBeInTheDocument() }) @@ -87,7 +87,7 @@ describe('ModuleNotLoadedMinimalized', () => { expect( screen.getByText( - /Create a free Redis Cloud database with search and query/, + /Build a free Redis Cloud database with search and query/, ), ).toBeInTheDocument() }) diff --git a/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.tsx b/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.tsx index 5997a7c36f..8f1b0dab12 100644 --- a/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.tsx +++ b/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/ModuleNotLoadedMinimalized.tsx @@ -109,7 +109,7 @@ const ModuleNotLoadedMinimalized = (props: Props) => { }} data-testid="tutorials-get-started-link" > - Start with Cloud for free + Build a free Redis Cloud database )} diff --git a/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/constants.ts b/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/constants.ts index 3ae94d92b2..87c4c29a18 100644 --- a/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/constants.ts +++ b/redisinsight/ui/src/components/messages/module-not-loaded-minimalized/constants.ts @@ -8,19 +8,19 @@ export const MODULE_CAPABILITY_TEXT_NOT_AVAILABLE: { } = { [RedisDefaultModules.Bloom]: { title: 'Probabilistic data structures are not available', - text: 'Create a free Redis Cloud database with probabilistic data structures that extend the core capabilities of your Redis.', + text: 'Build a free Redis Cloud database with probabilistic data structures that extend the core capabilities of your Redis.', }, [RedisDefaultModules.ReJSON]: { title: 'JSON data structure is not available', - text: 'Create a free Redis Cloud database with JSON capability that extends the core capabilities of your Redis.', + text: 'Build a free Redis Cloud database with JSON capability that extends the core capabilities of your Redis.', }, [RedisDefaultModules.Search]: { - title: 'Redis Query Engine capability is not available', - text: 'Create a free Redis Cloud database with search and query features that extend the core capabilities of your Redis.', + title: 'Redis Search capability is not available', + text: 'Build a free Redis Cloud database with search and query features that extend the core capabilities of your Redis.', }, [RedisDefaultModules.TimeSeries]: { title: 'Time series data structure is not available', - text: 'Create a free Redis Cloud database with the time series data structure that extends the core capabilities of your Redis.', + text: 'Build a free Redis Cloud database with the time series data structure that extends the core capabilities of your Redis.', }, } @@ -39,8 +39,8 @@ export const MODULE_CAPABILITY_TEXT_NOT_AVAILABLE_ENTERPRISE: { text: 'Open a database with JSON.', }, [RedisDefaultModules.Search]: { - title: 'Redis Query Engine capability is not available', - text: 'Open a database with Redis Query Engine.', + title: 'Redis Search capability is not available', + text: 'Open a database with Redis Search.', }, [RedisDefaultModules.TimeSeries]: { title: 'Time series data structure is not available', diff --git a/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.spec.tsx b/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.spec.tsx index ae9610df2e..14d0ca0ba9 100644 --- a/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.spec.tsx +++ b/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.spec.tsx @@ -57,7 +57,7 @@ describe('ModuleNotLoaded', () => { const { queryByText } = render() expect( queryByText( - /Create a free all-in-one Redis Cloud database to start exploring these capabilities./, + /Build a free all-in-one Redis Cloud database to start exploring these capabilities./, ), ).toBeInTheDocument() }) @@ -80,9 +80,7 @@ describe('ModuleNotLoaded', () => { }) mockGetDbWithModuleLoaded(true) // should not affect output const { queryByText } = render() - expect( - queryByText(/Open a database with Redis Query Engine/), - ).toBeInTheDocument() + expect(queryByText(/Open a database with Redis Search/)).toBeInTheDocument() }) it('should not show CTA button when envDependant feature is disabled', () => { @@ -95,9 +93,9 @@ describe('ModuleNotLoaded', () => { expect(queryByTestId(TEST_IDS.ctaWrapper)).toBeEmptyDOMElement() }) - it('should show "Get Started For Free" button when envDependant feature is enabled and cloudAds feature is enabled', () => { + it('should show "Build a free database" button when envDependant feature is enabled and cloudAds feature is enabled', () => { const { queryByText, getByText } = render() - expect(getByText(/Get Started For Free/)).toBeInTheDocument() + expect(getByText(/Build a free database/)).toBeInTheDocument() expect(queryByText(/Redis Databases page/)).not.toBeInTheDocument() }) @@ -114,7 +112,7 @@ describe('ModuleNotLoaded', () => { const { queryByText, getByText } = render() const databasesButton = getByText(/Redis Databases page/) expect(databasesButton).toBeInTheDocument() - expect(queryByText(/Get Started For Free/)).not.toBeInTheDocument() + expect(queryByText(/Build a free database/)).not.toBeInTheDocument() // click button act(() => { @@ -133,9 +131,7 @@ describe('ModuleNotLoaded', () => { }, }) const { getByText } = render() - expect( - getByText(/Open a database with Redis Query Engine/), - ).toBeInTheDocument() + expect(getByText(/Open a database with Redis Search/)).toBeInTheDocument() }) it('should show expected text when free db exists', () => { @@ -152,7 +148,7 @@ describe('ModuleNotLoaded', () => { const { getByText } = render() expect( getByText( - /Create a free all-in-one Redis Cloud database to start exploring these capabilities./, + /Build a free all-in-one Redis Cloud database to start exploring these capabilities./, ), ).toBeInTheDocument() }) diff --git a/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.tsx b/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.tsx index e743e1c0a5..2f98ce1f94 100644 --- a/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.tsx +++ b/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoaded.tsx @@ -101,7 +101,7 @@ const ModuleNotLoaded = ({ return !freeDbWithModule ? ( - Create a free all-in-one Redis Cloud database to start exploring these + Build a free all-in-one Redis Cloud database to start exploring these capabilities. ) : ( diff --git a/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoadedButton.tsx b/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoadedButton.tsx index a8b50626c6..df9d757966 100644 --- a/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoadedButton.tsx +++ b/redisinsight/ui/src/components/messages/module-not-loaded/ModuleNotLoadedButton.tsx @@ -57,7 +57,7 @@ const ModuleNotLoadedButton = ({ })} data-testid="learn-more-link" > - Learn More + Learn more - Get Started For Free + Build a free database )} diff --git a/redisinsight/ui/src/components/monitor/MonitorHeader/MonitorHeader.tsx b/redisinsight/ui/src/components/monitor/MonitorHeader/MonitorHeader.tsx index 4df6b910ab..c46d8b963d 100644 --- a/redisinsight/ui/src/components/monitor/MonitorHeader/MonitorHeader.tsx +++ b/redisinsight/ui/src/components/monitor/MonitorHeader/MonitorHeader.tsx @@ -119,7 +119,7 @@ const MonitorHeader = ({ handleRunMonitor }: Props) => { diff --git a/redisinsight/ui/src/components/monitor/ProfilerStartButton/ProfilerStartButton.tsx b/redisinsight/ui/src/components/monitor/ProfilerStartButton/ProfilerStartButton.tsx index 57fc2c7108..26f9c4c3c3 100644 --- a/redisinsight/ui/src/components/monitor/ProfilerStartButton/ProfilerStartButton.tsx +++ b/redisinsight/ui/src/components/monitor/ProfilerStartButton/ProfilerStartButton.tsx @@ -39,7 +39,7 @@ const ProfilerStartButton = ({ onStart }: Props) => { aria-label="start monitor" data-testid="start-monitor" > - Start Profiler + Start profiler ) @@ -54,7 +54,7 @@ const ProfilerStartButton = ({ onStart }: Props) => { closePopover={() => setIsConfirmOpen(false)} anchorPosition="rightCenter" trigger={button} - title="Start Profiler" + title="Start profiler" message="You're connected to a production database. Profiler decreases throughput. Are you sure you want to run it now?" confirmButton={ diff --git a/redisinsight/ui/src/components/multi-search/MultiSearch.tsx b/redisinsight/ui/src/components/multi-search/MultiSearch.tsx index 6ca106b142..a2b40d2715 100644 --- a/redisinsight/ui/src/components/multi-search/MultiSearch.tsx +++ b/redisinsight/ui/src/components/multi-search/MultiSearch.tsx @@ -235,7 +235,7 @@ const MultiSearch = (props: Props) => { { e.stopPropagation() handleDeleteSuggestion([id]) @@ -263,11 +263,11 @@ const MultiSearch = (props: Props) => { )} {(value || !!options.length) && ( - + { )} {appendRight} {disableSubmit && ( - + {SubmitBtn()} )} diff --git a/redisinsight/ui/src/components/navigation-menu/components/create-cloud/CreateCloud.tsx b/redisinsight/ui/src/components/navigation-menu/components/create-cloud/CreateCloud.tsx index 2a20f46ab8..8606365313 100644 --- a/redisinsight/ui/src/components/navigation-menu/components/create-cloud/CreateCloud.tsx +++ b/redisinsight/ui/src/components/navigation-menu/components/create-cloud/CreateCloud.tsx @@ -38,7 +38,7 @@ const CreateCloud = () => { > { diff --git a/redisinsight/ui/src/components/navigation-menu/components/help-menu/HelpMenu.tsx b/redisinsight/ui/src/components/navigation-menu/components/help-menu/HelpMenu.tsx index a54bc0e100..5ea88013d9 100644 --- a/redisinsight/ui/src/components/navigation-menu/components/help-menu/HelpMenu.tsx +++ b/redisinsight/ui/src/components/navigation-menu/components/help-menu/HelpMenu.tsx @@ -80,7 +80,7 @@ const HelpMenu = () => { > @@ -97,7 +97,7 @@ const HelpMenu = () => { >
- Help Center + Help center { textAlign="center" className={styles.helpMenuText} > - Provide
Feedback + Provide
feedback @@ -136,7 +136,7 @@ const HelpMenu = () => { onClick={onKeyboardShortcutClick} data-testid="shortcuts-btn" > - Keyboard Shortcuts + Keyboard shortcuts
@@ -157,7 +157,7 @@ const HelpMenu = () => { data-testid="release-notes-btn" > - Release Notes + Release notes @@ -171,7 +171,7 @@ const HelpMenu = () => { onClick={onResetOnboardingClick} data-testid="reset-onboarding-btn" > - Reset Onboarding + Reset onboarding diff --git a/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationCenter.tsx b/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationCenter.tsx index 5f82e48d9f..538cf610d9 100644 --- a/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationCenter.tsx +++ b/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationCenter.tsx @@ -56,7 +56,7 @@ const NotificationCenter = () => { data-testid="notification-center" > - Notification Center + Notification center {!hasNotifications && (
diff --git a/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationMenu.tsx b/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationMenu.tsx index 39887035d7..bd7e8e9add 100644 --- a/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationMenu.tsx +++ b/redisinsight/ui/src/components/navigation-menu/components/notifications-center/NotificationMenu.tsx @@ -28,13 +28,13 @@ const NavButton = () => { const Btn = ( diff --git a/redisinsight/ui/src/components/notifications/components/cloud-capi-unauthorized/CloudCapiUnAuthorizedErrorContent.tsx b/redisinsight/ui/src/components/notifications/components/cloud-capi-unauthorized/CloudCapiUnAuthorizedErrorContent.tsx index cb8331264e..0b187c5316 100644 --- a/redisinsight/ui/src/components/notifications/components/cloud-capi-unauthorized/CloudCapiUnAuthorizedErrorContent.tsx +++ b/redisinsight/ui/src/components/notifications/components/cloud-capi-unauthorized/CloudCapiUnAuthorizedErrorContent.tsx @@ -59,7 +59,7 @@ const CloudCapiUnAuthorizedErrorContent = ({ className="toast-danger-btn euiBorderWidthThick" data-testid="go-to-settings-btn" > - Go to Settings + Go to settings diff --git a/redisinsight/ui/src/components/notifications/components/encryption-error-content/EncryptionErrorContent.tsx b/redisinsight/ui/src/components/notifications/components/encryption-error-content/EncryptionErrorContent.tsx index 3aa7e806ac..03c11e804f 100644 --- a/redisinsight/ui/src/components/notifications/components/encryption-error-content/EncryptionErrorContent.tsx +++ b/redisinsight/ui/src/components/notifications/components/encryption-error-content/EncryptionErrorContent.tsx @@ -62,7 +62,7 @@ const EncryptionErrorContent = (props: Props) => { className="toast-danger-btn euiBorderWidthThick" data-testid="toast-action-btn" > - Disable Encryption + Disable encryption
diff --git a/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.spec.tsx b/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.spec.tsx index a00c543bf9..6ea47adc5b 100644 --- a/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.spec.tsx +++ b/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.spec.tsx @@ -246,10 +246,10 @@ describe('INFINITE_MESSAGES', () => { 'Your subscription does not have a free Redis Cloud database.', ) const description = await screen.findByText( - 'Do you want to create a free database in your existing subscription?', + 'Do you want to build a free database in your existing subscription?', ) const createButton = await screen.findByRole('button', { - name: /Create/, + name: /Build database/, }) const closeButton = await screen.findByRole('button', { name: /Close/ }) @@ -259,14 +259,14 @@ describe('INFINITE_MESSAGES', () => { expect(closeButton).toBeInTheDocument() }) - it('should call onSuccess callback when clicking on the "Create" button', async () => { + it('should call onSuccess callback when clicking on the "Build database" button', async () => { const onSuccess = jest.fn() const onClose = jest.fn() renderToast(INFINITE_MESSAGES.SUBSCRIPTION_EXISTS(onSuccess, onClose)) const createButton = await screen.findByRole('button', { - name: /Create/, + name: /Build database/, }) expect(createButton).toBeInTheDocument() diff --git a/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.tsx b/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.tsx index 078bf6beef..97eeae56cb 100644 --- a/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.tsx +++ b/redisinsight/ui/src/components/notifications/components/infinite-messages/InfiniteMessages.tsx @@ -141,7 +141,7 @@ export const INFINITE_MESSAGES: InfiniteMessagesType = { align="center" > - Cloud Vendor + Cloud vendor onSuccess?.() }, + primary: { label: 'Build database', onClick: () => onSuccess?.() }, }, onClose, }), diff --git a/redisinsight/ui/src/components/notifications/components/rdi-deploy-error-content/RdiDeployErrorContent.tsx b/redisinsight/ui/src/components/notifications/components/rdi-deploy-error-content/RdiDeployErrorContent.tsx index 7b4e94eddb..3f737bf11a 100644 --- a/redisinsight/ui/src/components/notifications/components/rdi-deploy-error-content/RdiDeployErrorContent.tsx +++ b/redisinsight/ui/src/components/notifications/components/rdi-deploy-error-content/RdiDeployErrorContent.tsx @@ -40,7 +40,7 @@ const RdiDeployErrorContent = (props: Props) => { data-testid="donwload-log-file-btn" style={{ marginTop: '10px', paddingLeft: 0 }} > - Download Error Log File + Download error log file diff --git a/redisinsight/ui/src/components/notifications/success-messages.tsx b/redisinsight/ui/src/components/notifications/success-messages.tsx index d7963c7891..fdbc742526 100644 --- a/redisinsight/ui/src/components/notifications/success-messages.tsx +++ b/redisinsight/ui/src/components/notifications/success-messages.tsx @@ -201,10 +201,10 @@ export default { updateDownloadedVersion: string, onClickLink?: () => void, ) => ({ - title: 'Application updated', + title: 'App updated', message: ( <> - {`Your application has been updated to ${updateDownloadedVersion}. Find more information in `} + {`Your app has been updated to ${updateDownloadedVersion}. Find more information in `} onClickLink?.()} @@ -212,7 +212,7 @@ export default { target="_blank" rel="noreferrer" > - Release Notes. + Release notes. ), @@ -274,7 +274,7 @@ export default { {numberWithSpaces(processed)} - Commands Processed + Commands processed {numberWithSpaces(succeed)} @@ -288,7 +288,7 @@ export default { {millisecondsFormat(data?.duration || 0, 'H:mm:ss.SSS')} - Time Taken + Time taken ), @@ -323,7 +323,7 @@ export default { message: 'All API keys have been removed from Redis Insight.', }), REMOVED_CAPI_KEY: (name: string) => ({ - title: 'API Key has been removed', + title: 'API key has been removed', message: `${formatNameShort(name)} has been removed from Redis Insight.`, }), DATABASE_ALREADY_EXISTS: () => ({ diff --git a/redisinsight/ui/src/components/oauth/oauth-select-plan/OAuthSelectPlan.tsx b/redisinsight/ui/src/components/oauth/oauth-select-plan/OAuthSelectPlan.tsx index 6eef19a557..2a8aa21f28 100644 --- a/redisinsight/ui/src/components/oauth/oauth-select-plan/OAuthSelectPlan.tsx +++ b/redisinsight/ui/src/components/oauth/oauth-select-plan/OAuthSelectPlan.tsx @@ -260,7 +260,7 @@ const OAuthSelectPlan = () => { data-testid="submit-oauth-select-plan-dialog" aria-labelledby="submit oauth select plan dialog" > - Create database + Build database diff --git a/redisinsight/ui/src/components/oauth/oauth-sso/oauth-create-db/OAuthCreateDb.tsx b/redisinsight/ui/src/components/oauth/oauth-sso/oauth-create-db/OAuthCreateDb.tsx index d00ab07637..a67e829d20 100644 --- a/redisinsight/ui/src/components/oauth/oauth-sso/oauth-create-db/OAuthCreateDb.tsx +++ b/redisinsight/ui/src/components/oauth/oauth-sso/oauth-create-db/OAuthCreateDb.tsx @@ -174,7 +174,7 @@ const OAuthCreateDb = (props: Props) => { onClick={handleClickCreate} data-testid="oauth-create-db" > - Create + Build database )} diff --git a/redisinsight/ui/src/components/oauth/shared/oauth-advantages/constants.ts b/redisinsight/ui/src/components/oauth/shared/oauth-advantages/constants.ts index 9a8c240b74..277460f115 100644 --- a/redisinsight/ui/src/components/oauth/shared/oauth-advantages/constants.ts +++ b/redisinsight/ui/src/components/oauth/shared/oauth-advantages/constants.ts @@ -3,7 +3,7 @@ export const OAUTH_ADVANTAGES_ITEMS = [ title: 'Structured querying and full-text search', }, { - title: 'Document Store with JSON native', + title: 'Document store with native JSON', }, { title: 'Scalable and fully managed', diff --git a/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.spec.tsx b/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.spec.tsx index 551a5f2028..fbb98342c0 100644 --- a/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.spec.tsx +++ b/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.spec.tsx @@ -499,7 +499,7 @@ describe('ONBOARDING_FEATURES', () => { ), ).toBeTruthy() expect(screen.getByTestId('step-content')).toHaveTextContent( - 'Command Helper lets you search and learn more about Redis commands', + 'Command helper lets you search and learn more about Redis commands', ) }) @@ -673,7 +673,7 @@ describe('ONBOARDING_FEATURES', () => { , ) expect(screen.getByTestId('step-content')).toHaveTextContent( - 'This is Search, where you can index your data and query it using Redis Query Engine.', + 'This is Search, where you can index your data and query it using Redis Search.', ) expect(screen.getByTestId('step-content')).toHaveTextContent( 'Load sample data to create your first index and run sample queries to see results instantly.', @@ -1206,7 +1206,7 @@ describe('ONBOARDING_FEATURES', () => { ), ).toBeTruthy() expect(screen.getByTestId('step-content')).toHaveTextContent( - 'Use Database Analysis to get summary of your database and receive', + 'Use Database analysis to get summary of your database and receive', ) }) @@ -1361,7 +1361,7 @@ describe('ONBOARDING_FEATURES', () => { ), ).toBeTruthy() expect(screen.getByTestId('step-content')).toHaveTextContent( - 'Check Slow Log to troubleshoot performance issues.', + 'Check Slow log to troubleshoot performance issues.', ) }) diff --git a/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.tsx b/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.tsx index b4a1ae5fb0..fcf9737f74 100644 --- a/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.tsx +++ b/redisinsight/ui/src/components/onboarding-features/OnboardingFeatures.tsx @@ -229,7 +229,7 @@ const ONBOARDING_FEATURES = { }, BROWSER_COMMAND_HELPER: { step: OnboardingSteps.BrowserCommandHelper, - title: 'Command Helper', + title: 'Command helper', Inner: () => { const { id: connectedInstanceId = '' } = useAppSelector( connectedInstanceSelector, @@ -243,7 +243,7 @@ const ONBOARDING_FEATURES = { return { content: ( <> - Command Helper lets you search and learn more about Redis commands, + Command helper lets you search and learn more about Redis commands, their syntax, and details. Run PING in CLI to see how it works. @@ -332,8 +332,8 @@ const ONBOARDING_FEATURES = { content: ( <> This is Search, where you can index your data and query it using - Redis Query Engine. Run full-text search, vector similarity, and - filtered queries right from the UI. + Redis Search. Run full-text search, vector similarity, and filtered + queries right from the UI. Load sample data to create your first index and run sample queries to see results instantly. @@ -540,7 +540,7 @@ const ONBOARDING_FEATURES = { }, ANALYTICS_OVERVIEW: { step: OnboardingSteps.AnalyticsOverview, - title: 'Cluster Overview', + title: 'Cluster overview', Inner: () => { const { id: connectedInstanceId = '' } = useAppSelector( connectedInstanceSelector, @@ -575,7 +575,7 @@ const ONBOARDING_FEATURES = { }, ANALYTICS_DATABASE_ANALYSIS: { step: OnboardingSteps.AnalyticsDatabaseAnalysis, - title: 'Database Analysis', + title: 'Database analysis', Inner: () => { const { data } = useAppSelector(dbAnalysisSelector) const { id: connectedInstanceId = '', connectionType } = useAppSelector( @@ -591,7 +591,7 @@ const ONBOARDING_FEATURES = { return { content: ( <> - Use Database Analysis to get summary of your database and receive + Use Database analysis to get summary of your database and receive tips to improve memory usage and performance. Run a new report to get an overview of the database and receive tips @@ -627,7 +627,7 @@ const ONBOARDING_FEATURES = { }, ANALYTICS_RECOMMENDATIONS: { step: OnboardingSteps.AnalyticsRecommendations, - title: 'Database Tips', + title: 'Database tips', Inner: () => { const { id: connectedInstanceId = '' } = useAppSelector( connectedInstanceSelector, @@ -652,7 +652,7 @@ const ONBOARDING_FEATURES = { }, ANALYTICS_SLOW_LOG: { step: OnboardingSteps.AnalyticsSlowLog, - title: 'Slow Log', + title: 'Slow log', Inner: () => { const { id: connectedInstanceId = '' } = useAppSelector( connectedInstanceSelector, @@ -668,7 +668,7 @@ const ONBOARDING_FEATURES = { return { content: ( <> - Check Slow Log to troubleshoot performance issues. + Check Slow log to troubleshoot performance issues. See the list of slow logs in chronological order to debug and trace your Redis database. Customize parameters to capture logs. diff --git a/redisinsight/ui/src/components/query/query-card/QueryCardCliResultWrapper/QueryCardCliResultWrapper.tsx b/redisinsight/ui/src/components/query/query-card/QueryCardCliResultWrapper/QueryCardCliResultWrapper.tsx index 7c4639f26f..3b95a04995 100644 --- a/redisinsight/ui/src/components/query/query-card/QueryCardCliResultWrapper/QueryCardCliResultWrapper.tsx +++ b/redisinsight/ui/src/components/query/query-card/QueryCardCliResultWrapper/QueryCardCliResultWrapper.tsx @@ -108,7 +108,7 @@ const QueryCardCliResultWrapper = (props: Props) => { The result is too big to be saved. It will be deleted after the - application is closed. + app is closed. )} {isGroupResults(resultsMode) && isArray(result[0]?.response) ? ( diff --git a/redisinsight/ui/src/components/query/query-card/QueryCardHeader/QueryCardHeader.tsx b/redisinsight/ui/src/components/query/query-card/QueryCardHeader/QueryCardHeader.tsx index bc9e8df3dc..2dec97fb37 100644 --- a/redisinsight/ui/src/components/query/query-card/QueryCardHeader/QueryCardHeader.tsx +++ b/redisinsight/ui/src/components/query/query-card/QueryCardHeader/QueryCardHeader.tsx @@ -371,7 +371,7 @@ const QueryCardHeader = (props: Props) => { > {isNumber(executionTime) && ( { disabled={clearing || processing} data-testid="clear-history-btn" > - Clear Results + Clear results )} diff --git a/redisinsight/ui/src/components/recommendation/constants.tsx b/redisinsight/ui/src/components/recommendation/constants.tsx index 252d2deb4a..615af34c47 100644 --- a/redisinsight/ui/src/components/recommendation/constants.tsx +++ b/redisinsight/ui/src/components/recommendation/constants.tsx @@ -9,12 +9,12 @@ export const badgesContent = [ { id: 'code_changes', icon: , - name: 'Code Changes', + name: 'Code changes', }, { id: 'configuration_changes', icon: , - name: 'Configuration Changes', + name: 'Configuration changes', }, { id: 'upgrade', diff --git a/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/VoteOption.tsx b/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/VoteOption.tsx index d6cd940426..b637e60db2 100644 --- a/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/VoteOption.tsx +++ b/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/VoteOption.tsx @@ -194,7 +194,7 @@ const VoteOption = (props: Props) => { color="informative100" data-testid="github-repo-icon" /> - To Github + To GitHub diff --git a/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/utils.ts b/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/utils.ts index f2d4db20b5..0db64d9e78 100644 --- a/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/utils.ts +++ b/redisinsight/ui/src/components/recommendation/recommendation-voting/components/vote-option/utils.ts @@ -9,7 +9,7 @@ export const getVotedText = (vote: Nullable) => export const voteTooltip = Object.freeze({ [Vote.Like]: 'Useful', - [Vote.Dislike]: 'Not Useful', + [Vote.Dislike]: 'Not useful', }) export const iconType = { diff --git a/redisinsight/ui/src/components/settings-item/SettingItem.spec.tsx b/redisinsight/ui/src/components/settings-item/SettingItem.spec.tsx index 43c340f092..bca2b8eea9 100644 --- a/redisinsight/ui/src/components/settings-item/SettingItem.spec.tsx +++ b/redisinsight/ui/src/components/settings-item/SettingItem.spec.tsx @@ -17,12 +17,12 @@ const mockedProps = { initValue: '10000', onApply: jest.fn(), validation: jest.fn((x) => x), - title: 'Keys to Scan in List view', + title: 'Keys to scan in list view', summary: 'Sets the amount of keys to scan per one iteration. Filtering by pattern per a large number of keys may decrease performance.', testid: 'keys-to-scan', placeholder: '10 000', - label: 'Keys to Scan:', + label: 'Keys to scan:', } describe('SettingItem', () => { diff --git a/redisinsight/ui/src/components/shortcuts-flyout/schema.tsx b/redisinsight/ui/src/components/shortcuts-flyout/schema.tsx index bdcb3ca603..f9acdbeaa1 100644 --- a/redisinsight/ui/src/components/shortcuts-flyout/schema.tsx +++ b/redisinsight/ui/src/components/shortcuts-flyout/schema.tsx @@ -17,7 +17,7 @@ export const separator = KEYBOARD_SHORTCUTS._separator export const SHORTCUTS: ShortcutGroup[] = [ { - name: 'Desktop application', + name: 'Desktop app', excludeFor: [BuildType.RedisStack, BuildType.DockerOnPremise], items: [ KEYBOARD_SHORTCUTS.desktop.newWindow, diff --git a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.spec.tsx b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.spec.tsx index 1e2f53fc59..e5f9b780ac 100644 --- a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.spec.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.spec.tsx @@ -63,7 +63,7 @@ describe('ChatsWrapper', () => { it('should call proper dispatch after click on tab', () => { render() - fireEvent.mouseDown(screen.getByText('My Data')) + fireEvent.mouseDown(screen.getByText('My data')) expect(store.getActions()).toEqual([setSelectedTab(AiChatType.Query)]) }) diff --git a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.tsx b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.tsx index 9dfe7ebfdb..4e946146e5 100644 --- a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.tsx @@ -71,7 +71,7 @@ const ChatsWrapper = () => { content: null, }, { - label: My Data, + label: My data, value: AiChatType.Query, content: null, }, diff --git a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat/ExpertChat.tsx b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat/ExpertChat.tsx index 5dbe9ced91..51fd7b10bf 100644 --- a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat/ExpertChat.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat/ExpertChat.tsx @@ -198,16 +198,16 @@ const ExpertChat = () => { return { title: 'Open a database', content: - 'Open your Redis database with Redis Query Engine, or create a new database to get started.', + 'Open your Redis database with Redis Search, or build a new database to get started.', } } if (!isRedisearchAvailable(modules)) { return { - title: 'Redis Query Engine capability is not available', + title: 'Redis Search capability is not available', content: freeInstances?.length ? 'Use your free all-in-one Redis Cloud database to start exploring these capabilities.' - : 'Create a free Redis Cloud database with Redis Query Engine capability that extends the core capabilities of open-source Redis.', + : 'Build a free Redis Cloud database with Redis Search capability that extends the core capabilities of open-source Redis.', icon: , } } diff --git a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/shared/chat-history/texts.tsx b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/shared/chat-history/texts.tsx index 5b659eb2c8..3b51800e3a 100644 --- a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/shared/chat-history/texts.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/shared/chat-history/texts.tsx @@ -10,7 +10,7 @@ export const AssistanceChatInitialMessage = ( Feel free to engage in a general conversation with me about Redis. - Or switch to My Data tab to get assistance in the context of your + Or switch to My data tab to get assistance in the context of your data. diff --git a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/texts.tsx b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/texts.tsx index 4165c8b9dc..e7ee1bb7ec 100644 --- a/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/texts.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/texts.tsx @@ -25,7 +25,7 @@ export const ASSISTANCE_CHAT_AGREEMENTS = ( target="_blank" href="https://redis.io/legal/redis-copilot-terms-of-use/" > - REDIS COPILOT TERMS + Redis Copilot terms {' '} and{' '} - REDIS COPILOT TERMS + Redis Copilot terms {' '} and{' '} ( title={

No information to display

} body={

- Restart the application. + Restart the app.
If the problem persists, please{' '} diff --git a/redisinsight/ui/src/components/side-panels/panels/enablement-area/EnablementArea/components/UploadTutorialForm/UploadTutorialForm.tsx b/redisinsight/ui/src/components/side-panels/panels/enablement-area/EnablementArea/components/UploadTutorialForm/UploadTutorialForm.tsx index 8581ce8fca..7bed37e07a 100644 --- a/redisinsight/ui/src/components/side-panels/panels/enablement-area/EnablementArea/components/UploadTutorialForm/UploadTutorialForm.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/enablement-area/EnablementArea/components/UploadTutorialForm/UploadTutorialForm.tsx @@ -51,7 +51,7 @@ const UploadTutorialForm = (props: Props) => { const validate = (values: FormValues) => { const errs: FormikErrors = {} - if (!values.file && !values.link) errs.file = 'Tutorial Archive or Link' + if (!values.file && !values.link) errs.file = 'Tutorial archive or link' setErrors(errs) return errs diff --git a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/LiveTimeRecommendations.tsx b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/LiveTimeRecommendations.tsx index 9b7a9dc1c4..27888c8dca 100644 --- a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/LiveTimeRecommendations.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/LiveTimeRecommendations.tsx @@ -158,7 +158,7 @@ const LiveTimeRecommendations = () => { const renderHeader = () => ( - Our Tips + Our tips { <> - Eager for more tips? Run Database Analysis to get started. + Eager for more tips? Run Database analysis to get started. @@ -195,7 +195,7 @@ const LiveTimeRecommendations = () => { > { onClick={() => setIsShowApproveRun(true)} data-testid="footer-db-analysis-link" > - Database Analysis + Database analysis {' to get more tips'} diff --git a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.spec.tsx b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.spec.tsx index a5b280f922..c46f673003 100644 --- a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.spec.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.spec.tsx @@ -251,7 +251,7 @@ describe('Recommendation', () => { ) expect(queryByTestId(`${name}-to-tutorial-btn`)).toHaveTextContent( - 'Tutorial', + 'Start tutorial', ) }) diff --git a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.tsx b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.tsx index c918f05d26..dcfa540787 100644 --- a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/recommendation/Recommendation.tsx @@ -211,7 +211,7 @@ const Recommendation = ({ onClick={handleRedirect} data-testid={`${name}-to-tutorial-btn`} > - {tutorialId ? 'Start Tutorial' : 'Workbench'} + {tutorialId ? 'Start tutorial' : 'Workbench'} diff --git a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/welcome-screen/WelcomeScreen.tsx b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/welcome-screen/WelcomeScreen.tsx index b28c4f4e4f..e853219473 100644 --- a/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/welcome-screen/WelcomeScreen.tsx +++ b/redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/welcome-screen/WelcomeScreen.tsx @@ -69,7 +69,7 @@ const NoRecommendationsScreen = () => { className={styles.text} data-testid="no-recommendations-analyse-text" > - Eager for more tips? Run Database Analysis to get started. + Eager for more tips? Run Database analysis to get started. { onClick={() => setIsShowInfo(true)} data-testid="insights-db-analysis-link" > - Analyze Database + Analyze database diff --git a/redisinsight/ui/src/constants/databaseList.ts b/redisinsight/ui/src/constants/databaseList.ts index 75ad34251d..63ada767e5 100644 --- a/redisinsight/ui/src/constants/databaseList.ts +++ b/redisinsight/ui/src/constants/databaseList.ts @@ -9,9 +9,9 @@ export enum DatabaseListColumn { } export const COLUMN_FIELD_NAME_MAP = new Map([ - [DatabaseListColumn.Name, 'Database Alias'], + [DatabaseListColumn.Name, 'Database alias'], [DatabaseListColumn.Host, 'Host:Port'], - [DatabaseListColumn.ConnectionType, 'Connection Type'], + [DatabaseListColumn.ConnectionType, 'Connection type'], [DatabaseListColumn.Modules, 'Capabilities'], [DatabaseListColumn.LastConnection, 'Last connection'], [DatabaseListColumn.Tags, 'Tags'], diff --git a/redisinsight/ui/src/constants/help-texts.tsx b/redisinsight/ui/src/constants/help-texts.tsx index 9de4922e49..cab9bd94e6 100644 --- a/redisinsight/ui/src/constants/help-texts.tsx +++ b/redisinsight/ui/src/constants/help-texts.tsx @@ -29,7 +29,7 @@ export default { .{' '} <> - You can also create a{' '} + You can also build a{' '} Removing multiple elements is available for Redis databases v. 6.2 or - later. Update your Redis database or create a new  + later. Update your Redis database or build a new 
- Use "Scan more" button to proceed or filter per exact Key Name + Use "Scan more" button to proceed or filter per exact key name to scan more efficiently. diff --git a/redisinsight/ui/src/constants/workbenchResults.ts b/redisinsight/ui/src/constants/workbenchResults.ts index 8c022f51cd..403cbe7148 100644 --- a/redisinsight/ui/src/constants/workbenchResults.ts +++ b/redisinsight/ui/src/constants/workbenchResults.ts @@ -25,8 +25,8 @@ export const MODULE_NOT_LOADED_CONTENT: { [key in RedisDefaultModules]?: any } = link: 'https://redis.io/docs/latest/develop/data-types/timeseries/', }, [RedisDefaultModules.Search]: { - title: ['Redis Query Engine is not available for this database'], - text: ['Redis Query Engine allows to:'], + title: ['Redis Search is not available for this database'], + text: ['Redis Search allows to:'], improvements: ['Query', 'Secondary index', 'Full-text search'], additionalText: [ 'These features enable multi-field queries, aggregation, exact phrase matching, numeric filtering, ', @@ -45,7 +45,7 @@ export const MODULE_NOT_LOADED_CONTENT: { [key in RedisDefaultModules]?: any } = 'Retrieve JSON documents', ], additionalText: [ - 'JSON data structure also works seamlessly with Redis Query Engine to let you index and query JSON documents.', + 'JSON data structure also works seamlessly with Redis Search to let you index and query JSON documents.', ], link: 'https://redis.io/docs/latest/develop/data-types/json/', }, @@ -68,6 +68,6 @@ export const MODULE_NOT_LOADED_CONTENT: { [key in RedisDefaultModules]?: any } = export const MODULE_TEXT_VIEW: { [key in RedisDefaultModules]?: string } = { [RedisDefaultModules.Bloom]: 'probabilistic data structures', [RedisDefaultModules.ReJSON]: 'JSON data structure', - [RedisDefaultModules.Search]: 'Redis Query Engine', + [RedisDefaultModules.Search]: 'Redis Search', [RedisDefaultModules.TimeSeries]: 'time series data structure', } diff --git a/redisinsight/ui/src/packages/geodata/package.json b/redisinsight/ui/src/packages/geodata/package.json index 7f3153bf39..0c8331eaff 100644 --- a/redisinsight/ui/src/packages/geodata/package.json +++ b/redisinsight/ui/src/packages/geodata/package.json @@ -136,7 +136,7 @@ }, "iconDark": "./dist/geodata_icon_dark.svg", "iconLight": "./dist/geodata_icon_light.svg", - "description": "Show Redis Query Engine GEO results as plotted locations", + "description": "Show Redis Search GEO results as plotted locations", "default": false }, { @@ -156,7 +156,7 @@ }, "iconDark": "./dist/geodata_heatmap_icon_dark.svg", "iconLight": "./dist/geodata_heatmap_icon_light.svg", - "description": "Show Redis Query Engine GEO result density", + "description": "Show Redis Search GEO result density", "default": false }, { @@ -177,7 +177,7 @@ }, "iconDark": "./dist/geodata_inspector_icon_dark.svg", "iconLight": "./dist/geodata_inspector_icon_light.svg", - "description": "Inspect Redis Query Engine geospatial command inputs and results", + "description": "Inspect Redis Search geospatial command inputs and results", "default": false }, { @@ -196,7 +196,7 @@ }, "iconDark": "./dist/geodata_inspector_icon_dark.svg", "iconLight": "./dist/geodata_inspector_icon_light.svg", - "description": "Show Redis Query Engine GEOSHAPE WKT results", + "description": "Show Redis Search GEOSHAPE WKT results", "default": false } ], diff --git a/redisinsight/ui/src/packages/geodata/src/App.spec.tsx b/redisinsight/ui/src/packages/geodata/src/App.spec.tsx index d9dde13108..7458b5a928 100644 --- a/redisinsight/ui/src/packages/geodata/src/App.spec.tsx +++ b/redisinsight/ui/src/packages/geodata/src/App.spec.tsx @@ -163,7 +163,7 @@ describe('Geodata App', () => { ).toBeInTheDocument() }) - it('renders Redis Query Engine GEO points on a map', () => { + it('renders Redis Search GEO points on a map', () => { renderComponent( 'FT.SEARCH cities "@coords:[2.34 48.86 1000 km]" RETURN 1 coords', [1, 'city:1', ['name', 'Paris', 'coords', '2.34,48.86']], @@ -176,7 +176,7 @@ describe('Geodata App', () => { expect(screen.queryByText('Map tiles disabled')).not.toBeInTheDocument() }) - it('renders Redis Query Engine GEO points on a heatmap', () => { + it('renders Redis Search GEO points on a heatmap', () => { renderComponent( 'FT.SEARCH cities "@coords:[2.34 48.86 1000 km]" RETURN 1 coords', [1, 'city:1', ['name', 'Paris', 'coords', '2.34,48.86']], @@ -187,7 +187,7 @@ describe('Geodata App', () => { expect(screen.getByRole('cell', { name: 'Paris' })).toBeInTheDocument() }) - it('renders Redis Query Engine command parse errors', () => { + it('renders Redis Search command parse errors', () => { renderComponent( 'FT.SEARCH idx "*"', [0], @@ -196,7 +196,7 @@ describe('Geodata App', () => { expect(screen.getByText('Cannot inspect RQE geo command')).toBeInTheDocument() expect( - screen.getByText('No Redis Query Engine geospatial predicate found.'), + screen.getByText('No Redis Search geospatial predicate found.'), ).toBeInTheDocument() }) @@ -215,7 +215,7 @@ describe('Geodata App', () => { ).toBeInTheDocument() }) - it('renders Redis Query Engine GEO inspector summaries', () => { + it('renders Redis Search GEO inspector summaries', () => { renderComponent( 'FT.AGGREGATE idx "@coords:[$lon $lat $radius km]" PARAMS 6 lon 2.34 lat 48.86 radius 1000 LOAD 1 @coords', [1, ['name', 'Paris', 'coords', '2.34,48.86']], @@ -228,7 +228,7 @@ describe('Geodata App', () => { expect(screen.getByText('1000 km')).toBeInTheDocument() }) - it('renders Redis Query Engine GEOSHAPE results', () => { + it('renders Redis Search GEOSHAPE results', () => { renderComponent( 'FT.SEARCH idx "@geom:[CONTAINS $shape]" PARAMS 2 shape "POINT (2 2)" RETURN 1 geom DIALECT 3', [1, 'shape:1', ['name', 'Zone', 'geom', 'POLYGON ((1 1, 1 3, 3 3, 1 1))']], diff --git a/redisinsight/ui/src/packages/geodata/src/components/RqeGeoVisualization/RqeGeoVisualization.spec.tsx b/redisinsight/ui/src/packages/geodata/src/components/RqeGeoVisualization/RqeGeoVisualization.spec.tsx index 32d6dba0ef..1d3cce27ce 100644 --- a/redisinsight/ui/src/packages/geodata/src/components/RqeGeoVisualization/RqeGeoVisualization.spec.tsx +++ b/redisinsight/ui/src/packages/geodata/src/components/RqeGeoVisualization/RqeGeoVisualization.spec.tsx @@ -134,7 +134,7 @@ describe('RqeGeoVisualization', () => { it('shows a heatmap-specific error title when heatmap command parsing fails', () => { jest.spyOn(rqeGeoParser, 'parseRqeGeoCommand').mockReturnValue({ ok: false, - error: 'No Redis Query Engine geospatial predicate found.', + error: 'No Redis Search geospatial predicate found.', }) render( diff --git a/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.spec.ts b/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.spec.ts index d421a616d1..818cc80588 100644 --- a/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.spec.ts +++ b/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.spec.ts @@ -166,7 +166,7 @@ describe('rqeGeoParser', () => { ), ).toEqual({ ok: false, - error: 'No Redis Query Engine geospatial predicate found.', + error: 'No Redis Search geospatial predicate found.', }) }) @@ -177,7 +177,7 @@ describe('rqeGeoParser', () => { ), ).toEqual({ ok: false, - error: 'No Redis Query Engine geospatial predicate found.', + error: 'No Redis Search geospatial predicate found.', }) expect( @@ -186,7 +186,7 @@ describe('rqeGeoParser', () => { ), ).toEqual({ ok: false, - error: 'No Redis Query Engine geospatial predicate found.', + error: 'No Redis Search geospatial predicate found.', }) }) @@ -282,11 +282,11 @@ describe('rqeGeoParser', () => { it('rejects malformed RQE geo predicates', () => { expect(parseRqeGeoCommand('')).toEqual({ ok: false, - error: 'Missing Redis Query Engine command.', + error: 'Missing Redis Search command.', }) expect(parseRqeGeoCommand('FT.INFO idx')).toEqual({ ok: false, - error: 'Unsupported Redis Query Engine command: FT.INFO.', + error: 'Unsupported Redis Search command: FT.INFO.', }) expect(parseRqeGeoCommand('FT.SEARCH')).toEqual({ ok: false, @@ -791,7 +791,7 @@ describe('rqeGeoParser', () => { it('rejects unsupported RQE geo commands and malformed shapes', () => { expect(parseRqeGeoCommand('FT.SEARCH idx "*"')).toEqual({ ok: false, - error: 'No Redis Query Engine geospatial predicate found.', + error: 'No Redis Search geospatial predicate found.', }) expect( parseRqeGeoCommand( diff --git a/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.ts b/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.ts index 4822c76e20..20060b2293 100644 --- a/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.ts +++ b/redisinsight/ui/src/packages/geodata/src/utils/rqeGeoParser.ts @@ -307,10 +307,10 @@ export const parseRqeGeoCommand = ( const tokens = tokenizeRedisCommand(command) const commandToken = tokens[0]?.toUpperCase() as RqeGeoCommand | undefined if (!commandToken) { - return { ok: false, error: 'Missing Redis Query Engine command.' } + return { ok: false, error: 'Missing Redis Search command.' } } if (!RQE_GEO_COMMANDS.has(commandToken)) { - return { ok: false, error: `Unsupported Redis Query Engine command: ${tokens[0]}.` } + return { ok: false, error: `Unsupported Redis Search command: ${tokens[0]}.` } } if (!tokens[1]) { return { ok: false, error: `${commandToken} requires an index.` } @@ -333,7 +333,7 @@ export const parseRqeGeoCommand = ( queryOverlay if (!parsedOverlay) { - return { ok: false, error: 'No Redis Query Engine geospatial predicate found.' } + return { ok: false, error: 'No Redis Search geospatial predicate found.' } } if (!parsedOverlay.ok) { return parsedOverlay @@ -534,7 +534,7 @@ const parseRqeRows = ( return { ok: false, - error: `Unsupported Redis Query Engine command: ${command.command}.`, + error: `Unsupported Redis Search command: ${command.command}.`, } } diff --git a/redisinsight/ui/src/packages/redisearch/index.html b/redisinsight/ui/src/packages/redisearch/index.html index 1d9e3ae24c..a2d4740ade 100644 --- a/redisinsight/ui/src/packages/redisearch/index.html +++ b/redisinsight/ui/src/packages/redisearch/index.html @@ -4,7 +4,7 @@ - Redis Query Engine plugin + Redis Search plugin diff --git a/redisinsight/ui/src/packages/redisearch/package.json b/redisinsight/ui/src/packages/redisearch/package.json index 139086abd2..a233317bc5 100644 --- a/redisinsight/ui/src/packages/redisearch/package.json +++ b/redisinsight/ui/src/packages/redisearch/package.json @@ -7,7 +7,7 @@ "bugs": { "url": "https://github.com/" }, - "description": "Redis Insight plugin for RediSearch module", + "description": "Redis Insight plugin for Redis Search module", "source": "./src/index.tsx", "styles": "./dist/styles.css", "main": "./dist/index.js", @@ -28,7 +28,7 @@ ], "iconDark": "./dist/table_view_icon_dark.svg", "iconLight": "./dist/table_view_icon_light.svg", - "description": "RediSearch default plugin", + "description": "Redis Search default plugin", "default": true }, { @@ -40,7 +40,7 @@ ], "iconDark": "./dist/table_view_icon_dark.svg", "iconLight": "./dist/table_view_icon_light.svg", - "description": "RediSearch default plugin", + "description": "Redis Search default plugin", "default": false } ], diff --git a/redisinsight/ui/src/packages/redisgraph/package.json b/redisinsight/ui/src/packages/redisgraph/package.json index 9322fd9f9d..c59f4b7989 100644 --- a/redisinsight/ui/src/packages/redisgraph/package.json +++ b/redisinsight/ui/src/packages/redisgraph/package.json @@ -7,7 +7,7 @@ "bugs": { "url": "https://github.com/" }, - "description": "Show graph Visualization/table", + "description": "Show graph visualization/table", "source": "./src/main.tsx", "styles": "./dist/styles.css", "main": "./dist/index.js", diff --git a/redisinsight/ui/src/packages/redisinsight-plugin-sdk/package.json b/redisinsight/ui/src/packages/redisinsight-plugin-sdk/package.json index aa221410c7..a24e7bfb09 100644 --- a/redisinsight/ui/src/packages/redisinsight-plugin-sdk/package.json +++ b/redisinsight/ui/src/packages/redisinsight-plugin-sdk/package.json @@ -1,6 +1,6 @@ { "name": "redisinsight-plugin-sdk", - "description": "Redis API for creating packages for Redis v.2 application", + "description": "Redis API for creating packages for Redis v.2 app", "license": "MIT", "keywords": [ "redis", diff --git a/redisinsight/ui/src/packages/ri-explain/package.json b/redisinsight/ui/src/packages/ri-explain/package.json index e2b3728051..e405ae56b1 100644 --- a/redisinsight/ui/src/packages/ri-explain/package.json +++ b/redisinsight/ui/src/packages/ri-explain/package.json @@ -7,7 +7,7 @@ "bugs": { "url": "https://github.com/" }, - "description": "Show Profile/Explain Visualization", + "description": "Show Profile/Explain visualization", "source": "./src/main.tsx", "styles": "./dist/styles.css", "main": "./dist/index.js", @@ -36,7 +36,7 @@ ], "iconDark": "./dist/profile_icon_dark.svg", "iconLight": "./dist/profile_icon_light.svg", - "description": "Profile/Explain plugin Visualization", + "description": "Profile/Explain plugin visualization", "default": true } ], diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.constants.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.constants.tsx index 051112fc3e..b171bda776 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.constants.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.constants.tsx @@ -34,7 +34,7 @@ export const AZURE_DATABASES_COLUMNS: ColumnDef[] = [ }, { id: 'name', - header: 'Database Name', + header: 'Database name', accessorKey: 'name', enableSorting: true, cell: ({ getValue }) => {getValue() as string}, diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.spec.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.spec.tsx index 7708033ac7..baeea15649 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.spec.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.spec.tsx @@ -53,7 +53,7 @@ describe('AzureDatabases', () => { it('should render title', () => { renderComponent() - expect(screen.getByText('Azure Redis Databases')).toBeInTheDocument() + expect(screen.getByText('Azure Redis databases')).toBeInTheDocument() }) it('should render subscription name', () => { @@ -217,7 +217,7 @@ describe('AzureDatabases', () => { expect( screen.queryByTestId('max-selection-message'), ).not.toBeInTheDocument() - expect(screen.getByText(/Add Database/)).toBeInTheDocument() + expect(screen.getByText(/Add database/)).toBeInTheDocument() }) it('should show max selection message when 10 databases are selected', () => { @@ -292,7 +292,7 @@ describe('AzureDatabases', () => { it('should display Access Key option', () => { renderComponent() - expect(screen.getByText('Access Key')).toBeInTheDocument() + expect(screen.getByText('Access key')).toBeInTheDocument() }) it('should call onAuthTypeChange when Access Key is selected', () => { diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.tsx index d763da1d70..bff846f697 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabases/AzureDatabases.tsx @@ -141,7 +141,7 @@ const AzureDatabases = ({

- Access Key + Access key @@ -242,7 +242,7 @@ const AzureDatabases = ({ data-testid="btn-manual-connection" onClick={onManualConnection} > - Manual Connection + Manual connection 0 ? `(${selectedDatabases.length})` : ''}{' '} - Database + database {selectedDatabases.length !== 1 ? 's' : ''} diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabasesPage.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabasesPage.tsx index 3d0de01600..f47dde363e 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabasesPage.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-databases/AzureDatabasesPage.tsx @@ -105,7 +105,7 @@ const AzureDatabasesPage = () => { return } - setTitle('Azure Databases') + setTitle('Azure databases') // Only fetch if not already loaded if (!loaded.databases) { diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-manual-connection/AzureManualConnectionForm.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-manual-connection/AzureManualConnectionForm.tsx index 055da2557e..ff1ed30fc8 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-manual-connection/AzureManualConnectionForm.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-manual-connection/AzureManualConnectionForm.tsx @@ -44,7 +44,7 @@ const AzureManualConnectionForm = (props: Props) => { name="name" id="name" data-testid="name" - placeholder="Enter Database Alias" + placeholder="Enter database alias" onFocus={selectOnFocus} value={formik.values.name ?? ''} maxLength={500} @@ -64,7 +64,7 @@ const AzureManualConnectionForm = (props: Props) => { id="host" data-testid="host" maxLength={200} - placeholder="Enter Hostname / IP address / Private Endpoint" + placeholder="Enter hostname / IP address / private endpoint" value={formik.values.host ?? ''} onChange={(value) => { formik.setFieldValue('host', validateField(value.trim())) @@ -80,7 +80,7 @@ const AzureManualConnectionForm = (props: Props) => { name="port" id="port" data-testid="port" - placeholder="Enter Port" + placeholder="Enter port" onChange={(value) => formik.setFieldValue('port', value)} value={Number(formik.values.port)} min={0} @@ -106,7 +106,7 @@ const AzureManualConnectionForm = (props: Props) => { id="username" data-testid="username" maxLength={200} - placeholder="Enter Username" + placeholder="Enter username" value={formik.values.username ?? ''} onChangeCapture={formik.handleChange} disabled @@ -124,7 +124,7 @@ const AzureManualConnectionForm = (props: Props) => { name="timeout" id="timeout" data-testid="timeout" - placeholder="Enter Timeout (in seconds)" + placeholder="Enter timeout (in seconds)" onChange={(value) => formik.setFieldValue('timeout', value)} value={Number(formik.values.timeout)} min={1} @@ -211,7 +211,7 @@ const AzureManualConnectionForm = (props: Props) => { {formik.values.sni && ( - + { // Send telemetry only once on initial page load (skip if not authenticated) useEffect(() => { if (!account) return - setTitle('Azure Manual Connection') + setTitle('Azure manual connection') sendEventTelemetry({ event: TelemetryEvent.AZURE_MANUAL_CONNECTION_OPENED, }) @@ -175,7 +175,7 @@ const AzureManualConnectionPage = () => {
@@ -198,7 +198,7 @@ const AzureManualConnectionPage = () => { loading={loading} onClick={() => formik.handleSubmit()} > - Add Database + Add database diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.constants.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.constants.tsx index c95024744f..8f2f3277cb 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.constants.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.constants.tsx @@ -23,7 +23,7 @@ export const AZURE_SUBSCRIPTIONS_COLUMNS: ColumnDef[] = [ }, { id: 'displayName', - header: 'Subscription Name', + header: 'Subscription name', accessorKey: 'displayName', enableSorting: true, cell: ({ getValue }) => {getValue() as string}, diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.spec.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.spec.tsx index 57981c8ea4..b5ff23f143 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.spec.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.spec.tsx @@ -49,7 +49,7 @@ describe('AzureSubscriptions', () => { it('should render title', () => { renderComponent() - expect(screen.getByText('Azure Subscriptions')).toBeInTheDocument() + expect(screen.getByText('Azure subscriptions')).toBeInTheDocument() }) it('should render signed in user', () => { @@ -112,7 +112,7 @@ describe('AzureSubscriptions', () => { const subscriptions = [mockSubscription()] renderComponent({ subscriptions }) - const submitButton = screen.getByText('Show Databases') + const submitButton = screen.getByText('Show databases') expect(submitButton).toBeDisabled() }) @@ -120,7 +120,7 @@ describe('AzureSubscriptions', () => { const subscriptions = [mockSubscription()] renderComponent({ subscriptions, loading: true }) - const submitButton = screen.getByText('Show Databases') + const submitButton = screen.getByText('Show databases') expect(submitButton).toBeDisabled() }) diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.tsx index 22dcf4e5aa..e87218fe08 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptions/AzureSubscriptions.tsx @@ -113,7 +113,7 @@ const AzureSubscriptions = ({
- Manual Connection + Manual connection - Show Databases + Show databases diff --git a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptionsPage.tsx b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptionsPage.tsx index 2881ad9c58..76b4c0e030 100644 --- a/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptionsPage.tsx +++ b/redisinsight/ui/src/pages/autodiscover-azure/azure-subscriptions/AzureSubscriptionsPage.tsx @@ -29,7 +29,7 @@ const AzureSubscriptionsPage = () => { return } - setTitle('Azure Subscriptions') + setTitle('Azure subscriptions') // Only fetch if not already loaded or if account changed if (!loaded.subscriptions) { diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/RedisCloudDatabasesResult.tsx b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/RedisCloudDatabasesResult.tsx index ed390c78a9..0c162a58f3 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/RedisCloudDatabasesResult.tsx +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/RedisCloudDatabasesResult.tsx @@ -70,7 +70,7 @@ const RedisCloudDatabaseListResult = ({
@@ -111,7 +111,7 @@ const RedisCloudDatabaseListResult = ({ data-testid="btn-view-databases" disabled={items.length === 0} > - View Databases + View databases diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/hooks/useCloudDatabasesResultConfig.ts b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/hooks/useCloudDatabasesResultConfig.ts index 7cef62aea6..ca9bcfe067 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/hooks/useCloudDatabasesResultConfig.ts +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases-result/hooks/useCloudDatabasesResultConfig.ts @@ -25,7 +25,7 @@ export const useCloudDatabasesResultConfig = if (!instances.length) { history.push(Pages.home) } - setTitle('Redis Enterprise Databases Added') + setTitle('Redis Cloud databases added') }, [instances.length, history]) const handleClose = useCallback(() => { diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/RedisCloudDatabases/RedisCloudDatabases.tsx b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/RedisCloudDatabases/RedisCloudDatabases.tsx index b5de1cd00a..5ab80280f0 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/RedisCloudDatabases/RedisCloudDatabases.tsx +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/RedisCloudDatabases/RedisCloudDatabases.tsx @@ -50,8 +50,7 @@ interface IPopoverProps { const loadingMsg = 'loading...' const notFoundMsg = 'Not found' -const noResultsMessage = - 'Your Redis Enterprise Cloud has no databases available' +const noResultsMessage = 'Your Redis Cloud has no databases available' const RedisCloudDatabasesPage = ({ columns, @@ -165,7 +164,7 @@ const RedisCloudDatabasesPage = ({ icon={isDisabled ? InfoIcon : undefined} data-testid="btn-add-databases" > - Add selected Databases + Add selected databases ) diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/hooks/useCloudDatabasesConfig.ts b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/hooks/useCloudDatabasesConfig.ts index eab072d941..0b27163e47 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/hooks/useCloudDatabasesConfig.ts +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-databases/hooks/useCloudDatabasesConfig.ts @@ -59,7 +59,7 @@ export const useCloudDatabasesConfig = (): UseCloudDatabasesConfigReturn => { if (instances === null) { history.push(Pages.home) } - setTitle('Redis Cloud Databases') + setTitle('Redis Cloud databases') dispatch(resetLoadedRedisCloud(LoadedCloud.Instances)) }, [instances]) diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/RedisCloudSubscriptions/RedisCloudSubscriptions.tsx b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/RedisCloudSubscriptions/RedisCloudSubscriptions.tsx index c6e240eb0d..c942e5a156 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/RedisCloudSubscriptions/RedisCloudSubscriptions.tsx +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/RedisCloudSubscriptions/RedisCloudSubscriptions.tsx @@ -119,7 +119,7 @@ const RedisCloudSubscriptions = ({
diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/components/Account/Account.tsx b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/components/Account/Account.tsx index fe02cb95a9..b015cb0989 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/components/Account/Account.tsx +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/components/Account/Account.tsx @@ -39,13 +39,13 @@ export const Account = ({ )} {ownerName && ( - Owner Name: + Owner name: )} {ownerEmail && ( - Owner Email: + Owner email: )} diff --git a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/hooks/useCloudSubscriptionConfig.ts b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/hooks/useCloudSubscriptionConfig.ts index cd0862fe14..4c1c88fd35 100644 --- a/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/hooks/useCloudSubscriptionConfig.ts +++ b/redisinsight/ui/src/pages/autodiscover-cloud/redis-cloud-subscriptions/hooks/useCloudSubscriptionConfig.ts @@ -48,7 +48,7 @@ export const useCloudSubscriptionConfig = if (subscriptions === null) { history.push(Pages.home) } else { - setTitle('Redis Cloud Subscriptions') + setTitle('Redis Cloud subscriptions') } }, []) diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/SentinelDatabasesResult/SentinelDatabasesResult.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/SentinelDatabasesResult/SentinelDatabasesResult.tsx index 0a72bf61c9..4c828015be 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/SentinelDatabasesResult/SentinelDatabasesResult.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/SentinelDatabasesResult/SentinelDatabasesResult.tsx @@ -130,7 +130,7 @@ const SentinelDatabasesResult = ({ onClick={handleViewDatabases} data-testid="btn-view-databases" > - View Databases + View databases diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/AddErrorButton/AddErrorButton.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/AddErrorButton/AddErrorButton.tsx index e1aab4ee33..246636e309 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/AddErrorButton/AddErrorButton.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/AddErrorButton/AddErrorButton.tsx @@ -32,7 +32,7 @@ export const AddErrorButton = ({ Database Alias : null} + content={isDisabled ? Database alias : null} > onAddInstance(name)} icon={isDisabled ? InfoIcon : undefined} > - Add Primary Group + Add primary group diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/DbCell/DbCell.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/DbCell/DbCell.tsx index e0b0b75993..f5620a7d0f 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/DbCell/DbCell.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/DbCell/DbCell.tsx @@ -30,7 +30,7 @@ export const DbCell = ({ value={`${db}` || '0'} name={`db-${id}`} isInvalid={isDBInvalid} - placeholder="Enter Index" + placeholder="Enter index" inputType={SentinelInputFieldType.Number} onChangedInput={handleChangedInput} /> diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/PasswordCell/PasswordCell.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/PasswordCell/PasswordCell.tsx index 548b3b8009..57c5aba997 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/PasswordCell/PasswordCell.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/PasswordCell/PasswordCell.tsx @@ -27,7 +27,7 @@ export const PasswordCell = ({ isInvalid={isInvalid} value={password} name={`password-${id}`} - placeholder="Enter Password" + placeholder="Enter password" disabled={loading} inputType={SentinelInputFieldType.Password} onChangedInput={handleChangedInput} diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/UsernameCell/UsernameCell.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/UsernameCell/UsernameCell.tsx index d55050dc31..03e938ba3e 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/UsernameCell/UsernameCell.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/components/column-definitions/components/UsernameCell/UsernameCell.tsx @@ -28,7 +28,7 @@ export const UsernameCell = ({ isInvalid={isInvalid} value={username} name={`username-${id}`} - placeholder="Enter Username" + placeholder="Enter username" disabled={loading} inputType={SentinelInputFieldType.Text} onChangedInput={handleChangedInput} diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/useSentinelDatabasesResultConfig.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/useSentinelDatabasesResultConfig.tsx index c1924d5004..b16a4faaed 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/useSentinelDatabasesResultConfig.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/useSentinelDatabasesResultConfig.tsx @@ -97,7 +97,7 @@ export const useSentinelDatabasesResultConfig = () => { history.push(Pages.home) return } - setTitle('Redis Sentinel Primary Groups Added') + setTitle('Redis Sentinel primary groups added') setIsInvalid(true) setItems(masters) diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/SentinelDatabases/components/SubmitButton/SubmitButton.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/SentinelDatabases/components/SubmitButton/SubmitButton.tsx index a81b20d084..001d33af83 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/SentinelDatabases/components/SubmitButton/SubmitButton.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/SentinelDatabases/components/SubmitButton/SubmitButton.tsx @@ -51,7 +51,7 @@ export const SubmitButton = ({ } data-testid="btn-add-primary-group" > - Add Primary Group + Add primary group ) } diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/AliasCell/AliasCell.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/AliasCell/AliasCell.tsx index b12bbf87e0..e21c55c12c 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/AliasCell/AliasCell.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/AliasCell/AliasCell.tsx @@ -14,7 +14,7 @@ export const AliasCell = ({ diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/UsernameCell/UsernameCell.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/UsernameCell/UsernameCell.tsx index 7798132197..ae41078ab8 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/UsernameCell/UsernameCell.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/column-definitions/components/UsernameCell/UsernameCell.tsx @@ -13,7 +13,7 @@ export const UsernameCell = ({ diff --git a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/useSentinelDatabasesConfig.tsx b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/useSentinelDatabasesConfig.tsx index 4d40f0dfeb..a5a792fc05 100644 --- a/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/useSentinelDatabasesConfig.tsx +++ b/redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/useSentinelDatabasesConfig.tsx @@ -82,7 +82,7 @@ export const useSentinelDatabasesConfig = () => { } }, [masters.length]) - useEffect(() => setTitle('Auto-Discover Redis Sentinel Primary Groups'), []) + useEffect(() => setTitle('Auto-discover Redis Sentinel primary groups'), []) const handleClose = useCallback(() => { sendCancelEvent() dispatch(resetDataSentinel()) diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKey.spec.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKey.spec.tsx index 0ccd112b11..c1c609cf68 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKey.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKey.spec.tsx @@ -42,7 +42,7 @@ jest.mock('uiSrc/slices/instances/instances', () => ({ /** * Build a fresh store with the `vectorSet` feature flag pre-seeded so the - * Vector Set option's `isEnabledSelector` (which reads the flag from the + * Vector set option's `isEnabledSelector` (which reads the flag from the * features slice) resolves correctly. We seed the store rather than spying * on the selector because the option config holds an import-time reference * to the selector, which jest spies on the module export cannot intercept. @@ -99,7 +99,7 @@ describe('AddKey', () => { />, ) - expect(screen.getByText(/Key Type\*/i)).toBeInTheDocument() + expect(screen.getByText(/Key type\*/i)).toBeInTheDocument() }) it('should have key type select with predefined first value from options', () => { @@ -164,28 +164,28 @@ describe('AddKey', () => { ]) }) - it('should show Vector Set option when redis version >= 8.0 and vector set flag is enabled', async () => { + it('should show Vector set option when redis version >= 8.0 and vector set flag is enabled', async () => { mockRedisVersion('8.0.0') renderWithVectorSetFlag(true) await userEvent.click(screen.getByTestId('select-key-type')) - expect(await screen.findByText('Vector Set')).toBeInTheDocument() + expect(await screen.findByText('Vector set')).toBeInTheDocument() }) - it('should hide Vector Set option when redis version < 8.0', async () => { + it('should hide Vector set option when redis version < 8.0', async () => { mockRedisVersion('7.4.0') renderWithVectorSetFlag(true) await userEvent.click(screen.getByTestId('select-key-type')) - expect(screen.queryByText('Vector Set')).not.toBeInTheDocument() + expect(screen.queryByText('Vector set')).not.toBeInTheDocument() }) - it('should hide Vector Set option when vector set flag is disabled', async () => { + it('should hide Vector set option when vector set flag is disabled', async () => { mockRedisVersion('8.0.0') renderWithVectorSetFlag(false) await userEvent.click(screen.getByTestId('select-key-type')) - expect(screen.queryByText('Vector Set')).not.toBeInTheDocument() + expect(screen.queryByText('Vector set')).not.toBeInTheDocument() }) it('should not show text if db contains ReJSON module', async () => { diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKey.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKey.tsx index 62d6ce5ff1..d94120f55d 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKey.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKey.tsx @@ -164,7 +164,7 @@ const AddKey = (props: Props) => { > - New Key + New key {!arePanelsCollapsed && ( { onCancel(true)} onAction={onClickAction} - actionText="Add Key" + actionText="Add key" loading={loading || isSubmittingSampleDataset} disabled={ isSampleMode diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyArray/LoadSampleDataset/data.ts b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyArray/LoadSampleDataset/data.ts index 85bf1b6a35..d61e3b0ed6 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyArray/LoadSampleDataset/data.ts +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyArray/LoadSampleDataset/data.ts @@ -39,7 +39,7 @@ export const SAMPLE_DATASETS: SampleArrayDataset[] = [ elementCount: 39, highestIndex: '38', previewRows: [ - { index: '0', value: '# Redis Insight Prototype' }, + { index: '0', value: '# Redis Insight prototype' }, { index: '1', value: '' }, { index: '2', diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyCommonFields/AddKeyCommonFields.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyCommonFields/AddKeyCommonFields.tsx index 4ec68f3762..ff4bd78361 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyCommonFields/AddKeyCommonFields.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyCommonFields/AddKeyCommonFields.tsx @@ -58,7 +58,7 @@ const AddKeyCommonFields = (props: Props) => { - + diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyHash/AddKeyHash.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyHash/AddKeyHash.tsx index 202624ce88..ec1801ba40 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyHash/AddKeyHash.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyHash/AddKeyHash.tsx @@ -218,7 +218,7 @@ const AddKeyHash = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" loading={loading} disabled={!isFormValid} actionTestId="add-key-hash-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyList/AddKeyList.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyList/AddKeyList.tsx index 08bbaf398d..b3bd944ef6 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyList/AddKeyList.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyList/AddKeyList.tsx @@ -108,7 +108,7 @@ const AddKeyList = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" loading={loading} disabled={!isFormValid} actionTestId="add-key-list-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON/AddKeyReJSON.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON/AddKeyReJSON.tsx index 294b8e3c51..08f13b8653 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON/AddKeyReJSON.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON/AddKeyReJSON.tsx @@ -96,7 +96,7 @@ const AddKeyReJSON = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" loading={loading} disabled={!isFormValid} actionTestId="add-key-json-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeySet/AddKeySet.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeySet/AddKeySet.tsx index 5f209874da..6619a98628 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeySet/AddKeySet.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeySet/AddKeySet.tsx @@ -151,7 +151,7 @@ const AddKeySet = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" loading={loading} disabled={!isFormValid} actionTestId="add-key-set-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyStream/AddKeyStream.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyStream/AddKeyStream.tsx index e8550485ec..3304a3d7c4 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyStream/AddKeyStream.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyStream/AddKeyStream.tsx @@ -95,7 +95,7 @@ const AddKeyStream = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" disabled={!isFormValid} actionTestId="add-key-hash-btn" /> diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyString/AddKeyString.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyString/AddKeyString.tsx index 156624092f..3b7c911fe3 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyString/AddKeyString.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyString/AddKeyString.tsx @@ -63,7 +63,7 @@ const AddKeyString = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" loading={loading} disabled={!isFormValid} actionTestId="add-key-string-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyVectorSet/AddKeyVectorSet.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyVectorSet/AddKeyVectorSet.tsx index 997efacfae..cbed2378db 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyVectorSet/AddKeyVectorSet.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyVectorSet/AddKeyVectorSet.tsx @@ -246,7 +246,7 @@ const AddKeyVectorSet = ({ onCancel(true)} onAction={onClickAction} - actionText="Add Key" + actionText="Add key" loading={loading || isSubmittingSampleDataset} disabled={!isFormValid || isSubmittingSampleDataset} actionTestId="add-key-vector-set-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyZset/AddKeyZset.tsx b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyZset/AddKeyZset.tsx index 43fd31c3c6..14a43ca21d 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/AddKeyZset/AddKeyZset.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-key/AddKeyZset/AddKeyZset.tsx @@ -225,7 +225,7 @@ const AddKeyZset = (props: Props) => { onCancel(true)} onAction={submitData} - actionText="Add Key" + actionText="Add key" loading={loading} disabled={!isFormValid} actionTestId="add-key-zset-btn" diff --git a/redisinsight/ui/src/pages/browser/components/add-key/constants/fields-config.ts b/redisinsight/ui/src/pages/browser/components/add-key/constants/fields-config.ts index bcf8607ecd..745f3624b4 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/constants/fields-config.ts +++ b/redisinsight/ui/src/pages/browser/components/add-key/constants/fields-config.ts @@ -15,8 +15,8 @@ export const AddCommonFieldsFormConfig: IAddCommonFieldsFormConfig = { keyName: { name: 'keyName', isRequire: true, - label: 'Key Name*', - placeholder: 'Enter Key Name', + label: 'Key name*', + placeholder: 'Enter key name', }, keyTTL: { name: 'keyTTL', @@ -36,13 +36,13 @@ export const AddHashFormConfig: IAddHashFormConfig = { name: 'fieldName', isRequire: false, label: 'Field', - placeholder: 'Enter Field', + placeholder: 'Enter field', }, fieldValue: { name: 'fieldValue', isRequire: false, label: 'Value', - placeholder: 'Enter Value', + placeholder: 'Enter value', }, } @@ -56,13 +56,13 @@ export const AddZsetFormConfig: IAddZsetFormConfig = { name: 'score', isRequire: true, label: 'Score*', - placeholder: 'Enter Score*', + placeholder: 'Enter score*', }, member: { name: 'member', isRequire: false, label: 'Member', - placeholder: 'Enter Member', + placeholder: 'Enter member', }, } @@ -75,7 +75,7 @@ export const AddSetFormConfig: IAddSetFormConfig = { name: 'member', isRequire: false, label: 'Member', - placeholder: 'Enter Member', + placeholder: 'Enter member', }, } @@ -88,7 +88,7 @@ export const AddStringFormConfig: IAddStringFormConfig = { name: 'value', isRequire: false, label: 'Value', - placeholder: 'Enter Value', + placeholder: 'Enter value', }, } @@ -102,13 +102,13 @@ export const AddListFormConfig: IAddListFormConfig = { name: 'element', isRequire: false, label: 'Element', - placeholder: 'Enter Element', + placeholder: 'Enter element', }, count: { name: 'count', isRequire: true, label: 'Count', - placeholder: 'Enter Count*', + placeholder: 'Enter count*', }, } @@ -135,20 +135,20 @@ export const AddArrayFormConfig: IAddArrayFormConfig = { startIndex: { name: 'startIndex', isRequire: true, - label: 'Start Index*', - placeholder: 'Enter Start Index', + label: 'Start index*', + placeholder: 'Enter start index', }, index: { name: 'index', isRequire: true, label: 'Index*', - placeholder: 'Enter Index', + placeholder: 'Enter index', }, value: { name: 'value', isRequire: true, label: 'Value*', - placeholder: 'Enter Value', + placeholder: 'Enter value', }, } @@ -164,20 +164,20 @@ export const AddStreamFormConfig: IAddStreamFormConfig = { name: 'Entry ID', isRequire: true, label: 'Entry ID*', - placeholder: 'Enter Entry ID', + placeholder: 'Enter entry ID', }, name: { id: 'name', - name: 'Field Name', + name: 'Field name', isRequire: false, label: 'Field', - placeholder: 'Enter Field', + placeholder: 'Enter field', }, value: { id: 'value', - name: 'Field Value', + name: 'Field value', isRequire: false, label: 'Value', - placeholder: 'Enter Value', + placeholder: 'Enter value', }, } diff --git a/redisinsight/ui/src/pages/browser/components/add-key/constants/key-type-options.ts b/redisinsight/ui/src/pages/browser/components/add-key/constants/key-type-options.ts index 0319d4669e..3cbd6d35b3 100644 --- a/redisinsight/ui/src/pages/browser/components/add-key/constants/key-type-options.ts +++ b/redisinsight/ui/src/pages/browser/components/add-key/constants/key-type-options.ts @@ -30,7 +30,7 @@ export const ADD_KEY_TYPE_OPTIONS: AddKeyTypeOption[] = [ color: GROUP_TYPES_COLORS[KeyTypes.Set], }, { - text: 'Sorted Set', + text: 'Sorted set', value: KeyTypes.ZSet, color: GROUP_TYPES_COLORS[KeyTypes.ZSet], }, @@ -50,7 +50,7 @@ export const ADD_KEY_TYPE_OPTIONS: AddKeyTypeOption[] = [ color: GROUP_TYPES_COLORS[KeyTypes.Stream], }, { - text: 'Vector Set', + text: 'Vector set', value: KeyTypes.VectorSet, color: GROUP_TYPES_COLORS[KeyTypes.VectorSet], minVersion: CommandsVersions.VECTOR_SET.since, diff --git a/redisinsight/ui/src/pages/browser/components/add-multiple-fields/AddMultipleFields.tsx b/redisinsight/ui/src/pages/browser/components/add-multiple-fields/AddMultipleFields.tsx index 645d6174d6..1d4b73e6e5 100644 --- a/redisinsight/ui/src/pages/browser/components/add-multiple-fields/AddMultipleFields.tsx +++ b/redisinsight/ui/src/pages/browser/components/add-multiple-fields/AddMultipleFields.tsx @@ -31,7 +31,7 @@ const AddMultipleFields = (props: Props) => { onClickRemove(item, index)} data-testid="remove-item" /> diff --git a/redisinsight/ui/src/pages/browser/components/browser-search-panel/BrowserSearchPanel.tsx b/redisinsight/ui/src/pages/browser/components/browser-search-panel/BrowserSearchPanel.tsx index fa51dedead..aa7b666263 100644 --- a/redisinsight/ui/src/pages/browser/components/browser-search-panel/BrowserSearchPanel.tsx +++ b/redisinsight/ui/src/pages/browser/components/browser-search-panel/BrowserSearchPanel.tsx @@ -87,8 +87,8 @@ const BrowserSearchPanel = (props: Props) => { const searchModes: ISwitchType[] = [ { type: SearchMode.Pattern, - tooltipText: 'Filter by Key Name or Pattern', - ariaLabel: 'Filter by Key Name or Pattern button', + tooltipText: 'Filter by key name or pattern', + ariaLabel: 'Filter by key name or pattern button', dataTestId: 'search-mode-pattern-btn', isActiveView() { return searchMode === this.type @@ -102,8 +102,8 @@ const BrowserSearchPanel = (props: Props) => { }, { type: SearchMode.Redisearch, - tooltipText: 'Search by Values of Keys', - ariaLabel: 'Search by Values of Keys button', + tooltipText: 'Search by values of keys', + ariaLabel: 'Search by values of keys button', dataTestId: 'search-mode-redisearch-btn', disabled: !hasRedisearch || !hasMinimumRedisearchVersion, isActiveView() { diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.spec.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.spec.tsx index 4a78130ec6..493507c3d1 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.spec.tsx @@ -18,7 +18,7 @@ describe('BulkActionSummary', () => { expect(screen.getByTestId('testid')).toBeInTheDocument() expect(screen.getByTestId('testid')).toHaveTextContent( - '100Keys Processed10Success1Errors0:00:00.010Time Taken', + '100Keys processed10Success1Errors0:00:00.010Time taken', ) }) }) diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.tsx index 0e031624b9..6f65228c68 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionSummary/BulkActionSummary.tsx @@ -34,7 +34,7 @@ const BulkActionSummary = ({ {numberWithSpaces(processed)} - {type === BulkActionsType.Delete ? 'Keys' : 'Commands'} Processed + {type === BulkActionsType.Delete ? 'Keys' : 'Commands'} processed @@ -58,7 +58,7 @@ const BulkActionSummary = ({ {millisecondsFormat(duration, 'H:mm:ss.SSS')} - Time Taken + Time taken diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.spec.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.spec.tsx index 6d49f214f2..eff1a093bb 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.spec.tsx @@ -141,7 +141,7 @@ describe('BulkActions', () => { it('should call proper event after switch tab', async () => { render() - fireEvent.mouseDown(screen.getByText('Upload Data')) + fireEvent.mouseDown(screen.getByText('Upload data')) const expectedActions = [setBulkActionType(BulkActionsType.Upload)] expect(store.getActions()).toEqual(expectedActions) diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.tsx index 8d4dca1589..3e50615d60 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActions.tsx @@ -107,7 +107,7 @@ const BulkActions = (props: Props) => { - Bulk Actions + Bulk actions {!arePanelsCollapsed && ( { search, status, progress, - title = 'Delete Keys with', + title = 'Delete keys with', subTitle, error, } = props diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.spec.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.spec.tsx index 34344ab99f..0e3c0d8b11 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.spec.tsx @@ -43,7 +43,7 @@ describe('BulkActionsTabs', () => { render() - fireEvent.mouseDown(screen.getByText('Upload Data')) + fireEvent.mouseDown(screen.getByText('Upload data')) expect(sendEventTelemetry).toBeCalledWith({ event: TelemetryEvent.BULK_ACTIONS_OPENED, diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.tsx index e0f5f8169a..89c9767b6a 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkActionsTabs/BulkActionsTabs.tsx @@ -54,12 +54,12 @@ const BulkActionsTabs = (props: Props) => { () => [ { value: BulkActionsType.Delete, - label: Delete Keys, + label: Delete keys, content: null, }, { value: BulkActionsType.Upload, - label: Upload Data, + label: Upload data, content: null, }, ], diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkDelete/BulkDeleteFooter/BulkDeleteFooter.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkDelete/BulkDeleteFooter/BulkDeleteFooter.tsx index ac933838e5..184d66b7bb 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkDelete/BulkDeleteFooter/BulkDeleteFooter.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkDelete/BulkDeleteFooter/BulkDeleteFooter.tsx @@ -245,7 +245,7 @@ const BulkDeleteFooter = (props: Props) => { onClick={handleStartNew} data-testid="bulk-action-start-again-btn" > - Start New + Start new )} diff --git a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkUpload/BulkUpload.tsx b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkUpload/BulkUpload.tsx index 806227c800..1f2d0e9e69 100644 --- a/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkUpload/BulkUpload.tsx +++ b/redisinsight/ui/src/pages/browser/components/bulk-actions/BulkUpload/BulkUpload.tsx @@ -227,7 +227,7 @@ const BulkUpload = (props: Props) => { onClick={onStartAgain} data-testid="bulk-action-start-new-btn" > - Start New + Start new )} diff --git a/redisinsight/ui/src/pages/browser/components/delete-key-popover/DeleteKeyPopover.tsx b/redisinsight/ui/src/pages/browser/components/delete-key-popover/DeleteKeyPopover.tsx index 5b1e0d8e6b..ad232e9c7a 100644 --- a/redisinsight/ui/src/pages/browser/components/delete-key-popover/DeleteKeyPopover.tsx +++ b/redisinsight/ui/src/pages/browser/components/delete-key-popover/DeleteKeyPopover.tsx @@ -59,7 +59,7 @@ export const DeleteKeyPopover = ({ } diff --git a/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.spec.tsx b/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.spec.tsx index cc49e9f2e5..2cda9f3c37 100644 --- a/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.spec.tsx @@ -87,7 +87,7 @@ describe('FilterKeyType', () => { expectActionsToContain(store.getActions(), expectedActions) }) - it('"setBulkDeleteFilter" should be called with null when selecting "All Key Types"', async () => { + it('"setBulkDeleteFilter" should be called with null when selecting "All key types"', async () => { const initialStoreState = set( cloneDeep(initialStateDefault), 'browser.keys.filter', @@ -100,7 +100,7 @@ describe('FilterKeyType', () => { }) await userEvent.click(screen.getByTestId(filterSelectId)) - await userEvent.click(await findByText('All Key Types')) + await userEvent.click(await findByText('All key types')) const expectedActions = [setFilter(null), setBulkDeleteFilter(null)] @@ -195,7 +195,7 @@ describe('FilterKeyType', () => { expect(graphElement).not.toBeInTheDocument() }) - it('should show Vector Set when vector set feature flag is enabled and redis version >= 8.0', async () => { + it('should show Vector set when vector set feature flag is enabled and redis version >= 8.0', async () => { connectedInstanceOverviewSelectorMock.mockImplementationOnce(() => ({ version: '8.0.0', })) @@ -210,10 +210,10 @@ describe('FilterKeyType', () => { await userEvent.click(screen.getByTestId(filterSelectId)) - expect(queryByText('Vector Set')).toBeInTheDocument() + expect(queryByText('Vector set')).toBeInTheDocument() }) - it('should hide Vector Set when vector set feature flag is disabled', () => { + it('should hide Vector set when vector set feature flag is disabled', () => { // Ensure the version gate is satisfied so the assertion truly // exercises the feature-flag path and not the version path. connectedInstanceOverviewSelectorMock.mockImplementationOnce(() => ({ @@ -223,10 +223,10 @@ describe('FilterKeyType', () => { fireEvent.click(screen.getByTestId(filterSelectId)) - expect(queryByText('Vector Set')).not.toBeInTheDocument() + expect(queryByText('Vector set')).not.toBeInTheDocument() }) - it('should hide Vector Set when redis version < 8.0 even if feature flag is enabled', async () => { + it('should hide Vector set when redis version < 8.0 even if feature flag is enabled', async () => { connectedInstanceOverviewSelectorMock.mockImplementationOnce(() => ({ version: '7.4.0', })) @@ -241,7 +241,7 @@ describe('FilterKeyType', () => { await userEvent.click(screen.getByTestId(filterSelectId)) - expect(queryByText('Vector Set')).not.toBeInTheDocument() + expect(queryByText('Vector set')).not.toBeInTheDocument() }) it('should show Array when dev-array feature flag is enabled and redis version >= 8.8', async () => { diff --git a/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.tsx b/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.tsx index 1ed2381f26..f93dec7de1 100644 --- a/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.tsx +++ b/redisinsight/ui/src/pages/browser/components/filter-key-type/FilterKeyType.tsx @@ -130,10 +130,10 @@ const FilterKeyType = ({ modules }: Props) => { value: ALL_KEY_TYPES_VALUE, inputDisplay: (
- All Key Types + All key types
), - dropdownDisplay: All Key Types, + dropdownDisplay: All key types, }) const onChangeType = (initValue: string) => { diff --git a/redisinsight/ui/src/pages/browser/components/filter-key-type/constants.ts b/redisinsight/ui/src/pages/browser/components/filter-key-type/constants.ts index f62ea6f380..b1af6d87b0 100644 --- a/redisinsight/ui/src/pages/browser/components/filter-key-type/constants.ts +++ b/redisinsight/ui/src/pages/browser/components/filter-key-type/constants.ts @@ -36,7 +36,7 @@ export const FILTER_KEY_TYPE_OPTIONS: FilterKeyTypeOption[] = [ color: GROUP_TYPES_COLORS[KeyTypes.Set], }, { - text: 'Sorted Set', + text: 'Sorted set', value: KeyTypes.ZSet, color: GROUP_TYPES_COLORS[KeyTypes.ZSet], }, @@ -56,7 +56,7 @@ export const FILTER_KEY_TYPE_OPTIONS: FilterKeyTypeOption[] = [ color: GROUP_TYPES_COLORS[KeyTypes.Stream], }, { - text: 'Vector Set', + text: 'Vector set', value: KeyTypes.VectorSet, color: GROUP_TYPES_COLORS[KeyTypes.VectorSet], minVersion: CommandsVersions.VECTOR_SET.since, @@ -70,7 +70,7 @@ export const FILTER_KEY_TYPE_OPTIONS: FilterKeyTypeOption[] = [ featureFlag: FeatureFlags.envDependent, }, { - text: 'Time Series', + text: 'Time series', value: ModulesKeyTypes.TimeSeries, color: GROUP_TYPES_COLORS[ModulesKeyTypes.TimeSeries], }, diff --git a/redisinsight/ui/src/pages/browser/components/key-row-name/KeyRowName.tsx b/redisinsight/ui/src/pages/browser/components/key-row-name/KeyRowName.tsx index 32b9c959e6..fbc8f22bc5 100644 --- a/redisinsight/ui/src/pages/browser/components/key-row-name/KeyRowName.tsx +++ b/redisinsight/ui/src/pages/browser/components/key-row-name/KeyRowName.tsx @@ -42,7 +42,7 @@ const KeyRowName = (props: Props) => { data-testid={`key-${shortName}`} > { data-testid={`size-${nameString}`} > { data-testid={`ttl-${nameString}`} > { const viewTypes: ISwitchType[] = [ { type: KeyViewType.Browser, - tooltipText: 'List View', + tooltipText: 'List view', ariaLabel: 'List view button', dataTestId: 'view-type-browser-btn', isActiveView() { @@ -170,8 +170,8 @@ const KeysHeader = (props: Props) => { { type: KeyViewType.Tree, tooltipText: isTreeViewDisabled - ? 'Tree View is unavailable when the HEX key name format is selected.' - : 'Tree View', + ? 'Tree view is unavailable when the HEX key name format is selected.' + : 'Tree view', ariaLabel: 'Tree view button', dataTestId: 'view-type-list-btn', disabled: isTreeViewDisabled, diff --git a/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.spec.tsx b/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.spec.tsx index d6075eb59f..c02e8a1e00 100644 --- a/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.spec.tsx @@ -61,7 +61,7 @@ describe('MakeSearchableModal', () => { expect(screen.queryByText(/All keys starting with/)).not.toBeInTheDocument() }) - it('should call onConfirm when Continue button is clicked', async () => { + it('should call onConfirm when confirm button is clicked', async () => { const onConfirm = jest.fn() renderComponent({ onConfirm }) diff --git a/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.tsx b/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.tsx index 6f6d3c903c..d7708b1ea1 100644 --- a/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.tsx +++ b/redisinsight/ui/src/pages/browser/components/make-searchable-modal/MakeSearchableModal.tsx @@ -82,7 +82,7 @@ export const MakeSearchableModal = ({ onClick={onConfirm} data-testid={`${TEST_ID}-confirm`} > - Continue + Make searchable
diff --git a/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.spec.tsx b/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.spec.tsx index 40c229062a..fdaf63cee2 100644 --- a/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.spec.tsx +++ b/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.spec.tsx @@ -187,7 +187,7 @@ describe('RediSearchIndexesList', () => { ) }) - it('"onCreateIndex" should be called after click Create Index', async () => { + it('"onCreateIndex" should be called after click Create index', async () => { const onCreateIndexMock = jest.fn() const { findByText } = renderRediSearchIndexesList({ ...instance(mockedProps), @@ -195,7 +195,7 @@ describe('RediSearchIndexesList', () => { }) await userEvent.click(screen.getByTestId('select-search-mode')) - await userEvent.click((await findByText('Create Index')) || document) + await userEvent.click((await findByText('Create index')) || document) expect(onCreateIndexMock).toHaveBeenCalled() }) diff --git a/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.tsx b/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.tsx index 21f27f0e9e..4d80c0f83a 100644 --- a/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.tsx +++ b/redisinsight/ui/src/pages/browser/components/redisearch-key-list/RediSearchIndexesList.tsx @@ -170,7 +170,7 @@ const RediSearchIndexesList = (props: Props) => { color="primary" data-testid="create-index-btn" > - Create Index + Create index ), @@ -229,14 +229,14 @@ const RediSearchIndexesList = (props: Props) => { >
- + { ? searchHistory : rediSearchHistory, ), - buttonTooltipTitle: 'Show History', + buttonTooltipTitle: 'Show history', loading: searchMode === SearchMode.Pattern ? searchHistoryLoading diff --git a/redisinsight/ui/src/pages/browser/components/virtual-tree/components/Node/Node.tsx b/redisinsight/ui/src/pages/browser/components/virtual-tree/components/Node/Node.tsx index fc5191d7de..f894b5cc12 100644 --- a/redisinsight/ui/src/pages/browser/components/virtual-tree/components/Node/Node.tsx +++ b/redisinsight/ui/src/pages/browser/components/virtual-tree/components/Node/Node.tsx @@ -279,7 +279,7 @@ const Node = ({ data, isOpen, index, style, setOpen }: NodeProps) => { onClick={handleDeleteFolder} disabled={isDeleteDisabled} className="showOnHoverKey" - aria-label="Delete Folder Keys" + aria-label="Delete folder keys" data-testid={`delete-folder-btn-${fullName}`} /> diff --git a/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-delete/KeyDetailsHeaderDelete.tsx b/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-delete/KeyDetailsHeaderDelete.tsx index 5470331d4f..fd05e37a2c 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-delete/KeyDetailsHeaderDelete.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-delete/KeyDetailsHeaderDelete.tsx @@ -78,7 +78,7 @@ const KeyDetailsHeaderDelete = ({ onDelete }: Props) => { button={ { data-testid="edit-key-btn" > { id={COPY_KEY_NAME_ICON} tooltipConfig={{ anchorClassName: styles.copyKey }} data-testid="copy-key-name" - aria-label="Copy Key Name" + aria-label="Copy key name" /> )} diff --git a/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-size-length/KeyDetailsHeaderSizeLength.tsx b/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-size-length/KeyDetailsHeaderSizeLength.tsx index e4d88693cb..7c18b1757d 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-size-length/KeyDetailsHeaderSizeLength.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details-header/components/key-details-header-size-length/KeyDetailsHeaderSizeLength.tsx @@ -37,7 +37,7 @@ const KeyDetailsHeaderSizeLength = ({ width }: Props) => { data-testid="key-size-text" > @@ -48,7 +48,7 @@ const KeyDetailsHeaderSizeLength = ({ width }: Props) => { } > <> - {width > MIDDLE_SCREEN_RESOLUTION && 'Key Size: '} + {width > MIDDLE_SCREEN_RESOLUTION && 'Key size: '} {formatBytes(size, 0)} {isSizeTooLarge && ( <> diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx index 799d6a62b8..5a2b3831df 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx @@ -85,7 +85,7 @@ const HashDetails = (props: Props) => { )} diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/add-hash-fields/AddHashFields.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/add-hash-fields/AddHashFields.tsx index be8c27fcb5..25d93c4998 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/add-hash-fields/AddHashFields.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/add-hash-fields/AddHashFields.tsx @@ -199,7 +199,7 @@ const AddHashFields = (props: Props) => { @@ -217,7 +217,7 @@ const AddHashFields = (props: Props) => { diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/hash-details-table/HashDetailsTable.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/hash-details-table/HashDetailsTable.tsx index 985bfdc8c5..a5a98dd6a3 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/hash-details-table/HashDetailsTable.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/hash-details-table/HashDetailsTable.tsx @@ -574,10 +574,10 @@ const HashDetailsTable = (props: Props) => { >
{expire === -1 ? ( - 'No Limit' + 'No limit' ) : ( { const Actions = ({ width }: { width: number }) => ( <>
diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/set-details/SetDetails.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/set-details/SetDetails.tsx index 08f78df7e0..9e1be97e5f 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/set-details/SetDetails.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/set-details/SetDetails.tsx @@ -42,7 +42,7 @@ const SetDetails = (props: Props) => { const Actions = ({ width }: { width: number }) => ( diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-entity/StreamEntryFields/StreamEntryFields.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-entity/StreamEntryFields/StreamEntryFields.tsx index 0fb7e120c0..c5d2ba9b59 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-entity/StreamEntryFields/StreamEntryFields.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-entity/StreamEntryFields/StreamEntryFields.tsx @@ -123,14 +123,14 @@ const StreamEntryFields = (props: Props) => { anchorClassName="inputAppendIcon" className={styles.entryIdTooltip} position="left" - title="Enter Valid ID or *" + title="Enter valid ID or *" content={streamIDTooltipText} >
{!showEntryError && ( - Timestamp - Sequence Number or * + Timestamp - Sequence number or * )} {showEntryError && ( diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-group/AddStreamGroup.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-group/AddStreamGroup.tsx index de27603a4a..8f9e75c82e 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-group/AddStreamGroup.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/add-stream-group/AddStreamGroup.tsx @@ -101,7 +101,7 @@ const AddStreamGroup = (props: Props) => { setGroupName(value)} autoComplete="off" @@ -116,7 +116,7 @@ const AddStreamGroup = (props: Props) => { @@ -127,7 +127,7 @@ const AddStreamGroup = (props: Props) => { color="primary" data-testid="id-help-text" > - Timestamp - Sequence Number or $ + Timestamp - Sequence number or $ )} {showIdError && ( diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.spec.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.spec.tsx index b7b52b2783..6a104601f3 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.spec.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.spec.tsx @@ -28,7 +28,7 @@ describe('ConsumersView', () => { it('should render default message when no consumers and custom message is not specified', () => { render() expect(screen.getByTestId('stream-consumers-container')).toHaveTextContent( - 'Your Consumer Group has no Consumers available.', + 'Your consumer group has no consumers available.', ) }) diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.tsx index 8413a840c8..f3c5eccec6 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersView/ConsumersView.tsx @@ -29,7 +29,7 @@ const ConsumersView = (props: Props) => { columns = [], onClosePopover, onSelectConsumer, - noItemsMessageString = 'Your Consumer Group has no Consumers available.', + noItemsMessageString = 'Your consumer group has no consumers available.', } = props const { loading } = useAppSelector(streamGroupsSelector) diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersViewWrapper.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersViewWrapper.tsx index a4a9e3eb96..16dcdf3201 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersViewWrapper.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/consumers-view/ConsumersViewWrapper.tsx @@ -115,7 +115,7 @@ const ConsumersViewWrapper = (props: Props) => { const columns: ITableColumn[] = [ { id: 'name', - label: 'Consumer Name', + label: 'Consumer name', minWidth: 200, truncateText: true, isSortable: true, @@ -160,7 +160,7 @@ const ConsumersViewWrapper = (props: Props) => { }, { id: 'idle', - label: 'Idle Time, msec', + label: 'Idle time, msec', minWidth: 140, maxWidth: 140, absoluteWidth: 140, @@ -189,7 +189,7 @@ const ConsumersViewWrapper = (props: Props) => { header={viewName} text={ <> - will be removed from Consumer Group{' '} + will be removed from consumer group{' '} {selectedGroupNameString} } diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsView/GroupsView.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsView/GroupsView.tsx index 9988a83ac1..afe5e9a4df 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsView/GroupsView.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsView/GroupsView.tsx @@ -14,7 +14,7 @@ import styles from './styles.module.scss' const headerHeight = 60 const rowHeight = 54 -const noItemsMessageString = 'Your Key has no Consumer Groups available.' +const noItemsMessageString = 'Your key has no consumer groups available.' export interface IConsumerGroup extends ConsumerGroupDto { editing: boolean diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsViewWrapper.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsViewWrapper.tsx index 7e92998794..38b23c3377 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsViewWrapper.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsViewWrapper.tsx @@ -210,7 +210,7 @@ const GroupsViewWrapper = (props: Props) => { const columns: ITableColumn[] = [ { id: 'name', - label: 'Group Name', + label: 'Group name', truncateText: true, isSortable: true, minWidth: 100, @@ -290,7 +290,7 @@ const GroupsViewWrapper = (props: Props) => { > {!!pending && ( { }, { id: 'lastDeliveredId', - label: 'Last Delivered ID', + label: 'Last delivered ID', minWidth: 200, maxWidth: 200, absoluteWidth: 200, @@ -385,7 +385,7 @@ const GroupsViewWrapper = (props: Props) => { @@ -394,7 +394,7 @@ const GroupsViewWrapper = (props: Props) => { /> {!showIdError && ( - Timestamp - Sequence Number or $ + Timestamp - Sequence number or $ )} {showIdError && ( diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessageClaimPopover/MessageClaimPopover.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessageClaimPopover/MessageClaimPopover.tsx index 1bbdeee19d..77462a02d1 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessageClaimPopover/MessageClaimPopover.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessageClaimPopover/MessageClaimPopover.tsx @@ -58,7 +58,7 @@ const getConsumersOptions = (consumers: ConsumerDto[]) => })) const timeOptions = [ - { value: ClaimTimeOptions.RELATIVE, label: 'Relative Time' }, + { value: ClaimTimeOptions.RELATIVE, label: 'Relative time' }, { value: ClaimTimeOptions.ABSOLUTE, label: 'Timestamp' }, ] @@ -224,7 +224,7 @@ const MessageClaimPopover = (props: Props) => { - +
{ - +
{ - + { ) => { formik.setFieldValue(e.target.name, !formik.values.force) @@ -318,7 +318,7 @@ const MessageClaimPopover = (props: Props) => { { render() expect(screen.getByTestId('stream-messages-container')).toHaveTextContent( - 'Your Consumer has no pending messages.', + 'Your consumer has no pending messages.', ) }) }) diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesView/MessagesView.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesView/MessagesView.tsx index 786fc30e37..db7d1290de 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesView/MessagesView.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesView/MessagesView.tsx @@ -29,7 +29,7 @@ const MessagesView = (props: Props) => { total, onClosePopover, loadMoreItems, - noItemsMessageString = 'Your Consumer has no pending messages.', + noItemsMessageString = 'Your consumer has no pending messages.', } = props const { loading } = useAppSelector(streamGroupsSelector) diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesViewWrapper.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesViewWrapper.tsx index e34a4eb9a6..a431b45920 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesViewWrapper.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/messages-view/MessagesViewWrapper.tsx @@ -148,7 +148,7 @@ const MessagesViewWrapper = (props: Props) => { }, { id: 'idle', - label: 'Last Message Delivered', + label: 'Last message delivered', minWidth: 256, absoluteWidth: 106, truncateText: true, @@ -171,7 +171,7 @@ const MessagesViewWrapper = (props: Props) => { }, { id: 'delivered', - label: 'Times Message Delivered', + label: 'Times message delivered', minWidth: 106, truncateText: true, headerClassName: cx('streamItemHeader', styles.deliveredHeaderCell), diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataView/StreamDataView.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataView/StreamDataView.tsx index 3a45352bf5..1f6ca7553a 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataView/StreamDataView.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataView/StreamDataView.tsx @@ -29,7 +29,7 @@ import styles from './styles.module.scss' const headerHeight = 60 const rowHeight = 60 const minColumnWidth = 190 -const noItemsMessageInEmptyStream = 'There are no Entries in the Stream.' +const noItemsMessageInEmptyStream = 'There are no entries in the stream.' const noItemsMessageInRange = 'No results found.' export interface Props { diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataViewWrapper.spec.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataViewWrapper.spec.tsx index 778b72cc51..36f470518b 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataViewWrapper.spec.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-data-view/StreamDataViewWrapper.spec.tsx @@ -12,7 +12,7 @@ describe('StreamDataViewWrapper', () => { ).toBeTruthy() }) - it('should render Stream Data container', () => { + it('should render Stream data container', () => { render() expect(screen.getByTestId('stream-entries-container')).toBeInTheDocument() diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-details-body/StreamDetailsBody.spec.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-details-body/StreamDetailsBody.spec.tsx index 08462c8a97..5a5d1124cc 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-details-body/StreamDetailsBody.spec.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-details-body/StreamDetailsBody.spec.tsx @@ -76,7 +76,7 @@ describe('StreamDetailsBody', () => { ).toBeTruthy() }) - it('should render Stream Data container', () => { + it('should render Stream data container', () => { render() expect(screen.getByTestId('stream-entries-container')).toBeInTheDocument() diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-tabs/StreamTabs.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-tabs/StreamTabs.tsx index c40980a5f7..3353ac57f3 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-tabs/StreamTabs.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/stream-tabs/StreamTabs.tsx @@ -56,12 +56,12 @@ const StreamTabs = () => { const baseTabs: TabInfo[] = [ { value: StreamViewType.Data, - label: 'Stream Data', + label: 'Stream data', content: null, }, { value: StreamViewType.Groups, - label: 'Consumer Groups', + label: 'Consumer groups', content: null, }, ] diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/StringDetails.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/StringDetails.tsx index 4ea21e97ab..ff0951c475 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/StringDetails.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/StringDetails.tsx @@ -122,7 +122,7 @@ const StringDetails = (props: Props) => { /> )} { diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/string-details-value/StringDetailsValue.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/string-details-value/StringDetailsValue.tsx index ced87ff336..8a505b70c4 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/string-details-value/StringDetailsValue.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/string-details-value/StringDetailsValue.tsx @@ -299,7 +299,7 @@ const StringDetailsValue = (props: Props) => { {isEditItem && ( { renderComponent({ vectorDim: 5 }) expect(screen.getByTestId(ELEMENT_VECTOR)).toHaveAttribute( 'placeholder', - 'Enter Vector (5 dimensions)', + 'Enter vector (5 dimensions)', ) }) @@ -263,7 +263,7 @@ describe('VectorSetElementForm', () => { const vectorInputs = screen.getAllByTestId(ELEMENT_VECTOR) expect(vectorInputs[1]).toHaveAttribute( 'placeholder', - 'Enter Vector (3 dimensions)', + 'Enter vector (3 dimensions)', ) }) }) @@ -283,7 +283,7 @@ describe('VectorSetElementForm', () => { const vectorInputs = screen.getAllByTestId(ELEMENT_VECTOR) expect(vectorInputs[1]).toHaveAttribute( 'placeholder', - 'Enter Vector (3 dimensions)', + 'Enter vector (3 dimensions)', ) }) diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-element-form/VectorSetElementFormFields.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-element-form/VectorSetElementFormFields.tsx index b05e741a9a..9a5e998650 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-element-form/VectorSetElementFormFields.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-element-form/VectorSetElementFormFields.tsx @@ -50,7 +50,7 @@ const VectorSetElementFormFields = ({ aria-required="true" name={`element-name-${item.id}`} id={`element-name-${item.id}`} - placeholder="Enter Element Name" + placeholder="Enter element name" value={item.name} onChange={(value) => handleFieldChange('name', item.id, value) @@ -72,8 +72,8 @@ const VectorSetElementFormFields = ({ id={`element-vector-${item.id}`} placeholder={ rowVectorDim !== undefined - ? `Enter Vector (${rowVectorDim} dimensions)` - : 'Enter Vector' + ? `Enter vector (${rowVectorDim} dimensions)` + : 'Enter vector' } value={item.vector} onChange={(value) => diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-key-subheader/VectorSetKeySubheader.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-key-subheader/VectorSetKeySubheader.tsx index b0c21ef795..89cefdd8db 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-key-subheader/VectorSetKeySubheader.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/vector-set-details/vector-set-key-subheader/VectorSetKeySubheader.tsx @@ -50,7 +50,7 @@ const VectorSetKeySubheader = ({ /> ) : ( diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/ZSetDetails.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/ZSetDetails.tsx index e45ec35a97..c9b4e4928e 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/ZSetDetails.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/ZSetDetails.tsx @@ -44,7 +44,7 @@ const ZSetDetails = (props: Props) => { const Actions = ({ width }: { width: number }) => ( diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/zset-details-table/ZSetDetailsTable.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/zset-details-table/ZSetDetailsTable.tsx index 82a97031ac..906cf6d787 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/zset-details-table/ZSetDetailsTable.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/zset-details/zset-details-table/ZSetDetailsTable.tsx @@ -383,7 +383,7 @@ const ZSetDetailsTable = (props: Props) => { return ( {