Commit Graph

6 Commits

Author SHA1 Message Date
Fam Zheng 915b91d986 write(ui): 对话框填满 + 🎙/发送按钮浮在 textarea 框内右下
deploy write / build-and-deploy (push) Successful in 1m26s
- input-row 改 position: relative + flex:1 撑满 input-bar 高度
- textarea width/height 100% 填满,右/下加 padding (130px / 14px) 给按钮腾位
- btn-tray absolute right:8 bottom:8,pointer-events: none 让 textarea 仍可点
- 按钮 height 40→32 更紧凑
2026-05-24 21:20:28 +01:00
Fam Zheng b2bec0406f write(ui): 全套 dark 主题,配色对齐 notes / cube portal
deploy write / build-and-deploy (push) Successful in 1m28s
- 引入 :root --bg/--bg-elev/--bg-card/--border/--text/--accent 等 vars(跟 notes 一致)
- 主要 surface:body / sidebar / editor / preview / input-bar / modal / mobile-bar
- accent 紫 (#c084fc + #7c5cbf) 替代 #5566ee 蓝
- preview markdown:h2-h4 紫,inline code amber,pre block 加 border
- splitter hover 用 accent-strong 紫
- 滚动条暗化
2026-05-24 17:45:26 +01:00
Fam Zheng 85b55f2243 write(ui): input-bar 高度也可拖拽(横向 splitter,row-resize 光标,60-window-200 px)
deploy write / build-and-deploy (push) Successful in 1m28s
2026-05-24 17:44:04 +01:00
Fam Zheng b2d70b2491 write(css): editor-pane 加 grid-template-rows: auto 1fr,title-row 不再占 50%
deploy write / build-and-deploy (push) Successful in 1m52s
2026-05-24 17:20:36 +01:00
Fam Zheng 7b868852d2 write(ui): 三栏宽度可拖拽 + localStorage 持久化
deploy articulate / build-and-deploy (push) Successful in 1m15s
deploy cube / build-and-deploy (push) Successful in 1m40s
deploy karaoke / build-and-deploy (push) Successful in 1m6s
deploy llm-proxy / build-and-deploy (push) Successful in 2m3s
deploy music / build-and-deploy (push) Successful in 2m16s
deploy notes / build-and-deploy (push) Successful in 2m2s
deploy simpleasm / build-and-deploy (push) Successful in 1m30s
deploy werewolf / build-and-deploy (push) Successful in 1m12s
deploy write / build-and-deploy (push) Successful in 1m54s
- sidebar | workspace 拖拽条:调整侧栏宽(180-500px)
- editor | preview 拖拽条:调整源码/预览比例(15%-85%)
- CSS var --sidebar-w / --editor-fr / --preview-fr 驱动 grid-template-columns
- 鼠标 down 开始 drag,move 实时算 px/dx,up 落盘 localStorage
- 移动端(<768px)自动隐藏拖拽条,回到 100% 切 tab 模式
2026-05-24 17:18:37 +01:00
Fam Zheng 9328c01c1b write: 进 cube 仓库 + 接 gitea CI 自动部署
deploy write / build-and-deploy (push) Failing after 4s
- 整 apps/write/ 进 git(含 frontend 源码 + Makefile + systemd unit + k8s service/ingress)
- .gitea/workflows/deploy-write.yml: act_runner fam 用户跑 host shell
    cargo build → npm build → install 到 ~/.local/bin/share/config →
    systemctl --user daemon-reload + restart → kubectl apply svc/ingress
- 前端 3 处"麻薯"字样去掉(思考中 / placeholder × 2)

注意 ~/.config/write/env 已有 passphrase,CI placeholder 逻辑会跳过不覆盖。
2026-05-24 17:16:44 +01:00