Boostnote: Notes with identical titles overwrite during export of folder

Created on 23 Oct 2019  路  9Comments  路  Source: BoostIO/Boostnote

Current behaviour

Currently, notes in a folder containing the same title are being overwritten in the exported output with the operation "Export Folder -> Export as md".

Expected behaviour

All notes in a folder are exported as Markdown.

Steps to reproduce

  1. create three notes in the same folder
  2. choose Export Folder -> Export as md
  3. only one out of three notes are created in the export location


MNWE used to illustrates the issue: (3 notes)

# Markdown Note to Export

1st note.


# Markdown Note to Export

2nd note.


# Markdown Note to Export

3rd note.

Important: Note that all 3 notes have the same title.

Environment

  • Version : 0.11.12
  • Version : 0.13.0
  • OS Version and name : 16.04 Ubuntu
bug level 1

All 9 comments

one could, additionally, validate the export and create a user notification: #3306. (I closed it for now but could be reopened on interest).

We could export duplicate named files with _(1) appended and increment if we find more.

I like the idea of #3306! I can't think of a reason that we don't want such a warning.

We could export duplicate named files with _(1) appended and increment if we find more.

Boostnote already has functions defined that implement that behaviour.

Nice! Then fixing this export overwrite problem should be fairly simple.

We could export duplicate named files with _(1) appended and increment if we find more.

Boostnote already has functions defined that implement that behaviour.

@arcturus140 , where is the function?
I tried to find the function in Boostnote program operation and code, but I couldn't.
I hope to contribute to this issue.
Would you mind if you let me know where it is?
If you can't find it too, I will make another function or import other opensource.
Thanks 馃憤

@Jongkeun I am sorry I couldn't. I know I've seen it but it has been a while.

I think it has changed...

No problem, thanks for checking out.

@arcturus140 the PR #2612 is fixing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NonlinearFruit picture NonlinearFruit  路  3Comments

ryochack picture ryochack  路  3Comments

croulibri picture croulibri  路  3Comments

luong-komorebi picture luong-komorebi  路  3Comments

ysshah picture ysshah  路  3Comments