Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements for a More Efficient and User-Friendly Web Editor #78

Open
bolavefasfas opened this issue May 4, 2024 · 3 comments
Open

Comments

@bolavefasfas
Copy link

bolavefasfas commented May 4, 2024

This is an insane project Love it !!

Feature Request

I hope this message finds you well. I am writing to suggest several improvements to our web editor, aiming to enhance its usability and functionality.

  1. Code Block Text Wrapping: Currently, the code block text does not wrap in our Bluestone web editor
    image

It would be beneficial to implement a feature that allows the text to wrap and display as demonstrated in
image

  1. Eliminate Excessive Spacing: There are instances where the editor contains too much space
    image. Reducing this would provide a cleaner and more professional look.

  2. Automatic Markdown Formatting: When markdown is pasted into the editor, it does not automatically adopt the markdown format
    image
    and
    image

. This feature would greatly improve efficiency, especially when pasting code blocks or headings
image

For example, pasting the following code should automatically format it as a bash code block:

```bash
go build -tags nogcs,nos3,nosqlite -ldflags "-s -w -X github.com/drakkan/sftpgo/v2/internal/version.commit=`git describe --always --abbrev=8 --dirty` -X github.com/drakkan/sftpgo/v2/internal/version.date=`date -u +%FT%TZ`" -o sftpgo
```
  1. Add Copy Button for Code Blocks: A dedicated copy button for code blocks would make it easier for users to copy the code (see image

  2. Add an Index Sidebar: An index sidebar would help users navigate through the document more efficiently
    image

  3. Ability to Add Subpages: It would be useful to have the ability to add subpages using the "/page" feature, similar to editors like Notion
    image, Anytype, Capacities, Affine
    image, and Outline. This feature would allow users to create notes on the go without needing to navigate to the folder, create a note, and link it.
    No need for folder just notes instide notes.

  4. Location of Notes Files (.md files): To help users set up a backup using a cron job, please provide the default location of notes files (.md files) in both the web-based Linux deployment and the Docker deployment.

  5. Importing notes with multiple folder inside notes like folder 1 10 notes in it then a folder inside the 1 st folder named folder 2 and few notes inside them. (currently this cannot be imported.)


For clarity, I would appreciate responses in the following format:

  1. Feature request accepted
  2. Accepted and will be worked on in the next quarter
  3. Will not do because ...

This format will help me understand which features will be prioritized and worked on. Implementing these features will elevate the project to a new level, making it more competitive and user-friendly.

Thank you for considering these suggestions. I believe these enhancements will significantly improve the user experience and overall functionality of our web editor.

@1943time
Copy link
Owner

1943time commented May 5, 2024

Thank you for your suggestion

  1. Accepted, will be added in 2 versions
  2. You may have accidentally created two lists while editing, instead of multiple list items under one list. You can merge them by dragging and dropping them
  3. By default, pasting will automatically parse into HTML, but you can use cmd+option+v to paste the markdown code, as shown in the shortcut operations in the right column
  4. The copy button will pop up when clicking on the language in the upper right corner of the code bar, and it may require a second operation
    <img width="894" alt="image" src=“ https://github.com/1943time/bluestone/assets/115093678/137c0066-5305-45cf-b577-0722f9ccc421 ">
  5. What is the difference between this feature and the existing outline function? I think turning on the display outline should meet this requirement
  6. inkdown needs to maintain seamless conversion with the file system, and how to convert sub pages to and from the file system is a difficult problem to handle, so this feature cannot be added
  7. Synchronize server markdown will bring more development costs, and there are currently no plans to add this feature. However, in the future, it may support the use of MySQL or PostgreSQL storage. You can backup database files, and also consider using the Chrome file system to write documents to the local machine in real time.
  8. I haven't reproduced this issue yet. If possible, could you provide an import sample for me to test?

I am currently not maintaining this project full-time, so many features cannot be developed so quickly. Please understand

@bolavefasfas
Copy link
Author

Thank you for your suggestion

  1. Accepted, will be added in 2 versions
  2. You may have accidentally created two lists while editing, instead of multiple list items under one list. You can merge them by dragging and dropping them
  3. By default, pasting will automatically parse into HTML, but you can use cmd+option+v to paste the markdown code, as shown in the shortcut operations in the right column
  4. The copy button will pop up when clicking on the language in the upper right corner of the code bar, and it may require a second operation
    <img width="894" alt="image" src=“ https://github.com/1943time/bluestone/assets/115093678/137c0066-5305-45cf-b577-0722f9ccc421 ">
  5. What is the difference between this feature and the existing outline function? I think turning on the display outline should meet this requirement
  6. inkdown needs to maintain seamless conversion with the file system, and how to convert sub pages to and from the file system is a difficult problem to handle, so this feature cannot be added
  7. Synchronize server markdown will bring more development costs, and there are currently no plans to add this feature. However, in the future, it may support the use of MySQL or PostgreSQL storage. You can backup database files, and also consider using the Chrome file system to write documents to the local machine in real time.
  8. I haven't reproduced this issue yet. If possible, could you provide an import sample for me to test?

I am currently not maintaining this project full-time, so many features cannot be developed so quickly. Please understand

  1. Thanks
  2. They are separate list even though spacing is a lot
  3. Still havent figured out

  1. image
    can you keep copy button on 1st and the type like shell or yml or python under dropdown or on the left side as all major platofrom does keep the language on left and copy button on right its standard please and more convinient rather than clicking dropdown then copything.
  2. Thanks a lot, its the same found it.
  3. Will tell in detail on how to achive it
  4. No I am not asking for sync, example: If we use standalone application on windows or os then it will read markdwon and edit and save them to a directory right - I want to know this directory for the web editor [so I can copy these dir using cronjobfor backups (I will setup cron)] Just need the dir where web editor save notes
  5. I will update this post with video
  6. For 66401 words 430197 characters the ui lags a bit can we do something about it ?
  7. A button on published page to save as pdf and download markdown file.

@1943time
Copy link
Owner

1943time commented May 7, 2024

3 Through a video demonstration

Kapture.2024-05-08.at.00.53.56.mp4

7 Inkdown web version is stored in sqlite as formatted data, not directly in markdown format, so this cannot be achieved temporarily
9 Having too much code fence may have a significant impact on performance, and solving performance issues with long texts is not easy. As there is still a lot of work to be done, I can only look for optimization opportunities in the future

Other detailed features will be considered for inclusion in future versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants