]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: Refactor data-attrs constants, enum for bool strings (#27002)
authorAleksander Grygier <redacted>
Thu, 13 Aug 2026 18:01:12 +0000 (20:01 +0200)
committerGitHub <redacted>
Thu, 13 Aug 2026 18:01:12 +0000 (20:01 +0200)
commitbdffafa5df64e10cb6eef2f3bba4b4afc5f1c149
treedebbf0340d66ae5f236a278f893c829a0d6870e3
parentfa4ec4590cc73ccd23df5841e9c7d17bd22b0bb7
ui: Refactor data-attrs constants, enum for bool strings (#27002)

* refactor: Data-attribute constants + boolean string enum

* refactor: Use CSS class string constants

* refactor: Address review comments
40 files changed:
tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreview.svelte
tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatForm.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectory.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryResultsList.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInput.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputBasic.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputRich.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerList.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItem.svelte
tools/ui/src/lib/components/app/chat/index.ts
tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte
tools/ui/src/lib/components/app/content/MarkdownContent/markdown-handlers.ts
tools/ui/src/lib/components/app/content/MarkdownContent/markdown-utils.ts
tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-code-blocks.ts
tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts
tools/ui/src/lib/components/app/content/SyntaxHighlightedCode.svelte
tools/ui/src/lib/components/app/dialogs/DialogMcpServerAddNew.svelte
tools/ui/src/lib/components/app/misc/ConversationSelection.svelte
tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationItem.svelte
tools/ui/src/lib/components/app/settings/SettingsChatMobileHeader.svelte
tools/ui/src/lib/constants/chat-form.constants.ts
tools/ui/src/lib/constants/headers.constants.ts
tools/ui/src/lib/constants/markdown.constants.ts
tools/ui/src/lib/constants/mention-badge.constants.ts
tools/ui/src/lib/constants/ui.constants.ts
tools/ui/src/lib/enums/boolean-string.enums.ts [new file with mode: 0644]
tools/ui/src/lib/enums/index.ts
tools/ui/src/lib/hooks/use-marquee-selection.svelte.ts
tools/ui/src/lib/hooks/use-scroll-active-row.svelte.ts
tools/ui/src/lib/services/migration.service.ts
tools/ui/src/lib/types/index.ts
tools/ui/src/lib/utils/chat-form-input-rich-tokenizer.ts
tools/ui/src/lib/utils/index.ts
tools/ui/src/lib/utils/source-history.ts
tools/ui/tests/client/chat-form-enter-code-block.svelte.test.ts
tools/ui/tests/client/chat-form-input-rich-blocks.svelte.test.ts
tools/ui/tests/client/chat-form-input-rich-undo.svelte.test.ts
tools/ui/tests/client/chat-form-input-rich.svelte.test.ts
tools/ui/tests/client/chat-form-mention-picker-gate.svelte.test.ts