Skip to content

Commit

Permalink
deploying front
Browse files Browse the repository at this point in the history
  • Loading branch information
édouard wautier authored and édouard wautier committed Nov 10, 2023
1 parent b35321a commit b64f2e9
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion front/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function SignUpDropDownButton({
onClose={() => setShowModal(false)}
hasChanged={false}
title="Start with Dust"
type="right-side"
variant="side-sm"
>
<div className="flex h-full items-center justify-center">
<div className="flex flex-col items-center justify-center gap-16 px-2">
Expand Down
2 changes: 1 addition & 1 deletion front/components/ConnectorPermissionsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default function ConnectorPermissionsModal({
!!Object.keys(updatedPermissionByInternalId).length ||
automaticallyIncludeNewResources !== null
}
type="full-screen"
variant="full-screen"
>
<div className="mx-auto max-w-4xl text-left">
{!isDefaultNewResourcePermissionLoading &&
Expand Down
2 changes: 1 addition & 1 deletion front/components/assistant_builder/AssistantBuilder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ function SlackIntegration({
<>
<Modal
isOpen={modalOpen}
type="full-screen"
variant="full-screen"
hasChanged={hasChanged}
onClose={closeModal}
title="Slack bot configuration"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function AvatarPicker({
isOpen={isOpen}
onClose={onClose}
title="Select an avatar for your assistant:"
type="full-screen"
variant="full-screen"
hasChanged={currentTab === "upload" && !!src}
onSave={isUploadingAvatar ? undefined : onUpload}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default function AssistantBuilderDataSourceModal({
!!selectedDataSource &&
(Object.keys(selectedResources).length > 0 || isSelectAll)
}
type="full-screen"
variant="full-screen"
title="Add Data Sources"
>
<div className="w-full pt-12">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function AssistantBuilderDustAppModal({
isOpen={isOpen}
onClose={onClose}
hasChanged={false}
type="full-screen"
variant="full-screen"
title="Select Dust App"
>
<div className="w-full pt-12">
Expand Down
8 changes: 4 additions & 4 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"initdb": "env $(cat .env.local) npx tsx admin/db.ts"
},
"dependencies": {
"@dust-tt/sparkle": "^0.2.36",
"@dust-tt/sparkle": "^0.2.37-alpha",
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
"@headlessui/react": "^1.7.7",
Expand Down
10 changes: 5 additions & 5 deletions front/pages/w/[wId]/members/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ function InviteEmailModal({
onClose={onClose}
hasChanged={emailError === "" && inviteEmail !== "" && !isSending}
title="Invite new users"
type="right-side"
variant="side-sm"
saveLabel="Invite"
isSaving={isSending}
onSave={async () => {
Expand Down Expand Up @@ -540,7 +540,7 @@ function InviteSettingsModal({
!domainUpdating
}
title="Invitation link settings"
type="right-side"
variant="side-sm"
onSave={() => validDomain() && handleUpdateWorkspace()}
>
<div className="mt-6 flex flex-col gap-6 px-2">
Expand Down Expand Up @@ -623,7 +623,7 @@ function RevokeInvitationModal({
hasChanged={false}
title="Revoke invitation"
isSaving={isSaving}
type="default"
variant="dialogue"
>
<div className="mt-6 flex flex-col gap-6 px-2">
<div>
Expand Down Expand Up @@ -714,7 +714,7 @@ function ChangeMemberModal({
selectedRole !== null && selectedRole !== member.workspaces[0].role
}
title={member.fullName || "Unreachable"}
type="right-side"
variant="side-sm"
onSave={async () => {
setIsSaving(true);
if (!selectedRole) return; // unreachable due to hasChanged
Expand Down Expand Up @@ -787,7 +787,7 @@ function ChangeMemberModal({
isOpen={revokeMemberModalOpen}
title="Revoke member access"
hasChanged={false}
type="default"
variant="dialogue"
>
<div className="mt-6 flex flex-col gap-6 px-2">
<div>
Expand Down

0 comments on commit b64f2e9

Please sign in to comment.