mirror of
https://github.com/bitbaum/writingkit.git
synced 2026-12-04 05:37:40 +01:00
* feat: charts in articles and suggestions the writer accepts or rejects (0.3.0) - ```chart blocks (JSON or CSV spec): parseChartBlock, splitChartBlocks, table fallbacks for RSS/share cards (chartsToTables), chartValuesNotInText so a proposed chart draws only the writer's own numbers - @bitbaum/writingkit/react/chart: ArticleChart / ArticleChartBlock drawn by @bitbaum/chartkit (new optional peer) - Suggestion, applySuggestion (refuses stale text), wordDiff, SuggestionCard - suggestMedia: a chart beside the paragraph with figures, else an illustration - ArticleComposer: renderChart in Preview; draft-from-brief is a suggestion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * feat(chart): read bip-kit's series-line format too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(suggestions): show a rewrite whole; keep Publish the one primary action Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn --------- Co-authored-by: Claude <noreply@anthropic.com>
60 lines
1.6 KiB
TypeScript
60 lines
1.6 KiB
TypeScript
export interface ComposerLabels {
|
|
titleLabel: string;
|
|
titlePlaceholder: string;
|
|
bodyLabel: string;
|
|
bodyPlaceholder: string;
|
|
tabWrite: string;
|
|
tabPreview: string;
|
|
previewEmpty: string;
|
|
toolsLabel: string;
|
|
speak: string;
|
|
photo: string;
|
|
chart: string;
|
|
formatLabel: string;
|
|
heading: string;
|
|
bold: string;
|
|
quote: string;
|
|
list: string;
|
|
link: string;
|
|
/** Speak panel */
|
|
speakTitle: string;
|
|
speakHelp: string;
|
|
speakBrief: string;
|
|
speakPlaceholder: string;
|
|
speakWrite: string;
|
|
speakWriting: string;
|
|
speakInsert: string;
|
|
speakSignIn: string;
|
|
/** Chart panel */
|
|
chartTitle: string;
|
|
chartHelp: string;
|
|
chartInsert: string;
|
|
chartProblem: (problem: string) => string;
|
|
/** Suggestions (writing help proposes; the writer decides) */
|
|
suggestionAccept: string;
|
|
suggestionReject: string;
|
|
suggestionStale: string;
|
|
/** Title / body writing help */
|
|
improveSuggestionsBody: readonly string[];
|
|
improveSuggestionsTitle: readonly string[];
|
|
titleInstruction: (instruction: string) => string;
|
|
assistChanged: string;
|
|
assistUndo: string;
|
|
assistFailed: string;
|
|
/** Publish bar */
|
|
publish: string;
|
|
publishing: string;
|
|
saveChanges: string;
|
|
signInToPublish: string;
|
|
saveDraft: string;
|
|
savingDraft: string;
|
|
publishFailed: string;
|
|
publishUnreachable: string;
|
|
wordCount: (words: number, minutes: number) => string;
|
|
draftKept: string;
|
|
draftRestored: (at: string) => string;
|
|
publishedAs: (name: string) => string;
|
|
signedOutNote: string;
|
|
}
|
|
export declare const DEFAULT_COMPOSER_LABELS: ComposerLabels;
|