This is an automated email from the ASF dual-hosted git repository. andytaylor pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git
commit 2312bd7f023e6bc3c635f2d37814e85543de6d10 Author: GChuf <[email protected]> AuthorDate: Mon Oct 27 09:58:08 2025 +0100 ARTEMIS-5720: Fix imports --- .../packages/artemis-console-plugin/src/Artemis.tsx | 5 +---- .../packages/artemis-console-plugin/src/ArtemisPreferences.tsx | 3 +-- .../packages/artemis-console-plugin/src/jolokia-availability.test.ts | 3 +-- .../packages/artemis-console-plugin/src/queues/CreateQueue.tsx | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/Artemis.tsx b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/Artemis.tsx index b38a05b..ab59597 100644 --- a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/Artemis.tsx +++ b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/Artemis.tsx @@ -14,12 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import React, { useEffect, useState } from 'react' +import React from 'react' import { ArtemisTabs } from './views/ArtemisTabView'; import { PageSection, Page } from '@patternfly/react-core'; -import { artemisService } from './artemis-service'; -import { eventService } from '@hawtio/react'; - export const Artemis: React.FunctionComponent = () => { diff --git a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/ArtemisPreferences.tsx b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/ArtemisPreferences.tsx index 9743599..eb40030 100644 --- a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/ArtemisPreferences.tsx +++ b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/ArtemisPreferences.tsx @@ -14,10 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { CardBody, Flex, FlexItem, Form, FormGroup, FormSection, MenuToggle, MenuToggleElement, Select, SelectList, SelectOption, TextInput } from '@patternfly/react-core' +import { CardBody, Flex, FlexItem, Form, FormGroup, FormSection, Icon, MenuToggle, MenuToggleElement, Select, SelectList, SelectOption, TextInput, Tooltip } from '@patternfly/react-core' import React, { FormEvent, useState } from 'react' import { artemisPreferencesService, ArtemisOptions } from './artemis-preferences-service' -import { Icon, Tooltip } from '@patternfly/react-core' import { HelpIcon } from '@patternfly/react-icons/dist/esm/icons/help-icon' export const ArtemisPreferences: React.FunctionComponent = () => ( diff --git a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/jolokia-availability.test.ts b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/jolokia-availability.test.ts index 1bccc88..966649a 100644 --- a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/jolokia-availability.test.ts +++ b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/jolokia-availability.test.ts @@ -16,8 +16,7 @@ */ import { beforeAll, describe, expect, test } from "@jest/globals" import fetchMock, { MockResponseInit } from 'jest-fetch-mock' -import { jolokiaService, userService } from '@hawtio/react' -import { hawtio } from '@hawtio/react' +import { hawtio, jolokiaService, userService } from '@hawtio/react' beforeAll(async () => { // needed to determine Jolokia URL diff --git a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/queues/CreateQueue.tsx b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/queues/CreateQueue.tsx index 1e522f7..dad7ceb 100644 --- a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/queues/CreateQueue.tsx +++ b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/queues/CreateQueue.tsx @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { ActionGroup, Button, Checkbox, Flex, FlexItem, Form, FormGroup, NumberInput, Radio, TextInput, Title, Text, TextContent, Popover, Tooltip, PageSection } from '@patternfly/react-core'; +import { ActionGroup, Button, Checkbox, Flex, FlexItem, Form, FormGroup, NumberInput, Radio, TextInput, Title, Text, TextContent, Popover, Tooltip } from '@patternfly/react-core'; import React, { FormEvent, useState } from 'react' import { TrashIcon } from '@patternfly/react-icons/dist/esm/icons/trash-icon' import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons/dist/esm/icons/outlined-question-circle-icon' --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
