Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Outliner with drag/drop reordering - part 2
-
@ihf you're right, it is not the right solution. Sincerely, is selecting an outline file so heavy? I had also thought to cookies but not sure it could help. I'am open to any feasible solution.
Perhaps I could store the last outline file as a local cookie but if you modify the file.....
But you may have max 20 x 4K bytes of cookies per site -
@cvp I set a due date on a line in my outline and then viewed the outline with the .html. The due date showed up but was associated with a different line (the 1st line). The dates are sorted in descending order. Also, I modified another line and the modification shows in the viewer but the update date is from a couple of days ago (probably when it was created).
-
@ihf bugs will end when I'll stop to write code 😭
Could you check dates if no sort?
-
@cvp WIth Sort=none, the dates are correctly associated with their items.
-
@ihf new V00.04 of outline_viewer.html should correct this problem of erroneously associated items after a sort
-
@cvp Thanks! That works well.
-
@ihf sorry for all these bugs...
Anyway, That does not solve your request and I don't see a way to access an iCloud file without any user interaction. The only way I see is to copy the outline on your web server, perhaps encrypted, or password protected.
-
@cvp It's fine. I naively thought that the .html could bypass file selection and just "pre-select" an iCloud file (outline). That way I could just have multiple .html files, each with the name of the outline that it opened. The current.html file requires a couple more clicks but otherwise does exactly what I wanted.
-
@ihf if you want something new, don't hesitate.
Next week, I will continue converting outline.py from TableView to scrollView
-
@cvp FWIW, I really miss the undo/redo (probably because I make too many errors:-). Unrelated question, how do I add an item at the top of an outline when editing? What I do now is add elsewhere and drag it to the top. Is there a better way?
-
@cvp I thought this problem was resolved but I just opened an outline (it has about 20 lines) on my iPad in Landscape mode and when I position the cursor at the end of the last line, the keyboard appears and covers half the screen (including the cursor location).
-
- undo/redo: sorry but nothing promised before months
- add item at top of outline: no other way actually, see at bottom of this post
- keyboard hides last line problem: I also thought it was solved, no idea why no more ok, ios15?
PS
don't hope anything in December
, this modif exceptedV01.25 and outline.versions with
Version V01.25 - add new option 'add before' in the popup menu to add a new row before the selected one, even at top of outline file
-
@ihf If you imagine another way to add a line at begin of file, tell me
-
@cvp My first instinct was to place the cursor in front of the first character on the first line and hit return. however, that adds a blank line to the item (which is good), so I think the menu item is fine.
-
@cvp I know it is possible to hide or (only show) checked items but is there a way to sort on the completed check box? (i.e., to place the completed items at the end (or beginning)? I almost get this when I view the ended date and do a descending sort but that reorders the rest of the outline in descending order for some reason.
-
@ihf said:
when I view the ended date and do a descending sort but that reorders the rest of the outline in descending order for some reason
V01.26 and outline.versions with
Version V01.26 - correction of bug "sorting on a date should not sort items without this date (fi: due date, end date)"
With this correction, do you still want a sort on the completed check box?
-
@cvp That works although it is multiple steps and the dates must be shown to do it. I’d say its not terribly important but a pure sort on the checkbox is what i envisioned . More important: I just noticed that there is a bug when you view the dates and you have items with multiple lines. The second line of an item becomes part of the next line. I can send an image if it would help.
-
@ihf said:
More important: I just noticed that there is a bug when you view the dates and you have items with multiple lines. The second line of an item becomes part of the next line. I can send an image if it would help.
You already got this error and you posted "If my outline is collapsed and I select view by completion date, and then select sort button to change to sort down, the display gets messed up in that lines are overlapping.".
I know that problem comes from computing TableView row's height which does not take in account that rows are sorted and I wanted to let this problem for the future version without TableView, and check if the problem still occurs.Edit : I just tested with my new ScrollView version (still in development) and problem should disappear
-
@cvp oops, sorry about that. I guess I am dropping bits…so to speak 😕
-
@ihf No problem.
Suppose I can develop the sort on the completed check box witHout date, how do you imagine to ask that? I would like to not be obliged to add a sort button like 🔢.
I could add some options in the eye menu or in the popup menu.