Re: [fossil-users] Make Tech Notes work like a Lab Notebook

2018-06-14 Thread Warren Young
On Jun 14, 2018, at 7:02 PM, Scott Doctor  wrote:
> 
> Looking through my current project fossil UI, it seems that instead of adding 
> a forum module, what about a modification to the Tech Notes module.

In the past, I’ve suggested that a forum could be constructed from a 
combination of the current ticket and wiki mechanisms.  The pieces are already 
all there.

The hard parts I can see from this distance are:

1. Threading, which is strictly optional, but I wnt it.

2. Email integration, which we have many uses for once it’s available, so the 
cost amortizes.

I was going to say add “Quoting,” but it appears that Fossil’s Markdown 
processor already handles nested block quotes.  Neat!

> What I need is a way to simply link and group various tech notes, which may 
> span hundreds of notes over long periods of time.

Are you maybe viewing the future through the past’s lens?  If you’d had a forum 
feature from the start, would you have written the top-level tech notes as 
posts and the subordinate ones as replies, possibly with [links] back to the 
relevant checkin ID?

This would work like the “talk” page on MediaWikis, where the stream of ideas 
over time is visible, unlike on the main article page, where you normally only 
see the latest edition of the article.

> Need a simple way to link a tech note to one or more tickets and other tech 
> notes

Fossil’s existing artifact reference mechanism should work just fine for this.  
That’s one of the primary advantages of having this inside Fossil instead of 
integrating some third-party forum system.

The feature should also allow creation of new forum threads from checkins, etc. 
 I called it “reply to checkin” in a previous message.

> I am thinking if a problem re-surfaces in the future, a search or browse can 
> find and resurrect a thread to help with discussion and documentation about a 
> potential solution, or to simply document results of experiments.

I do this today with comments in the code, and I believe it would be less 
discoverable to have such commentary in the repository timeline instead.  (Code 
tells what, comment tells why.)

But that doesn’t argue against any of the features being discussed, just 
against this one use of the proposed features.

> Need a simple way to add links within the body of a tech note to reference 
> other tech notes and tickets referenced in the text (hyperlinks).

In both Markdown and Wiki syntax, bracket links [abcd1234] work today.

If you want explanatory text instead of a hexbarf link, you can do it in 
Markdown by [specifying the viewing verb in the URL](/info/abcd1234).  The 
equivalent in wiki syntax should be clear.

I’ll admit that that is not terribly discoverable, but I’m struggling to come 
up with a syntax that wouldn’t be ambiguous.  The closest I’ve come is 
[this]([abcd1234]) but that’s hardly discoverable.  It’d have to be documented.

> Also a simple way to add a link in the body text to specific files in the 
> repository.

That’s already available with the embedded documentation feature:

For more information, see [the source code](/doc/trunk/src/foo.c).

In some cases, you might prefer a /file URL instead.  Say “fossil help /file” 
for more info.  

If you did not know that that form of help command was even possible, say 
“fossil help --www” to be further surprised. :)

> I think a few modifications to the tech notes module would make it usable 
> like a lab notebook. I can make notes about whatever, have multiple threads 
> of unrelated issues, and be able to manipulate linkages later so that I can 
> scavenge and organize my notes when I write a paper or documentation about my 
> project. This would be along the lines of what a writer would do using 
> software such as scrivener.

That sounds a lot like a forum feature to me.  It happens to be now-you talking 
to future-you, but it’s the same mechanism.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Make Tech Notes work like a Lab Notebook

2018-06-14 Thread Scott Doctor


Looking through my current project fossil UI, it seems that 
instead of adding a forum module, what about a modification to 
the Tech Notes module. What I need is a way to simply link and 
group various tech notes, which may span hundreds of notes over 
long periods of time.


I am thinking like the way emails thread via topic. Having a 
REPLY type button on a tech note which would create a new tech 
note but that is linked to the parent note creating a tree of 
linkages that can be searched, browsed, and adjusted.


Need a simple way to link a tech note to one or more tickets and 
other tech notes (since a note may address more than one issue). 
I am thinking if a problem re-surfaces in the future, a search 
or browse can find and resurrect a thread to help with 
discussion and documentation about a potential solution, or to 
simply document results of experiments. Need a simple way to add 
links within the body of a tech note to reference other tech 
notes and tickets referenced in the text (hyperlinks). Also a 
simple way to add a link in the body text to specific files in 
the repository. This may be a data file from an experiment or 
such. When it comes time to write documentation about the 
project, all tech notes about a specific issue can then be 
searched, collected, and organized to reference when writing the 
documentation and such.


My projects involve more than just writing code (I do research). 
I think a few modifications to the tech notes module would make 
it usable like a lab notebook. I can make notes about whatever, 
have multiple threads of unrelated issues, and be able to 
manipulate linkages later so that I can scavenge and organize my 
notes when I write a paper or documentation about my project. 
This would be along the lines of what a writer would do using 
software such as scrivener.


https://www.literatureandlatte.com/scrivener/overview

My projects may go on for years  and often pivot, morph and get 
set aside and delayed for extended periods of time. My memory of 
issues from years ago tends to fade. This would help refresh my 
memory later when needed.


The concepts in Fossil are similar to what a writer would do 
when researching a book. Many items get written down, some not 
used, some set aside, some important. But at a later date it is 
necessary to collect it together and organize. Kind of like the 
old fashion index card method of writing a research paper (back 
in the stone age when cursive writing was taught in schools and 
libraries had physical card catalogs).



--

-
Scott Doctor
sc...@scottdoctor.com
-

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users