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

[Feature] add a whitespace when rules append to notes or prepend to notes #3481

Closed
2 tasks done
meonkeys opened this issue Sep 21, 2024 · 3 comments
Closed
2 tasks done
Labels
feature This issue is a feature request needs votes Please upvote this feature request if you would like to see it implemented!

Comments

@meonkeys
Copy link

Verified feature request does not already exist?

  • I have searched and found no existing issue

💻

  • Would you like to implement this feature?

Pitch: what problem are you trying to solve?

If I use "append to notes" or "prepend to notes" in a rule, the new text is added right next to the old. For example:

note before rule applied rule note after rule applied
foo append to note #bar foo#bar
foo prepend to note #bar #barfoo

This may have the effect of producing altered notes with new or broken tags or typos.

Describe your ideal solution to this problem

When appending or prepending, add an additional whitespace character as padding to avoid typos and breaking tags.

note before rule applied rule note after rule applied
foo append to note #bar foo #bar
foo prepend to note #bar #bar foo

Teaching and learning

Mention the new behavior in the changelog / release notes.

@meonkeys meonkeys added the feature This issue is a feature request label Sep 21, 2024
@github-actions github-actions bot added the needs votes Please upvote this feature request if you would like to see it implemented! label Sep 21, 2024
Copy link
Contributor

✨ Thanks for sharing your idea! ✨

This repository uses lodash style issue management for enhancements. That means enhancement issues are automatically closed. This doesn’t mean we don’t accept feature requests, though! We will consider implementing ones that receive many upvotes, and we welcome contributions for any feature requests marked as needing votes (just post a comment first so we can help you make a successful contribution).

The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+

Don’t forget to upvote the top comment with 👍!

@meonkeys
Copy link
Author

Note there is a current workaround: simply include a whitespace before or after the text to be appended or prepended. E.g.

note before rule applied rule note after rule applied
foo append to note #bar foo #bar
foo prepend to note #bar #bar foo

However, this may result in leading or trailing whitespace in notes:

note before rule applied rule note after rule applied
`` append to note #bar #bar
`` prepend to note #bar #bar

@meonkeys
Copy link
Author

related: #3197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue is a feature request needs votes Please upvote this feature request if you would like to see it implemented!
Projects
None yet
Development

No branches or pull requests

1 participant