mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 02:10:04 +08:00
fix(client): root CSS import breaking some tests
This commit is contained in:
parent
ee0a1e5cbf
commit
041c228053
@ -5,7 +5,6 @@ import BasicWidget from "../basic_widget.js";
|
|||||||
import toastService from "../../services/toast.js";
|
import toastService from "../../services/toast.js";
|
||||||
import appContext from "../../components/app_context.js";
|
import appContext from "../../components/app_context.js";
|
||||||
import server from "../../services/server.js";
|
import server from "../../services/server.js";
|
||||||
import libraryLoader from "../../services/library_loader.js";
|
|
||||||
|
|
||||||
import { TPL, addMessageToChat, showSources, hideSources, showLoadingIndicator, hideLoadingIndicator } from "./ui.js";
|
import { TPL, addMessageToChat, showSources, hideSources, showLoadingIndicator, hideLoadingIndicator } from "./ui.js";
|
||||||
import { formatMarkdown } from "./utils.js";
|
import { formatMarkdown } from "./utils.js";
|
||||||
@ -15,10 +14,7 @@ import { validateEmbeddingProviders } from "./validation.js";
|
|||||||
import type { MessageData, ToolExecutionStep, ChatData } from "./types.js";
|
import type { MessageData, ToolExecutionStep, ChatData } from "./types.js";
|
||||||
import { applySyntaxHighlight } from "../../services/syntax_highlight.js";
|
import { applySyntaxHighlight } from "../../services/syntax_highlight.js";
|
||||||
|
|
||||||
// Import the LLM Chat CSS
|
import "../../../stylesheets/llm_chat.css";
|
||||||
(async function() {
|
|
||||||
await libraryLoader.requireCss('stylesheets/llm_chat.css');
|
|
||||||
})();
|
|
||||||
|
|
||||||
export default class LlmChatPanel extends BasicWidget {
|
export default class LlmChatPanel extends BasicWidget {
|
||||||
private noteContextChatMessages!: HTMLElement;
|
private noteContextChatMessages!: HTMLElement;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user