LibraryView (testing, ideas, and feedback needed)

Love that Library View is getting some attention - can’t wait.

I downloaded the LibraryView app, and I love its simplicity. But my personal use-case for a library view would be heavily dependent on a quality search feature. I would love something like notational velocity’s search, although I don’t care for NV’s style of file naming.

I have a big directory of 500+ text files that I use for notes, “worklog”-style memos, etc. I have an AppleScript app that generates a new file with a guid name and opens it in FoldingText. I frequently just sort that directory by modification date or grep thru it to find particular notes.

I also use a FT tag @quick combined with a dumb perl script that creates symlinks for files that have that tag - e.g. if a file HKGBP0UQTZQSP6K9FZYG.ft has @quick(shell-reference) anywhere in it, the perl script will create a symlink in my ‘quick’ directory shell-reference.ft pointing to HKGBP0UQTZQSP6K9FZYG.ft. For me this is much nicer than renaming a file or having to worry about filenames which adds friction to jotting something down. If something turns into a a “living”/“working” file I can easily add @quick(xyz), and I can simply remove that tag when the contents aren’t relvant daily; the content is still in the note but the symlink gets removed.

I mention this in case it sparks a useful idea. My dream “library view” would quickly let me create a new file in my “library” directory, would let me quickly search through all items (without having to use the mouse), and would let me be able to quickly identify and open tagged items in a fashion similar to @quick above.

My usage of FT could be pretty specialized and nerdy, though, so I won’t be upset if it turns out different :slight_smile:

Looking forward to keeping track of this feature.

Jesse,

I can already tell I love the Library idea. I can see why the one fellow is suggesting the look of the Ulysses view. It is like a centralized DB to which you create folders, groups and sheets or files. I find this a very logical format and set things up by month and year. Moving sheets from one place to another is simple.

Your library is right on in terms of what you’re trying to do. I think from a use perspective the more things between apps are consistent the easier it is to get onto them. You mentioned you can’t relate to the Ulysses view. It is really straightforward and extremely flexible. I think it is exactly what you are trying to accomplish.

Personally, I love the idea of a shared library as it is like a centralized DB that takes you to whatever you’ve done instead of scanning the disk trying to figure out where you’ve found something. So the idea is great: the only thing I see as open would be the most effective way to implement the library fro a design perspective.

Kerry

Maybe disregard the preference feature and just make it extensible when the feature is added to Taskpaper / Folding Text. That way it stays lightweight and performs well.

I just modified the date plugin example for Folding Text. It was pretty easy to do because it is javascript.

I really like this implementation and I don’t think that aping after Ulysses’ style is a good idea. That model is implemented so well there already there is no need to replicate it in my opinion. For me, the possibilities for LibraryView will have the greatest benefit for FoldingText, as I have many more files in that app (even though I use TaskPaper more frequently because it’s my sole task manager).

I store my FT files in dropbox and index them in DevonTHINK and it would be nice to continue to do this. To view them in an open FT document (or TP) without having to keep a DT window open is definitely an advantage. My only reservation is that I still trust dropbox a bit more for important documents.

I also think it would be nice to separate todos and calculations into different FT docs, and then switch between the main draft and these supporting docs as required, instead of including all the information in one place.

Please note that the library view isn’t restricted to iCloud … that’s just the default location. You can drag and drop any folder (such as your Dropbox folder) onto this test app and have it open as a library view.

Ah great, I understand. I’ll give it a try with some dropbox folders. I think there’s definitely a case for this method of presentation for users who prefer a file/library system over a database. I use both approaches for different modes of writing i.e. FT (TP) for technical writing where the files can end up anywhere (converted via pandoc/ marked.app) and are often shared/ uploaded etc. and Ulysses for fiction when I’m writing for an audience of one :wink:

Looking forward to it’s implementation into FT and TP!

I’m thinking about a “Go to File” palette (like “Go to Project”, “Go to Tag”, etc.) that would be populated with the files on the Library. Is this what you are planning to implement @jessegrosjean?

1 Like

Wow @jessegrosjean , thank you for all this great work. I think that one of the things that some of the users would appreciate is the ability to use some of this through scripts. This is what I mean.

  1. Return a list of all the files and their locations opened by the Library view. Also, 2, be able to run queries on a list of file names.
    I am imagining that this would it make it easy (easier) to do global searches on Scripts. To see where the results come from, there could be a function that adds the file name as the root element and then it appends the results from the query.
    (Maybe later in the future)Those “global” queries may be written in any file using a special tag like @searchall(), although I am not a very creative person coming up with tagnames. But I am sure that having a file (Nothing special with the file, just the searches saved there) with just a bunch of queries that return results from all files opened in the Library when a global query is run would be super useful and follow your vision for TaskPaper.
    Later, TaskPaper could also just add a Search all open projects to the menu and like most UIs that do something similar, have that option when one clicks on the little magnifying glass in the UI.

  2. Smart Folders.
    I understand that adding something like Ulysses is not where you want to go, but since Finder has Smart Folders as fas as I can remember, could this be something that could be added? Instead of a complicated mechanism to create the queries, again, one could use the Syntax TaskPaper already uses. Put a query and if any file opened in the library has a result, just list the files inside the “smart folder” like structure. The smart folder would also show you the query when clicked. Just like what we have right now; but instead of showing nothing when a folder is clicked, when you have a “smart” folder, you can see, edit, or type a new query.
    And even if you think this idea is kind of too complicated to implement in your UI tree view, if the core functions to do this are in place, this would be super useful. Think of a scenario like,

A. Give me a list of the file names opened in the library that have hits for query X.
B. Using that list of files, run query Y on those files and show the results.

Honestly, I think that most of the power you have baked in your engine to do complicated queries and paths is lost to most users because once you start to compound things, it gets very complicated to most people. I have spent quite a bit of time getting used to them, but if I could do something like,

A. Run a query.
B. Run another Query on those results.

Your program, which I think is already amazing and super powerful, would become even more amazing and powerful to a greater percentage of people.

Even if none of my recommendations are taken, let me tell you thank you for all it has been done already.

Cheers!

The zoom for font size will be active later?

2017-01-15: You will not be able to show files if Default Folder X is active.

What would really be great for a filter would be to be able to return all tagged lines from all searched files with a few lines of context.

With a few other features (or maybe as a parallel product) this could become a reasonably priced alternative to qualitative data analysis (QDA) software costing $500-1000. 90% of what people do in these packages is paragraph-level coding (of interview transcripts etc.) & a program which could filter multiple text files by tag/code would cover that.

Fantastic development Jesse thanks!

One thing I haven’t seen mentioned and would intrigue me to see:

Open file by application association (in lieu of double-click taken, perhaps CMD+SHIFT+E). For instance (and just follows the Finder’s set app associations):

  • Taskpaper (Taskpaper)
  • Markdown (Folding Text).

This would replicate the one unified Text folder I currently sync in Dropbox, but potentially eliminate the step of starting in NVAlt first then jumping off to preferred editor (which is cool in of itself but obviously more friction).

Digression (but pretty excited about this): I was using Keyboard Maestro shortcuts for a while to quickly achieve this, but lately I’ve switched to custom Touchbar buttons assigned using BetterTouchTool:

After ESC you can see icons for Edit With…Folding Text|TaskPaper|Ulysses

I’ve just posted a new top for a new version of LibraryView that addresses many of the suggestions posted here. Please try it out!

1 Like

Thanks for all the good scripting ideas. I agree with most all of them, but am not yet in a position to implement scripting at this point. That will be after I integrate with TaskPaper. Might not happen with first integrating, but keep at me!

I generally like the idea but…why separate app? A bit cumbersome. Wouldn’t it be better to desing Library View as component/module that you could later include in every codebase in your apps?

As Jesse noted in the first post on this thread:

1 Like

Huzzah! This is great. I love the option to show folders on top and ways to organize the library.

The only thing I’ve noticed so far is the keyboard shortcuts for moving between tabs aren’t working for me. If I go through the menu bar, I can switch between tabs, but not with the keyboard.

Thanks!

Odd, they seem to work OK for me. You are talking about the new system tabbed windows? For me ControlTab works to switch between tabs.

… I can read keyboard symbols correctly, I really can. :space_invader: File this one under user error!

2 Likes

Any progress / roadmap here?

The library view is integrated into the in progress WriteRoom 4. Will see light of day eventually!

3 Likes