blocksuite icon indicating copy to clipboard operation
blocksuite copied to clipboard

Allow to rename Doc Title

Open mirtaqi07 opened this issue 1 year ago • 8 comments

Currently, we can't rename the document title, once created. It'd easy to remember which doc have what content, if the title can be edited.

Looking Forward!

mirtaqi07 avatar Jul 30 '24 10:07 mirtaqi07

Do you mean the title on the tab bar?

fourdim avatar Jul 30 '24 19:07 fourdim

I made some changes yesterday, and here is the updated version:

blocksuite

mirtaqi07 avatar Jul 31 '24 02:07 mirtaqi07

Oh, it's playground. The one you have shown is for debug purpose, and we don't have plan to improve it. However, PRs are welcomed!

fourdim avatar Jul 31 '24 02:07 fourdim

Sure, I'll work on PR.

Btw, when I build the blocksuite using pnpm build, the build was successful. Its just blank page when I open D:/blocksuite/packages/playground/dist/index.html. Can you help figure out this?

mirtaqi07 avatar Jul 31 '24 04:07 mirtaqi07

You might want to use pnpm preview to preview the built files as it will serve as a web server. Opening files directly have several restrictions: if I remember correctly, it will treat js files as non-executable plain text. You can also utilize other web servers such as miniserve to preview these files.

fourdim avatar Jul 31 '24 05:07 fourdim

Updated: Its the same as pnpm dev. Its working great but I'm trying to put it live. Thought, I should first build the static files pnpm build.

What are the steps to host it? Because I've tried and it fails.

mirtaqi07 avatar Jul 31 '24 05:07 mirtaqi07

@fourdim Can you help me regarding this, kindly?

mirtaqi07 avatar Aug 01 '24 15:08 mirtaqi07

https://medium.com/startit-up/how-to-host-and-deploy-your-frontend-projects-5a064a95370c

Or search for How to host a frontend project/static website for more.

fourdim avatar Aug 01 '24 16:08 fourdim