logseq / logseq/db-test-cn

容易误删的危险 希望能区别嵌入块与引用块

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Search first
  • I searched and no similar issues were found
What Happened?

嵌入块与引用块的呈现方式逻辑不清晰
这是目前的logseq,希望嵌入块与引用块能用node虚线小圆点区别,建议node节点虚线小圆点要比句子长方框那种嵌入块更简洁,如果能带上几种tag自带的颜色更好分辨,此时,node reference 与 node embed 混淆
image

Expected Behavior

一、希望引用块能智能改进一些,参考案例,这是一个带其他文字的 行内引用块 智能的行内引用块的实例长句子,不需要区分引用块还是嵌入块的范例 ,这样引用的方式是下划线,文字颜色跟随引用块元地址的标签色很好辨认,按shift 点击 展开编辑
二、希望引用块 也就是 node reference 能够跟随彩色标签的颜色,好区别
三、希望 嵌入块 也就是 node embed 这种高度危险会误删的模块,不只是在节点bullet用虚线与标签颜色标明,在编辑与删除时,激活一个方框作为分身影子 的警示
image
编辑状态的 node embed 嵌入块
image

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)
### Tasks
- [ ] node embed 嵌入块的节点虚线圈与颜色跟随标签
- [ ] node embed 嵌入块危险删除的编辑框提示
- [ ] node reference 引用块的跟随原所在block的标签变色

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the node embed and node reference presentation and editing behavior described in the issue. Review the requested visual distinction, tag colors, and deletion warning together; done means the three listed task items are implemented without confusing references and embeds.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.