siyuan-note / siyuan

A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
https://b3log.org/siyuan
GNU Affero General Public License v3.0
18.19k stars 1.36k forks source link

Merge the top title bar and tab bar #10749

Open amatya-aditya opened 5 months ago

amatya-aditya commented 5 months ago

In what scenarios do you need this feature?

Currently, the toolbar contains the notes file name, which is also can be found at starting of document. IMO, showing the same information two time is not important.

image

Utilizing the available space in toolbar will help declutter the top section of notes and enhance the overall look of Siyaun .

Although it is already available in Asri theme, I don't like its overall look.

The default theme of SiYuan looks more minimalistic as compared to other theme. Few refinement like this will enhance the look a lot more.

Please do consider.

Describe the optimal solution

This feature is also set as a default in obsidian.

image

Describe the candidate solution

No response

Other information

No response

88250 commented 5 months ago

I totally agree :)

TCOTC commented 5 months ago

那么顶栏按钮应该放置在哪里?

So where should the top bar button be placed?

amatya-aditya commented 5 months ago

By top bar button , Do you mean windows control button (min, max, close), plugin button and main menu, etc?

If yes, I think title bar can be divided into three div, and use the middle div for tab bar and right and left div for top bar button.

image

TCOTC commented 5 months ago

对热衷于使用插件的用户来说,这不是一个好的选择:

Not a good choice for users who are keen on using plugins:

image

amatya-aditya commented 5 months ago

There is an option in obsidian to toggle for various windows frame style, which controls the visibility of the title bar. I think similar approach can be integrated in SiYuan also.

image image

TCOTC commented 5 months ago

这样确实很好看。我想可以增加一个「隐藏顶栏」,就像目前的「隐藏底栏」

This does look nice. I think a "Hide top bar" could be added, like the current "Hide bottom status bar"

image

image

UFDXD commented 5 months ago

顶栏挺好的。如果要改,希望有开关切换

Vanessa219 commented 4 months ago

这个是否可以使用主题来解决?