reor icon indicating copy to clipboard operation
reor copied to clipboard

Remove note creation modal

Open joseplayero opened this issue 1 year ago • 9 comments

Problem

when creating a note, a modal opens to name the file for that note first before creating it.

Solution

Instead editor should open instantly (without opening modal) and the note should only be created only once there is content to be saved. The behaviour should be the same as obsidian.

  • The naming of the note should be using either the markdown title (if the user types one) ensuring an hashes are removed from the note name.
  • If the user does not type a markdown title, the first 20 characters should be used to name a new note.
  • There will need to be automatic removal of characters that are not valid in a filename (make sure you use the same function in the create note modal)
  • i'd recommend modifying the writeEditorContentToDisk function (or something similar) so that if a filepath is not provided, it is generated automatically. But make sure to check no other code is broken that calls the same function

Contributing

please comment that you will attempt this before starting. A developer will then be assigned to this task. High quality, high readability code will receive a tip. Low quality code will not be accepted and a new developer will be assigned to the task.

joseplayero avatar Oct 05 '24 11:10 joseplayero

/bounty $25

joseplayero avatar Oct 05 '24 11:10 joseplayero

💎 $25 bounty • reorproject

Steps to solve:

  1. Start working: Comment /attempt #427 with your implementation plan
  2. Submit work: Create a pull request including /claim #427 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to reorproject/reor!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @ezhil56x Oct 5, 2024, 11:18:54 AM #431
🟢 @Bhavyajain21 Oct 5, 2024, 11:21:02 AM WIP
🟢 @iamhvsharma Oct 5, 2024, 4:18:15 PM WIP

algora-pbc[bot] avatar Oct 05 '24 11:10 algora-pbc[bot]

/attempt #427

Algora profile Completed bounties Tech Active attempts Options
@ezhil56x 49 bounties from 13 projects
JavaScript, TypeScript,
Java & more
Cancel attempt

ezhil56x avatar Oct 05 '24 11:10 ezhil56x

/attempt #427

Can I be assigned?

Algora profile Completed bounties Tech Active attempts Options
@Bhavyajain21 15 bounties from 3 projects
Rust, TypeScript,
JavaScript & more
Cancel attempt

Bhavyajain21 avatar Oct 05 '24 11:10 Bhavyajain21

please go ahead @ezhil56x as you commented first

joseplayero avatar Oct 05 '24 11:10 joseplayero

/attempt #427

Options

iamhvsharma avatar Oct 05 '24 16:10 iamhvsharma

💡 @ezhil56x submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Oct 05 '24 17:10 algora-pbc[bot]

🎉🎈 @ezhil56x has been awarded $25! 🎈🎊

algora-pbc[bot] avatar Oct 10 '24 14:10 algora-pbc[bot]

@joseplayero is the issue still opened?

byte-dev404 avatar Sep 25 '25 11:09 byte-dev404