-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #641 from karrioapi/patch-2024.6-rc24
[release-candidate] 2024.6 rc24
- Loading branch information
Showing
593 changed files
with
280,520 additions
and
68,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024.6-rc23 | ||
2024.6-rc24 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
import { LabelTemplateEditModalProvider } from "@karrio/ui/modals/label-template-edit-modal"; | ||
import { SystemCarrierManagement } from "@karrio/ui/admin/system-carrier-management"; | ||
import { RateSheetEditModalProvider } from "@karrio/ui/modals/rate-sheet-edit-modal"; | ||
import { ConnectProviderModal } from "@karrio/ui/modals/connect-provider-modal"; | ||
import { RateSheetManagement } from "@karrio/ui/admin/rate-sheet-management"; | ||
import { AuthenticatedPage } from "@/layouts/authenticated-page"; | ||
import { ConfirmModal } from "@karrio/ui/modals/confirm-modal"; | ||
import { bundleContexts } from '@karrio/hooks/utils'; | ||
import { bundleContexts } from "@karrio/hooks/utils"; | ||
import { AdminLayout } from "@/layouts/admin-layout"; | ||
import Head from "next/head"; | ||
|
||
export { getServerSideProps } from "@/context/main"; | ||
|
||
const ContextProviders = bundleContexts([ | ||
ConfirmModal, | ||
ConnectProviderModal, | ||
LabelTemplateEditModalProvider, | ||
RateSheetEditModalProvider, | ||
ConfirmModal, | ||
ConnectProviderModal, | ||
LabelTemplateEditModalProvider, | ||
]); | ||
|
||
|
||
export default function Page(pageProps: any) { | ||
const { APP_NAME } = (pageProps as any).metadata || {}; | ||
|
||
const Component: React.FC = () => { | ||
|
||
return ( | ||
<> | ||
<header className="px-0 pb-5 pt-1 mb-1"> | ||
<span className="title is-4 has-text-weight-bold">Carrier connections</span> | ||
</header> | ||
|
||
{/* System carriers */} | ||
<SystemCarrierManagement /> | ||
|
||
<div className="p-4"></div> | ||
|
||
{/* System carriers */} | ||
<RateSheetManagement /> | ||
|
||
<div className="p-4"></div> | ||
</> | ||
); | ||
}; | ||
|
||
return AuthenticatedPage(( | ||
<AdminLayout showModeIndicator={true}> | ||
<Head><title>{`Carriers - ${APP_NAME}`}</title></Head> | ||
|
||
<ContextProviders> | ||
<Component /> | ||
</ContextProviders> | ||
|
||
</AdminLayout> | ||
), pageProps) | ||
const { APP_NAME } = (pageProps as any).metadata || {}; | ||
|
||
const Component: React.FC = () => { | ||
return ( | ||
<> | ||
<header className="px-0 pb-5 pt-1 mb-1"> | ||
<span className="title is-4 has-text-weight-bold"> | ||
Carrier connections | ||
</span> | ||
</header> | ||
|
||
{/* System carriers */} | ||
<SystemCarrierManagement /> | ||
|
||
<div className="p-4"></div> | ||
|
||
{/* System carriers */} | ||
<RateSheetManagement /> | ||
|
||
<div className="p-4"></div> | ||
</> | ||
); | ||
}; | ||
|
||
return AuthenticatedPage( | ||
<AdminLayout showModeIndicator={true}> | ||
<Head> | ||
<title>{`Carriers - ${APP_NAME}`}</title> | ||
</Head> | ||
|
||
<ContextProviders> | ||
<Component /> | ||
</ContextProviders> | ||
</AdminLayout>, | ||
pageProps, | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.