refactor(snippets): adopt alias/title model and markdown UX

- rename snippet identity from name to alias and add required title fields

- migrate snippet API, forms, cards, and detail views to alias/title semantics

- render markdown descriptions with short card previews and split vendor chunks
This commit is contained in:
ars9 committed 2026-04-10 23:26:36 +03:00
1 parent 11db983ea6
commit 7223371fae
21 files changed
+1821 -85

No files matched your search

+7 -3
View File
@@ -11,9 +11,13 @@ export class SnippetEntity {
@PrimaryGeneratedColumn("uuid")
id: string;
/** Unique identifier used to call the snippet: helpers.runSnippet('mySnippet', ...) */
@Column({ unique: true })
name: string;
/** Unique identifier used to invoke the snippet: helpers.runSnippet('mySnippet', ...) */
@Column({ unique: true, nullable: true })
alias: string;
/** Human-readable title displayed in the UI. */
@Column({ default: "" })
title: string;
@Column("text", { nullable: true })
description: string | null;