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

Update journal-entry.qml #251

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

DutchPete
Copy link
Contributor

Fixed these 2 issues:

  1. On the 1st and 2nd lines respectively the real file name is added,underlined with ===
  2. the word Note: followed by a long aplhanumeric code that changes to the real name by moving to another note and back.

Fixed these 2 issues:

1. On the 1<sup>st</sup> and 2<sup>nd</sup> lines respectively the real file name is added,underlined with === 
2. the word _Note:_ followed by a long aplhanumeric code that changes to the real name by moving to another note and back.

// Create the new journal note without the filename and empty line.
// Create the new journal note with only the body template content - code line shortened by ChatGPT.
script.createNote(noteBodyTemplate);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are three descriptions for this line now. Which one of them is the right one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And you removed the headline, was this intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lines 167 and 168 are the original ones, and should be deleted.

lines 168 and 169 in effect are the same. So, we could rephrase it as:
// Create the new journal note with only the body template content (= without the filename and empty line).

Removing the headline was intentional because I don't want the file name of the note repeated in the note itself, I never do that. Now this is something particular to me, and I understand you may want to keep it. In that case I will use my version of the .qml file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lines 167 and 168 are the original ones, and should be deleted.
lines 168 and 169 in effect are the same. So, we could rephrase it as

Can you please delete the lines if they shouldn't be part of the script anymore? 😊

Removing the headline was intentional because I don't want the file name of the note repeated in the note itself, I never do that.

Ok, the headline generation is an integral part of the script. We would need a script setting to allow/disallow adding of the headline rather than just removing the code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You marked this as resolved, but you didn't change anything. Was this an accident?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it was not an accident, I thought I was done. So what is required now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the 2nd part: If you don't want to / can't create a setting, please add the removed code again.

@pbek pbek added the wip Work in progress label Dec 18, 2024
@pbek
Copy link
Member

pbek commented Dec 18, 2024

But since you already have two open pull requests, be sure you are doing all future commits for this pull request in your patch-1 branch! That's here: https://github.com/DutchPete/scripts/tree/patch-1

@pbek pbek marked this pull request as draft December 19, 2024 06:21
@DutchPete
Copy link
Contributor Author

I assume the ball is in your court now: approval.

@pbek
Copy link
Member

pbek commented Dec 19, 2024

Approval of what?

@DutchPete
Copy link
Contributor Author

This, as shown above:

image

@pbek
Copy link
Member

pbek commented Dec 19, 2024

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

Successfully merging this pull request may close these issues.

2 participants