WIP: Add support for updating a headline whole text contents #4

Draft
kenkeiras wants to merge 11 commits from support-updating-raw-note-contents into develop
Owner
  • Base concept
  • Reparse contents on update
- [x] Base concept - [x] Reparse contents on update
kenkeiras added 3 commits 2024-07-29 14:38:06 +00:00
wip: First approach to get going.
Some checks failed
Testing / pytest (push) Successful in 27s
Testing / mypy (push) Failing after 32s
Testing / stability-extra-test (push) Successful in 22s
134d872ca6
Quick fix for handling date data.
All checks were successful
Testing / pytest (push) Successful in 24s
Testing / mypy (push) Successful in 33s
Testing / stability-extra-test (push) Successful in 24s
071004ea7a
kenkeiras added 3 commits 2024-07-30 08:53:21 +00:00
Allow trailing whitespace changes on raw content update.
All checks were successful
Testing / pytest (push) Successful in 28s
Testing / mypy (push) Successful in 31s
Testing / stability-extra-test (push) Successful in 31s
ef615feac5
Author
Owner

Wondering how problematic is to allow whitespace changes on headline full content update.

Keeping the whitespace as correct as possible should be doable but might require removing the current line-number system... which would be good anyway 🤔

Wondering how problematic is to allow whitespace changes on headline full content update. Keeping the whitespace as correct as possible should be doable but might require removing the current line-number system... which would be good anyway 🤔
kenkeiras self-assigned this 2024-07-30 08:55:24 +00:00
kenkeiras added the
enhancement
label 2024-07-30 09:08:01 +00:00
kenkeiras added 1 commit 2024-07-30 13:34:30 +00:00
Update reparse test to test full org_rw.dump. This fails.
Some checks failed
Testing / pytest (push) Failing after 28s
Testing / mypy (push) Successful in 31s
Testing / stability-extra-test (push) Successful in 30s
c6c372e111
kenkeiras force-pushed support-updating-raw-note-contents from c6c372e111 to c7f78e0a6c 2024-07-30 15:16:08 +00:00 Compare
kenkeiras added 1 commit 2024-07-30 15:37:21 +00:00
Avoid line offset correction, as it's tricky to do it correctly.
All checks were successful
Testing / pytest (push) Successful in 26s
Testing / mypy (push) Successful in 1m6s
Testing / stability-extra-test (push) Successful in 31s
c5845d670f
Note that we might want to restore the offset correction at some point to allow looking at the line positions after the
    load is completed.
kenkeiras force-pushed support-updating-raw-note-contents from c5845d670f to 97db5686d8 2024-07-30 15:46:13 +00:00 Compare
kenkeiras added 1 commit 2024-10-07 17:48:13 +00:00
Merge remote-tracking branch 'origin/develop' into support-updating-raw-note-contents
Some checks failed
Testing / mypy (push) Waiting to run
Testing / style-formatting (push) Waiting to run
Testing / style-sorted-imports (push) Waiting to run
Testing / stability-extra-test (push) Waiting to run
Testing / pytest (push) Has been cancelled
56416f2fd8
kenkeiras added 1 commit 2024-10-07 17:48:30 +00:00
Apply formatting scripts.
All checks were successful
Testing / pytest (push) Successful in 27s
Testing / mypy (push) Successful in 29s
Testing / style-formatting (push) Successful in 29s
Testing / style-sorted-imports (push) Successful in 23s
Testing / stability-extra-test (push) Successful in 28s
15af4212ae
kenkeiras added 1 commit 2024-10-07 21:27:59 +00:00
Merge remote-tracking branch 'origin/develop' into support-updating-raw-note-contents
All checks were successful
Testing / pytest (push) Successful in 24s
Testing / mypy (push) Successful in 34s
Testing / style-formatting (push) Successful in 28s
Testing / style-sorted-imports (push) Successful in 27s
Testing / stability-extra-test (push) Successful in 28s
93e2001400
All checks were successful
Testing / pytest (push) Successful in 24s
Testing / mypy (push) Successful in 34s
Testing / style-formatting (push) Successful in 28s
Testing / style-sorted-imports (push) Successful in 27s
Testing / stability-extra-test (push) Successful in 28s
This pull request is marked as a work in progress.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin support-updating-raw-note-contents:support-updating-raw-note-contents
git checkout support-updating-raw-note-contents
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kenkeiras/org-rw#4
No description provided.