repeating events drown out others in edit
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
I'm trying to find and edit an event from 2016 that is choking vdirsyncer but when I try to search for it, my searches all get drowned out by repeating events. The event text is "NB move Oliver's car" -- when I search for "Oliver" I get infinite instances of the yearly event, "Oliver's birthday"; if I search for "NB" I get a couple events that don't (to my knowledge) include "NB" at all, but they're all weekly repeating events with no end set, so they just keep coming up and the search is clearly moving forward (not back) in time.
There doesn't seem to be a way to search by date. It seems like there should be a way to narrow my edit search. Either I want to edit an older (or future) instance of the event, or the event I'm looking for isn't part of this repeating series.
So this is a feature request: I'd like a way to narrow my search in khal edit.
amanda@mona:~$ khal edit NB
21-Jun-2018 10:15-21-Jun-2018 10:20 Stand Up ⟳ :: <ul><li dir="ltr"><pdir="ltr"><span>What did you do yesterday</span></p></li><li dir="ltr"><pdir="ltr"><span>What are you going to do today</span></p></li><li dir="ltr"><pdir="ltr"><span>Are there any impediments</span></p></li><li dir="ltr"><pdir="ltr"><span>Will you be here tomorrow? </span></p></li></ul><p>tel{redacted}<br></p>
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
22-Jun-2018 09:00-22-Jun-2018 10:00 Rhythm and Motion ⟳
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
22-Jun-2018 10:15-22-Jun-2018 10:20 Stand Up ⟳ :: <ul><li dir="ltr"><pdir="ltr"><span>What did you do yesterday</span></p></li><li dir="ltr"><pdir="ltr"><span>What are you going to do today</span></p></li><li dir="ltr"><pdir="ltr"><span>Are there any impediments</span></p></li><li dir="ltr"><pdir="ltr"><span>Will you be here tomorrow? </span></p></li></ul><p>tel{redacted}<br></p>
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
24-Jun-2018 10:00-24-Jun-2018 11:00 Rhythm and Motion ⟳
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
25-Jun-2018 10:15-25-Jun-2018 10:20 Stand Up ⟳ :: <ul><li dir="ltr"><pdir="ltr"><span>What did you do yesterday</span></p></li><li dir="ltr"><pdir="ltr"><span>What are you going to do today</span></p></li><li dir="ltr"><pdir="ltr"><span>Are there any impediments</span></p></li><li dir="ltr"><pdir="ltr"><span>Will you be here tomorrow? </span></p></li></ul><p>tel{redacted}<br></p>
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
26-Jun-2018 09:00-26-Jun-2018 10:00 Rhythm and Motion ⟳
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
26-Jun-2018 10:15-26-Jun-2018 10:20 Stand Up ⟳ :: <ul><li dir="ltr"><pdir="ltr"><span>What did you do yesterday</span></p></li><li dir="ltr"><pdir="ltr"><span>What are you going to do today</span></p></li><li dir="ltr"><pdir="ltr"><span>Are there any impediments</span></p></li><li dir="ltr"><pdir="ltr"><span>Will you be here tomorrow? </span></p></li></ul><p>tel{redacted}<br></p>
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
27-Jun-2018 10:15-27-Jun-2018 10:20 Stand Up ⟳ :: <ul><li dir="ltr"><pdir="ltr"><span>What did you do yesterday</span></p></li><li dir="ltr"><pdir="ltr"><span>What are you going to do today</span></p></li><li dir="ltr"><pdir="ltr"><span>Are there any impediments</span></p></li><li dir="ltr"><pdir="ltr"><span>Will you be here tomorrow? </span></p></li></ul><p>tel{redacted}<br></p>
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete: n
28-Jun-2018 10:15-28-Jun-2018 10:20 Stand Up ⟳ :: <ul><li dir="ltr"><pdir="ltr"><span>What did you do yesterday</span></p></li><li dir="ltr"><pdir="ltr"><span>What are you going to do today</span></p></li><li dir="ltr"><pdir="ltr"><span>Are there any impediments</span></p></li><li dir="ltr"><pdir="ltr"><span>Will you be here tomorrow? </span></p></li></ul><p>tel{redacted}<br></p>
Edit? [n]o [q]uit [s]ummary [d]escription da[t]etime range re[p]eat
[l]ocation [c]ategories [a]larm [D]elete:
(The HTML is also annoying but that's gcal and 🤷♀️ )
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the khal edit command and reproduce the reported khal edit NB search, focusing on how recurring events are expanded and presented. Define and test a way to narrow results to a requested date or historical/future instance, with completion shown by finding and editing the intended event without recurring results drowning it out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100