sh20raj
502be0d49e
refactor: restructure audio handling and enhance type definitions
...
- Refactored audio handling by separating concerns into AudioAnalyzer and AudioPlayback classes.
- Improved type definitions for Tauri commands and dialog interfaces in global.d.ts.
- Added new CodeActions and CodePreview components to enhance code display and interaction in markdown.tsx.
- Updated state management in sd.ts to include drawing functionality.
- Cleaned up global styles in globals.scss, reducing complexity and improving maintainability.
2024-12-19 19:57:49 +05:30
opchips
e56216549e
fix: 代码块嵌入小代码块时渲染错误
2024-11-15 11:56:26 +08:00
opchips
9a86c42c95
update
2024-11-12 16:33:55 +08:00
Dogtiti
e0bbb8bb68
style: improve classname by clsx
2024-11-06 16:58:26 +08:00
code-october
4a1319f2c0
代码安全优化
2024-10-11 11:57:23 +00:00
code-october
8fd843d228
参考coderabbitai建议规范代码
2024-10-11 11:38:52 +00:00
code-october
6792d6e475
支持前端使能/禁用代码折叠
2024-10-11 11:19:36 +00:00
Lloyd Zhou
65f80f81ad
Merge branch 'main' into dean-delete-escapeDollarNumber
2024-10-04 14:31:00 +08:00
code-october
f5ad51a35e
fix quoteEnd extract regex
2024-09-29 14:29:42 +00:00
mayfwl
ea04595c5e
Merge branch 'main' into add_tip_top
2024-09-25 16:19:55 +08:00
lyf
e83f61e74d
fix
2024-09-25 15:21:17 +08:00
lyf
77f037a3c4
add maidian
2024-09-25 13:08:03 +08:00
Dogtiti
9bbd7d3185
Merge pull request #5519 from ConnectAI-E/feature-play-audio-and-video
...
Feature play audio and video
2024-09-24 22:03:55 +08:00
lloydzhou
dbabb2c403
auto play video/audio
2024-09-24 18:52:54 +08:00
lloydzhou
6c37d04591
auto play video/audio
2024-09-24 18:52:48 +08:00
DDMeaqua
6c8143b7de
feat: 全局设置是否启用artifacts
2024-09-24 15:15:08 +08:00
lyf
d95d509046
fex
2024-09-23 15:43:36 +08:00
lyf
35aa2c7270
Fix code duplication
2024-09-23 11:34:20 +08:00
lloydzhou
3dabe47c78
fixed: html codeblock include 2 newline
2024-09-13 16:27:02 +08:00
lloydzhou
cf0c057164
hotfix Mermaid can not render. close #5374
2024-09-07 13:00:55 +08:00
lloydzhou
caf50b6e6c
move artifacts into mask settings
2024-09-05 14:46:16 +08:00
lloydzhou
9326ff9d08
ts error
2024-08-30 23:39:08 +08:00
mayfwl
95332e50ed
Merge branch 'main' into Modifylang
2024-08-21 15:45:04 +08:00
lyf
8496980cf9
Modify View All Languages
2024-08-21 14:28:39 +08:00
lloydzhou
4b9697e336
fix: typescript error
2024-08-21 11:54:48 +08:00
lloydzhou
b0e9a542ba
frat: add reload button
2024-08-21 11:17:00 +08:00
lloydzhou
8b67536c23
fix: 修复多余的查看全部
2024-08-21 10:28:34 +08:00
lloydzhou
cd49c12181
fix: 修复查看全部按钮导致artifacts失效
2024-08-21 10:27:37 +08:00
lyf
c3c3dd5154
feature add zhedie
2024-08-12 14:06:21 +08:00
lyf
356155fd30
feature add zhedie
2024-08-12 13:58:53 +08:00
lyf
6f75ef8f0a
addcd
2024-08-10 12:45:50 +08:00
lyf
8f759d1c3e
代码折叠
2024-08-09 14:55:25 +08:00
lyf
44787637f2
tj
2024-08-08 21:07:03 +08:00
frostime
b6a022b0ef
✨ feat(config): Set markdown's font-family
2024-08-03 16:04:20 +08:00
frostime
d49ececcc5
✨ feat(markdown): wrap the plain text code block
2024-07-29 19:10:00 +08:00
Dogtiti
6737f016f5
chore: artifact => artifacts
2024-07-26 15:50:26 +08:00
Dogtiti
c27ef6ffbf
feat: artifacts style
2024-07-25 23:29:29 +08:00
Dogtiti
21ef9a4567
feat: artifacts style
2024-07-25 17:37:21 +08:00
lloydzhou
763fc89b29
add fullscreen button on artifact component
2024-07-25 15:10:17 +08:00
lloydzhou
2efedb1736
update
2024-07-25 13:34:59 +08:00
lloydzhou
421bf33c0e
save artifact content to cloudflare workers kv
2024-07-24 20:02:37 +08:00
lloydzhou
1ecefd88f7
hotfix
2024-07-23 17:57:41 +08:00
lloydzhou
2e9e20ce7c
auto height for html preview
2024-07-23 17:54:07 +08:00
lloydzhou
fb60fbb217
auto height for html preview
2024-07-23 17:51:44 +08:00
lloydzhou
4199e17da0
auto height for html preview
2024-07-23 17:44:15 +08:00
lloydzhou
dfd089132d
add preview html code
2024-07-23 14:39:31 +08:00
lloydzhou
3a10f58b28
add preview html code
2024-07-23 14:33:41 +08:00
Lloyd Zhou
5b126c7e52
Revert "feat: improve components structure"
2024-07-22 22:18:51 +08:00
Dogtiti
038e6df8f0
feat: improve components structure
2024-07-22 16:02:45 +08:00
butterfly
6cb296f952
feat: remove debug code
2024-04-09 09:12:18 +08:00