Skip to content

Commit

Permalink
Merge pull request wso2#5836 from thiva-k/feature-relative
Browse files Browse the repository at this point in the history
Fix relative path imports within features
  • Loading branch information
brionmario authored Mar 28, 2024
2 parents a554696 + 3d7fac6 commit fb506ab
Show file tree
Hide file tree
Showing 32 changed files with 107 additions and 104 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,26 @@ import { useDispatch } from "react-redux";
import { Dispatch } from "redux";
import { Accordion, Grid, Icon, Menu, Modal, Segment, Sidebar } from "semantic-ui-react";
import { serverConfigurationConfig } from "../../../../../../extensions/configs/server-configuration";
// eslint-disable-next-line max-len
import AdaptiveAuthTemplateInfoModal from "../../../../../authentication-flow-builder/components/predefined-flows-side-panel/adaptive-auth-template-info-modal";
import {
ELK_RISK_BASED_TEMPLATE_NAME
} from "../../../../../../features/authentication-flow-builder/constants/template-constants";
} from "../../../../../authentication-flow-builder/constants/template-constants";
import {
getConnectorDetails,
updateGovernanceConnector
} from "../../../../../../features/server-configurations/api/governance-connectors";
} from "../../../../../server-configurations/api/governance-connectors";
import {
ServerConfigurationsConstants
} from "../../../../../../features/server-configurations/constants/server-configurations-constants";
import { AnalyticsConfigurationForm } from "../../../../../../features/server-configurations/forms/analytics-form";
} from "../../../../../server-configurations/constants/server-configurations-constants";
import { AnalyticsConfigurationForm } from "../../../../../server-configurations/forms/analytics-form";
import {
GovernanceConnectorInterface,
UpdateGovernanceConnectorConfigInterface
} from "../../../../../../features/server-configurations/models/governance-connectors";
} from "../../../../../server-configurations/models/governance-connectors";
import {
GovernanceConnectorUtils
} from "../../../../../../features/server-configurations/utils/governance-connector-utils";
// eslint-disable-next-line max-len
import AdaptiveAuthTemplateInfoModal from "../../../../../authentication-flow-builder/components/predefined-flows-side-panel/adaptive-auth-template-info-modal";
} from "../../../../../server-configurations/utils/governance-connector-utils";
import { AdaptiveAuthTemplateCategoryInterface, AdaptiveAuthTemplateInterface } from "../../../../models";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import React, { FunctionComponent, ReactElement, useEffect, useState } from "rea
import { Trans, useTranslation } from "react-i18next";
import { useSelector } from "react-redux";
import { Grid } from "semantic-ui-react";
import { AppState, ConfigReducerStateInterface } from "../../../../features/core";
import { AppState, ConfigReducerStateInterface } from "../../../core";
import { getAuthProtocolMetadata } from "../../api";
import { ApplicationManagementConstants } from "../../constants";
import SinglePageApplicationTemplate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ApplicationSelectionModal
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
} from "../../../../connections/models/connection";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ApplicationSelectionModal
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
} from "../../../../connections/models/connection";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ApplicationSelectionModal
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
} from "../../../../connections/models/connection";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ import { DropdownProps, Grid, Modal, PaginationProps } from "semantic-ui-react";
import BuildLoginFlowStep01Illustration from "./assets/build-login-flow-01.png";
import BuildLoginFlowStep02Illustration from "./assets/build-login-flow-02.png";
import BuildLoginFlowStep03Illustration from "./assets/build-login-flow-03.png";
import { getApplicationList } from "../../../../../features/applications/api";
import { ApplicationList } from "../../../../../features/applications/components/application-list";
import { ApplicationListInterface } from "../../../../../features/applications/models";
import { getApplicationList } from "../../../../applications/api";
import { ApplicationList } from "../../../../applications/components/application-list";
import { ApplicationListInterface } from "../../../../applications/models";
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
import { AdvancedSearchWithBasicFilters } from "../../../../../features/core/components";
import { AppConstants } from "../../../../../features/core/constants";
import { history } from "../../../../../features/core/helpers";
} from "../../../../connections/models/connection";
import { AdvancedSearchWithBasicFilters } from "../../../../core/components";
import { AppConstants } from "../../../../core/constants";
import { history } from "../../../../core/helpers";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import ApplicationSelectionModal
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
} from "../../../../connections/models/connection";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ApplicationSelectionModal
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
} from "../../../../connections/models/connection";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ import { DropdownProps, Grid, Modal, PaginationProps } from "semantic-ui-react";
import BuildLoginFlowStep01Illustration from "./assets/build-login-flow-01.png";
import BuildLoginFlowStep02Illustration from "./assets/build-login-flow-02.png";
import BuildLoginFlowStep03Illustration from "./assets/build-login-flow-03.png";
import { useApplicationList } from "../../../../../features/applications/api";
import { ApplicationList } from "../../../../../features/applications/components/application-list";
import { useApplicationList } from "../../../../applications/api";
import { ApplicationList } from "../../../../applications/components/application-list";
import {
ConnectionInterface,
ConnectionTemplateInterface
} from "../../../../../features/connections/models/connection";
import { AdvancedSearchWithBasicFilters } from "../../../../../features/core/components";
import { AppConstants } from "../../../../../features/core/constants";
import { history } from "../../../../../features/core/helpers";
} from "../../../../connections/models/connection";
import { AdvancedSearchWithBasicFilters } from "../../../../core/components";
import { AppConstants } from "../../../../core/constants";
import { history } from "../../../../core/helpers";
import { FeatureConfigInterface } from "../../../../core/models";
import { AppState } from "../../../../core/store";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ import { useDispatch } from "react-redux";
import { Dispatch } from "redux";
import { Dropdown, DropdownProps, Icon, PaginationProps } from "semantic-ui-react";
import InvitedAdministratorsTable from "./invited-administrators-table";
import { useGetCurrentOrganizationType } from "../../../../../features/organizations/hooks/use-get-organization-type";
import { UserStoreDropdownItem } from "../../../../../features/userstores/models";
import { AccessControlConstants } from "../../../../access-control/constants/access-control";
import {
AdvancedSearchWithBasicFilters,
UIConstants,
getEmptyPlaceholderIllustrations
} from "../../../../core";
import { useGetCurrentOrganizationType } from "../../../../organizations/hooks/use-get-organization-type";
import { deleteParentOrgInvite } from "../../../../users/components/guests/api/invite";
import { UserManagementConstants } from "../../../../users/constants";
import { UserInviteInterface } from "../../../../users/models";
import { PRIMARY_USERSTORE } from "../../../../userstores/constants";
import { UserStoreDropdownItem } from "../../../../userstores/models";
import useAdministrators from "../../../hooks/use-administrators";
import InviteNewAdministratorWizard from "../invite-new-administrator-wizard/invite-new-administrator-wizard";

Expand Down
Loading

0 comments on commit fb506ab

Please sign in to comment.