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

New Taskview #439

Merged
merged 97 commits into from
Oct 17, 2020
Merged
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
7077630
Initial implementation of the new taskview
diegogangl May 9, 2020
7872b8c
Add URL detection and tag types enum
diegogangl May 11, 2020
e091bf1
Move title tag to a subclass
diegogangl May 15, 2020
a6abd7d
Use table property
diegogangl May 15, 2020
7011c41
Move url detection to method
diegogangl May 15, 2020
7bf42be
Rename apply title for coherence
diegogangl May 15, 2020
872f550
Add task tag text tag support
diegogangl May 16, 2020
b9e9f50
Dim background color for tags
diegogangl May 16, 2020
f33ec58
Add API to get title
diegogangl May 16, 2020
3c6b9c6
Clear tags before processing
diegogangl May 16, 2020
e6b5134
Keep track of processing time in editor
diegogangl May 16, 2020
24518c6
Change mouse to hand when hovering links
diegogangl May 16, 2020
3a8e1ad
Add hovering effect to link tags
diegogangl May 16, 2020
8f2ca54
Handle left clicks on links
diegogangl May 17, 2020
422f3bf
Add right click menu for links
diegogangl May 17, 2020
e34ccda
Add LMB clicking on tags
diegogangl May 17, 2020
097e508
Fix link copy function
diegogangl May 17, 2020
d0f9e97
Fix hover for tags with no color
diegogangl May 17, 2020
fc25c11
Keep track of task tags
diegogangl May 17, 2020
baf5bc5
Very basic implementation for subtasks
diegogangl May 24, 2020
86a0c52
Make initial dash invisible for subtasks
diegogangl May 25, 2020
303a739
Change subtasks style acording to status
diegogangl May 30, 2020
a42d590
Add taskview2 to meson
diegogangl May 30, 2020
1a0bc12
Replace old translations module
diegogangl May 30, 2020
3244e20
Clean up subtasks code
diegogangl May 30, 2020
8961e5e
Handle ctrl+enter for activatable tags
diegogangl May 30, 2020
81fe632
Add interactivity for subtasks
diegogangl May 30, 2020
76d6e22
Remove Tag type enum
diegogangl May 30, 2020
d9ec630
Handle interactivty in a more pythonic way
diegogangl May 30, 2020
a1c551e
Add basic support for internal links
diegogangl May 30, 2020
3805f96
Add background to make invisibles more visible
diegogangl May 30, 2020
4c3eab7
Change state when hovering with the cursor
diegogangl May 31, 2020
59bae47
Add basic API methods to textview
diegogangl May 31, 2020
53359db
Load task's text in the new textview
diegogangl May 31, 2020
5d53b90
Remove limitation on non-word characters
diegogangl May 31, 2020
f5b72b9
Save task after parsing
diegogangl Jun 7, 2020
a235bb1
Add and remove tags dynamically
diegogangl Jun 7, 2020
cd23219
Make sure tags always have some background color
diegogangl Jun 7, 2020
b60f8ed
Separate text tags into their own module
diegogangl Jun 7, 2020
26f8582
Organize callbacks better
diegogangl Jun 7, 2020
e6687bd
Organize cursors better
diegogangl Jun 7, 2020
8f50781
Organize applied tags better
diegogangl Jun 7, 2020
ae55157
Organize better everything else
diegogangl Jun 7, 2020
36a2560
Bring back insert_tags()
diegogangl Jun 13, 2020
b54378f
Add back insert_newtask()
diegogangl Jun 14, 2020
d52c3c6
Add checkboxes to subtasks
diegogangl Jul 5, 2020
8d63bf8
Return early if buffer is empty
diegogangl Jul 23, 2020
2dbb9ea
Use ms for processed time
diegogangl Jul 23, 2020
4f17b23
Add more documentation to taskview
diegogangl Jul 24, 2020
0844166
Add refresh callback and update task title
diegogangl Jul 24, 2020
747d1f2
Add get_subtasks callback
diegogangl Aug 1, 2020
1fe5bf1
Add taglist callback to taskview
diegogangl Aug 2, 2020
aea0ce4
Left a comment in spanish lol
diegogangl Aug 6, 2020
a7bc4be
Don't include the title in get_text
diegogangl Aug 6, 2020
58c33c4
Connect serializer to new taskview
diegogangl Aug 6, 2020
3743200
Return serialized text
diegogangl Aug 6, 2020
e4ff98a
Add insert function to new taskview
diegogangl Aug 6, 2020
1e8cebe
Prevent errors when tag sidebar is hidden
diegogangl Aug 9, 2020
18d6747
Rename insert_newtask function
diegogangl Aug 9, 2020
ed3c2ea
Add function to insert an existing subtask
diegogangl Aug 9, 2020
42c4940
Fix signature for add_checkbox()
diegogangl Aug 9, 2020
4ed4aa6
Fix editor setup for new taskview
diegogangl Aug 9, 2020
376c240
Fix serializer for new tag structure
diegogangl Aug 9, 2020
db3e012
Make sure inserted subtasks can be deleted
diegogangl Aug 9, 2020
4003f6d
Use new method to insert tags in taskview
diegogangl Aug 22, 2020
63f7506
Remove old taskview
diegogangl Aug 29, 2020
62d851b
Fix subtask insertion
diegogangl Aug 29, 2020
01e83b9
Support dashes in tags
diegogangl Aug 29, 2020
f959281
Remove unnecessary backgrounds
diegogangl Sep 13, 2020
a16d4c5
Detect tags in the task title
diegogangl Sep 13, 2020
20a5991
Detect tags in subtask names
diegogangl Sep 13, 2020
8881f32
Use dark mode colors in taskview
diegogangl Sep 13, 2020
6353cc7
De/Serializer using the new format
diegogangl Sep 20, 2020
41f3aaf
Remove old serializer code
diegogangl Sep 20, 2020
d462d76
Add script to import tasks from flatpak
diegogangl Sep 20, 2020
25e51b4
Strip whitespace when looking for subtasks
diegogangl Sep 20, 2020
94a9509
Correct line offset when serializing
diegogangl Sep 20, 2020
cbf7a92
Make sure to always have a reference to the line
diegogangl Sep 20, 2020
7eecb3a
Add log to insert existing subtask
diegogangl Sep 20, 2020
8cd923d
Remove non-existing subtasks in editor
diegogangl Sep 21, 2020
af2e050
Insert subtasks if they weren't added in the text
diegogangl Sep 21, 2020
68ca697
Add a newline when insert subtasks at the end
diegogangl Sep 21, 2020
5230091
Check checkbox for tasks that are done
diegogangl Sep 25, 2020
3703029
Catch error when trying to delete subtasks
diegogangl Sep 26, 2020
3c34ab4
Remove internal links for inserted existing subs
diegogangl Sep 27, 2020
dffc851
Detect when a checkbox is deleted
diegogangl Sep 27, 2020
b40bd71
Tags in subtasks shouldn't be applied to the task
diegogangl Sep 27, 2020
483d802
Only register clicks, not drags in tags
diegogangl Oct 9, 2020
364fdc5
Close parent when entering subtask
diegogangl Oct 9, 2020
20d9891
Add basic support for subheadings in taskview
diegogangl Oct 11, 2020
80ff4d2
Fix toggling to light mode in text tags
diegogangl Oct 11, 2020
e0d6400
Delay getting task
diegogangl Oct 13, 2020
ffcea46
Fix bug when inserting tags on empty tasks
diegogangl Oct 13, 2020
4e231cb
Add test for tags regex
diegogangl Oct 14, 2020
4143436
Update content versioning tests
diegogangl Oct 14, 2020
e219518
Don't match @ in emails and such
diegogangl Oct 14, 2020
68525de
Add more tests for tag detection
diegogangl Oct 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add script to import tasks from flatpak
  • Loading branch information
diegogangl committed Oct 13, 2020
commit d462d762379c5bacd8785935599a078a7d9486d3
13 changes: 13 additions & 0 deletions scripts/import_tasks_from_flatpak.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Imports your usual tags in the debug data, so that you can
# play with your tasks without fear of destroying them
# This has to be run from the root of the repo


./scripts/debug.sh -n

mkdir -p tmp/default/xdg/data/gtg/
mkdir -p tmp/default/xdg/config/gtg/

cp -Rf ~/.var/app/org.gnome.Gtg/data/gtg/* tmp/default/xdg/data/gtg/
cp -Rf ~/.var/app/org.gnome.Gtg/config/gtg/* tmp/default/xdg/config/gtg/