News for hackers. Stuff that matters.
Re:Org-mode on web, built with React, for mobile, synced wit... by DanielDe on Friday July 19, 2019 @11:18AM (#20479322)
Hey all, I’m the author of org-web. It was pretty cool to wake up this morning and see this on the front page (thanks moioci!). If you’re interested in taking org-web for a spin you can try it here: https://org-web.org/

There’s a sample file you can play around with there if you’re not ready to link to a sync backend yet.

Happy to answer any questions!

Re:Org-mode on web, built with React, for mobile, synced wit... by earth_walker on Friday July 19, 2019 @12:56PM (#20480365)
This is so great, thank you Daniel. This changes everything.

Next up, org-web-agenda?

Edit: Already a feature. I love it.

Re:Org-mode on web, built with React, for mobile, synced wit... by DanielDe on Friday July 19, 2019 @04:59PM (#20482395)
:)
Re:Org-mode on web, built with React, for mobile, synced wit... by baruchel on Friday July 19, 2019 @05:40PM (#20482684)
Maybe syncing with documents hosted on private github/gitlab repositories?
Re:Org-mode on web, built with React, for mobile, synced wit... by subbu on Saturday July 20, 2019 @01:05AM (#20484278)
I have been on the fence for using Redux in a large-scale project and I am still not convinced about its usefulness. I feel its too much code for too little gain. You have listed it as one of the tools you have used in org-web. Does it add value?
Re:Org-mode on web, built with React, for mobile, synced wit... by DanielDe on Saturday July 20, 2019 @09:35PM (#20489414)
The short answer is yes it added value, but I wouldn't use it if I started on org-web today. Largely this is because of the new hooks API in React (particularly useReducer).

Redux also helped me grow a lot as an engineer. I'm sure the concepts that it builds on aren't new, but they were new to me when I first started using Redux and I now spend a lot of time thinking the way Redux taught (or forced) me to think.

Re:Org-mode on web, built with React, for mobile, synced wit... by subbu on Sunday July 21, 2019 @03:21AM (#20490328)
Thanks. That helps. Looks like you can build a middleware using hooks alone. I found a good video from a React guru: https://www.youtube.com/watch?v=nUzLlHFVXx0. He builds a few Redux concepts in the video.
Re:Org-mode on web, built with React, for mobile, synced wit... by throwanem on Friday July 19, 2019 @11:22AM (#20479351)
This is awesome!

FYI, it looks like the add/delete row/column buttons have their targets reversed? The button whose icon suggests "add row" adds a column, etc.

Re:Org-mode on web, built with React, for mobile, synced wit... by DanielDe on Friday July 19, 2019 @11:37AM (#20479504)
Ah that’s just a confusing icon choice on my part. I think a more custom icon could solve this problem nicely, but I did my best to stick with what Font Awesome had available. Certainly worth improving, though - thanks for the feedback!
Re:Org-mode on web, built with React, for mobile, synced wit... by serpentines on Friday July 19, 2019 @01:11PM (#20480516)
I'm unable to login through the Google Drive link on mobile, seems the image loads butbit doesn't click through (i.e. clicking on the image does nothing).

Tried this in Firefox (with and without uMatrix and/or UBO) and Firefox Klar and Google Chrome (with JavaScript enabled).

Re:Org-mode on web, built with React, for mobile, synced wit... by DanielDe on Friday July 19, 2019 @03:21PM (#20481660)
Ah bummer, something must've broken. I'll try to check that out tonight! Thanks for the report!
Re:Org-mode on web, built with React, for mobile, synced wit... by KC8ZKF on Friday July 19, 2019 @08:42PM (#20483530)
Thanks. I’ll be trying this real soon now.

In the meantime, does the agenda view include something like org-agenda-files or just the visited file?

Re:Org-mode on web, built with React, for mobile, synced wit... by DanielDe on Saturday July 20, 2019 @09:36PM (#20489417)
Currently its just the visited file, which is mostly a product of how I use org-mode - I've got one monolithic org file instead of multiple files. But adding support for multiple files is something I'd eventually like to tackle.
Re:Org-mode on web, built with React, for mobile, synced wit... by SimeVidas on Friday July 19, 2019 @07:29PM (#20483268)
What are org files?
Re:Org-mode on web, built with React, for mobile, synced wit... by rgoulter on Saturday July 20, 2019 @03:42AM (#20484625)
Plaintext files in the format for a popular Emacs plugin called Org Mode.

"Org" as in "organise". Org-Mode has a rich set of features for organising tasks/notes.

Re:Org-mode on web, built with React, for mobile, synced wit... by mrspeaker on Friday July 19, 2019 @08:56PM (#20483574)
Unfortunately, no one can be told wha Org files are. You have to discover them for yourself.
Re:Org-mode on web, built with React, for mobile, synced wit... by wernercd on Friday July 19, 2019 @09:14PM (#20483624)
The first rule of Org Files... is don't talk about Org Files?