I will try to implement this, seems relatively straightforward despite my meager android knowledge.
I will try to implement this, seems relatively straightforward
Thanks!
Just note there can be multiple timestamps per note anywhere in the content, which would need to be parsed and stored in a new table and linked to notes. Which also answers original question - that's the reason why this hasn't been implemented right from the start - it's more complex then scheduled and deadline times.
Yeah you are right, I have been having more trouble with this than I initially expected.
One question, do you want the timestamps in the ui to show up only when it senses one present, or do you want an "add timestamp" button at all times?
One question, do you want the timestamps in the ui to show up only when it senses one present, or do you want an "add timestamp" button at all times?
So considering that:
I think there are two parts of implementing full support for plain timestamps:
note_id).First one is I think much more important and will allow searching, showing notes in agenda, reminders, etc. And UI part would be pretty convenient (well, more then convenient, since typing org timestamp is a PITA).
Anyway, that was my plan and how I'd go for it. Perhaps there's a better one, or we can support only one plain timestamp per note, though I don't think that's a good idea.
It's a decent amount of work, but can be done step at the time. And it's not really complicated as it might sound. First part is probably enough to consider plain timestamps supported (at least I would).
If you're still up for it, which would be great, feel free to ask about anything.
There are already pieces of code in Orgzly which do similar things. For example, looking for timestamp reminds of searching for #+TITLE: in book's preface after it's changed. Storing multiple timestamps per note in DB is similar to storing multiple properties per note. And the only problem with the toolbar that comes to mind is inserting value from the dialog to EditText at the cursor position from which dialog is called (might be trivial, I just haven't done anything like that).
What do you think of having this in the long-press "right-click" menu in the note editor, instead of creating an ever-present toolbar?
What do you think of having this in the long-press "right-click" menu in the note editor, instead of creating an ever-present toolbar?
I think we'd still want a tool bar for other stuff, like bolding, lists, etc.
Personally I'm not a fan of long-click in general - I find it slow. But it might make more sense for inserting new content.
However, if we have a toolbar, it might be better to keep all actions you can perform visible in it and in one place. Though we could still keep a subset of actions in long-click pop-up, similar to swipe menu now.
@tkamat, any news on that? Do you need help?
@tkamat and @fresheed: this issue is really keeping me from using Orgzly more seriously, and it seems to be important for a lot of other feature requests, so if there's any way I can help, let me know! (I am a heavy Org mode user but unfortunately, I have no Android development experience. Happy to learn something if it would help, though!)
@wyleyr , it turned out that I even didn't start to work on this and I suspect that tkamat neither. So this issue can become yours : ]
As nevenz stated, most important part is to parse all timestamps in file and save them in database. IIRC, it doesn't require lots of Android coding, mainly plain Java. I think that implementation of this part is enough for initial release - we'll be able to use existing timestamps in files for reminders etc. UI for timestamps insertion can be added later.
Also @nevenz, maybe this issue is already being implemented?
Like @wyleyr, I want to see this implemented in order to use Orgzly as portable agenda. I have modified the parser to collect all timestamps (see orgzly/org-java#7), but I'm not quite sure where and how to use put these parsed timestamps in the DB. I have no Android development experience either, but I managed to build both projects, deploy on a simulator, and run the tests. Any pointers would be appreciated.
They would probably go to org_ranges and a new join table would have to be created (note_org_ranges or note_content_times or similar).
First data insert would be in Provider#loadBookFromReader, but since modifying content can add new timestamps, NoteFragment would have to parse the content too when it's changed.
And there's cleanup to do on note or book deletion.
Ask away, when you get to look around for these. Thanks!
I'm not sure what should be done for items that have multiple active timestamps, but I think that at least an entry with a single active timestamp should be available for display in the agenda. Very happy to see some movement on this one as I'm switching over to org-mode for everything, and plain timestamps (active) seem to be the recommended way of storing a simple appointment.
As just a user I'd be thrilled with anything that is compatible with how orgmode defines a 1 time scheduled item, like a meeting, which is just a plain timestamp. I'd be willing/happy to put the timestamp in the heading, in a custom field (orgmode will pick it up) or any other non standard thing that orgmode in emacs can pick up. Due to some other oddities, even items that repeat M-F I have 5 separate entries for. I can live with 1 timestamp per item. Thanks for a great tool!
Is there any news on this? It seems like a really important feature to be able to fully use orgzly with org-mode!
The fact that there's this pretty big divide in how they represent time for events is quite problematic! This is one of the biggest hurdles when using orgzly for me.
+1
its also important to me since i solely use timestamp for meetings
best
Z
There's a big database usage rewrite in progress (switching to RoomDatabase, removing Cursor usage, etc.). So I've been avoiding working on any database-heavy features. I'll be focusing on most requested features after that, this one included.
This is an essential feature for me as I use timestamps almost exclusively over scheduling!
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__This issue now has a funding of 50.0 DAI (50.0 USD @ $1.0/DAI) attached to it.__
@PEPEInvest Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@pepeinvest Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@pepeinvest Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
@gitcoinbot Bad bot. Please quit spamming this issue discussion.
@gitcoinbot Bad bot. Please quit spamming this issue discussion.
:) Well, actually he is useful. I am interesting in information about this gitcoin task info.
This is an essential feature for me as I use timestamps almost exclusively.
I use other note app too, and requested them this feature. I think this feature is not trivial to implement. They implemented it fast. I hope I can have this too in orgzly.
What is the latest status of this issue ?
@nevenz man, it seems that here are a lot of 3-rd party fetrure requests. The most useless, IMHO is "add ability to sync by...", guys, are you really geeks? You can sync your .org file by other apps. You have to prioritize all the tasks. Not every feature request is really important.
@zervankoru Agreed that syncing can be handled by other means, but what does that have to do with orgzly supporting plain timestamps?
I think they are just throwing shade at other issues being higher in the cue like adding support for 3rd party services.
I wish there was something I could do to help this along though, I want to use org/orgzly to organize my life on the go but without plain timestamp support in orgzly I am kinda dead in the water.
@brownstyler As plain timestamps is the core thing of ORG it is the most important feature. I can't understand, why SHELDUTED and DEADLINE properties were added firstly.
@zervankoru Your question has been answered in https://github.com/orgzly/orgzly-android/issues/76#issuecomment-301974045
That said, I've recently noticed I was using SCHEDULED all wrong and switched to plain timestamps, and now orgzly is borken for me, so I'd love to have this too!
Six months ago nevenz commented: https://github.com/orgzly/orgzly-android/issues/76#issuecomment-417869046
Is this issue still stalled on the database restructuring?
Six months ago nevenz commented: #76 (comment)
Is this issue still stalled on the database restructuring?
That would be v1.7, which is almost out, currently in beta. I do plan to get back to this soon.
Toolbar above keyboard with a button for inserting timestamps quickly to be done in #108.
Any docs on how to add plain time stamp without "Toolbar above keyboard with a button".
can't find in docs, explored UI but still can't figure it out.
Thanks.
@azzamsa: You have to type it. It's a standard Org mode timestamp (e.g. <2019-03-16 12:00>) which you can put anywhere in note's title or content.
Great thanks. :)
Thank you everyone who worked on this, this is HUGE for me!
Is this working with latest release? I've tried e.eq.3d or even e.le.now or e.ge.now but it looks like nothing is getting out of it. Orgzly is claiming v1.7 from f-droid, which AFAICT is the latest version, though?
Maybe it doesn't support recurring plain timestamps yet? (Edit: it looks like it doesn't work for regular plain timestamps either, actually: I've just created a “test” note with as contents <2019-03-16> and it doesn't appear in a e.eq.now search)
Is this working with latest release?
@Ekleog It's implemented in v1.7.1, I don't know why F-Droid hasn't picked it up yet.
@nevenz Oh OK so that's why, thank you! :) Actually I've been pointed to the fact it is in F-Droid, it's just not yet on the web site, which made me not notice it :)
However, I just upgraded, and tried creating a new notebook, adding a test note with as contents just <2019-03-16> (also tried with <2019-03-16 12:00> and <2019-03-16 Sat>) and searching for e.eq.now, and it's not returning anything… I guess I'm missing something?
@Ekleog You'll never want to use eq.now, it's millisecond precision trying to match the exact time. now is really only useful with gt and lt for example.
Try e.eq.today, e.le.now, e.ge.-1d e.le.tomorrow or similar.
Oh indeed, thank you! I've just opened https://github.com/orgzly/orgzly-android/issues/497 for recurrent timestamp support :)
Just found this from googling. Looks like the time and duration details are not implemented for this on the widget? They are showing within the app though.
Looks like the time and duration details are not implemented for this on the widget? They are showing within the app though.
Ah true. It will be fixed in the next version, thanks.
I stil don't understand, how to use this feature. Then I create new note, there are still only shelduted and deadline. I can't set simple timestamp.
I stil don't understand, how to use this feature. Then I create new note, there are still only shelduted and deadline. I can't set simple timestamp.
There is still no UI for inserting or editing them. You have to actually type them in note's title or content. For example <2019-04-04 12:00>.
@nevenz I just noticed that this was completed, thanks so much! I had a $50 gitcoin bounty on this, which was taken up a few times but nothing came of it. I just removed them since they weren't contributing anything: do you want to mark that you contributed this feature here and claim your $50? 😄
I just noticed that this was completed, thanks so much! I had a $50 gitcoin bounty on this, which was taken up a few times but nothing came of it. I just removed them since they weren't contributing anything: do you want to mark that you contributed this feature here and claim your $50?
Heh, it's OK, thanks for trying to motivate others. 😄
@nevenz This is my first gitcoin bounty, it would make me happy to see it in action? Please?
This is my first gitcoin bounty, it would make me happy to see it in action? Please?
@livnev There's also Orgzly LLC and I have yet to figure our all the legal stuff, before starting to accept in-app purchases for example. So I don't know how would this fit into the picture. It's probably fine, but I don't want to assume anything.
@nevenz OK, understood. Do let me know in the future if you become open to Gitcoin bounties on this project. 😃
Issue Status: 1. Open 2. Cancelled
__The funding of 50.0 DAI (50.0 USD @ $1.0/DAI) attached to this issue has been cancelled by the bounty submitter__
Interestingly, 195da30 doesn't seem to fix the widget issue for me in the latest app 1.7.3.
Interestingly, 195da30 doesn't seem to fix the widget issue for me in the latest app 1.7.3.
It wasn't included in that version, it will be in v1.7.4.
Btw, until there's a dedicated GUI for this, you can use texpand to expand e.g. the letters tms to the current timestamp.
Most helpful comment
There's a big database usage rewrite in progress (switching to RoomDatabase, removing Cursor usage, etc.). So I've been avoiding working on any database-heavy features. I'll be focusing on most requested features after that, this one included.