typing and sharing; viewing without attaching #125

Closed
opened 2007-08-27 12:45:22 +00:00 by zooko · 1 comment

From ticket #124:

When a user shares a file or directory, they're using an edge of their own vdrive graph to identify it, so they have some idea in mind of how they want the data (sequence of bytes) that they're sharing to be used. I see five cases: sharing just bytes (with no type information), sharing bytes + mime-type, sharing bytes + mime-type + suggested filename, sharing a directory, sharing a directory + suggested dirname.

Our current URI syntax collapses the type information into one bit: filenode or dirnode. Filenodes can be treated as a variety of mime-types, but that information is in the edge (implied by the filename).

Hm, maybe the box on the front page should accept a "sharing link", which is more than a URI, maybe a URI combined with some information about suggested filename/dirname.

I do think this is a good idea. Also going the other direction is a good idea:

Suppose I send my mom a URI (without any other associated metadata) through e-mail and she pastes it into her tahoe node. If she has to get the "file or directory" bit right, she might paste it into the wrong field. Suppose instead of two fields there is just one field -- "import shared thing from URI" -- and when she pastes it in there then it shows her the thing, whether directory or file, without attaching that thing to a namespace. The attaching-to-namespace step can be separate.

From ticket #124: > When a user shares a file or directory, they're using an edge of their own vdrive graph to identify it, so they have some idea in mind of how they want the data (sequence of bytes) that they're sharing to be used. I see five cases: sharing just bytes (with no type information), sharing bytes + mime-type, sharing bytes + mime-type + suggested filename, sharing a directory, sharing a directory + suggested dirname. > Our current URI syntax collapses the type information into one bit: filenode or dirnode. Filenodes can be treated as a variety of mime-types, but that information is in the edge (implied by the filename). > Hm, maybe the box on the front page should accept a "sharing link", which is more than a URI, maybe a URI combined with some information about suggested filename/dirname. I do think this is a good idea. Also going the other direction is a good idea: Suppose I send my mom a URI (without any other associated metadata) through e-mail and she pastes it into her tahoe node. If she has to get the "file or directory" bit right, she might paste it into the wrong field. Suppose instead of two fields there is just one field -- "import shared thing from URI" -- and when she pastes it in there then it shows her the thing, whether directory or file, without attaching that thing to a namespace. The attaching-to-namespace step can be separate.
zooko added the
unknown
minor
enhancement
0.5.1
labels 2007-08-27 12:45:22 +00:00
zooko added this to the eventually milestone 2007-08-27 12:45:22 +00:00
zooko added
0.6.0
and removed
0.5.1
labels 2007-09-25 04:38:13 +00:00
zooko added
code-frontend
and removed
unknown
labels 2007-12-04 21:38:28 +00:00
warner modified the milestone from eventually to undecided 2008-06-01 21:14:05 +00:00
Author

This has been fixed. Thanks, Brian!

This has been fixed. Thanks, Brian!
zooko added the
fixed
label 2008-06-20 16:44:41 +00:00
zooko closed this issue 2008-06-20 16:44:41 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#125
No description provided.