mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-29 11:12:02 +01:00
Revert "ran prettier"
This reverts commit 750c1df0bbdddeedfb036f085ead7a4a850b6ef1.
This commit is contained in:
parent
b79820a309
commit
16e023a8ce
@ -73,9 +73,9 @@ const MainSection = () => {
|
||||
return (
|
||||
<>
|
||||
<Text>
|
||||
The Teams connector allows you to index and search through your Teams
|
||||
channels. Once setup, all messages from the channels contained in the
|
||||
specified teams will be queryable within Danswer.
|
||||
The Teams connector allows you to index and search through your
|
||||
Teams channels. Once setup, all messages from the channels contained
|
||||
in the specified teams will be queryable within Danswer.
|
||||
</Text>
|
||||
|
||||
<Title className="mb-2 mt-6 ml-auto mr-auto">
|
||||
@ -165,8 +165,8 @@ const MainSection = () => {
|
||||
{teamsConnectorIndexingStatuses.length > 0 && (
|
||||
<>
|
||||
<Text className="mb-2">
|
||||
The latest messages from the specified teams are fetched every 10
|
||||
minutes.
|
||||
The latest messages from the specified teams are
|
||||
fetched every 10 minutes.
|
||||
</Text>
|
||||
<div className="mb-2">
|
||||
<ConnectorsTable<TeamsConfig, TeamsCredentialJson>
|
||||
@ -241,8 +241,8 @@ const MainSection = () => {
|
||||
) : (
|
||||
<Text>
|
||||
Please provide all Azure info in Step 1 first! Once you're done
|
||||
with that, you can then specify which teams you want to make
|
||||
searchable.
|
||||
with that, you can then specify which teams you want to
|
||||
make searchable.
|
||||
</Text>
|
||||
)}
|
||||
</>
|
||||
|
@ -332,10 +332,10 @@ export function ChatPage({
|
||||
(persona) => persona.id === existingChatSessionPersonaId
|
||||
)
|
||||
: defaultSelectedPersonaId !== undefined
|
||||
? filteredAssistants.find(
|
||||
(persona) => persona.id === defaultSelectedPersonaId
|
||||
)
|
||||
: undefined
|
||||
? filteredAssistants.find(
|
||||
(persona) => persona.id === defaultSelectedPersonaId
|
||||
)
|
||||
: undefined
|
||||
);
|
||||
const livePersona =
|
||||
selectedPersona || filteredAssistants[0] || availablePersonas[0];
|
||||
|
@ -21,7 +21,9 @@ pre[class*="language-"] {
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #4b5563; /* Dark handle color */
|
||||
border-radius: 10px;
|
||||
transition: background 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
|
||||
transition:
|
||||
background 0.3s ease,
|
||||
box-shadow 0.3s ease; /* Smooth transition for hover effect */
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
|
@ -21,7 +21,7 @@ export function useDocumentSelection(): [
|
||||
DanswerDocument[],
|
||||
(document: DanswerDocument) => void,
|
||||
() => void,
|
||||
number
|
||||
number,
|
||||
] {
|
||||
const [selectedDocuments, setSelectedDocuments] = useState<DanswerDocument[]>(
|
||||
[]
|
||||
|
@ -27,8 +27,8 @@ export function Bubble({
|
||||
(notSelectable
|
||||
? " bg-background cursor-default"
|
||||
: isSelected
|
||||
? " bg-hover cursor-pointer"
|
||||
: " bg-background hover:bg-hover-light cursor-pointer")
|
||||
? " bg-hover cursor-pointer"
|
||||
: " bg-background hover:bg-hover-light cursor-pointer")
|
||||
}
|
||||
onClick={onClick}
|
||||
>
|
||||
|
@ -87,7 +87,7 @@ export function StatusRow<ConnectorConfigType, ConnectorCredentialType>({
|
||||
|
||||
export interface ColumnSpecification<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
header: string;
|
||||
key: string;
|
||||
@ -101,7 +101,7 @@ export interface ColumnSpecification<
|
||||
|
||||
export interface ConnectorsTableProps<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
connectorIndexingStatuses: ConnectorIndexingStatus<
|
||||
ConnectorConfigType,
|
||||
|
@ -46,7 +46,7 @@ const SingleUseConnectorStatus = ({
|
||||
|
||||
export function SingleUseConnectorsTable<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
>({
|
||||
connectorIndexingStatuses,
|
||||
liveCredential,
|
||||
|
@ -18,7 +18,7 @@ export async function fetchAssistantEditorInfoSS(
|
||||
existingPersona: Persona | null;
|
||||
tools: ToolSnapshot[];
|
||||
},
|
||||
null
|
||||
null,
|
||||
]
|
||||
| [null, string]
|
||||
> {
|
||||
@ -50,7 +50,7 @@ export async function fetchAssistantEditorInfoSS(
|
||||
Response,
|
||||
User | null,
|
||||
ToolSnapshot[] | null,
|
||||
Response | null
|
||||
Response | null,
|
||||
];
|
||||
|
||||
if (!ccPairsInfoResponse.ok) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user