2015-09-25 test narrative

Configuration

h extension: 0.7.4

user: judell (in admin)

groups flag: on for admin

show_orphans flag: on for admin

test url: http://blog.jonudell.net

initial annotation count: 3

initial db state: gist

Testing show_orphans

Step 1: Create an unanchorable annotation

POST payload

{
    "target": [
        {
            "selector": [
                {
                    "exact": "to come to the aid of their country",
                    "prefix": "now is the time for all good men",
                    "type": "TextQuoteSelector",
                    "suffix": "or not, as the case may be"
                }
            ]
        }
    ],
    "tags": null,
    "text": "text of annotation",
    "uri": "http://blog.jonudell.net/",
    "user": "acct:judell@hypothes.is",
    "permissions": {
        "read": [
            "group:__world__"
        ],
        "admin": [
            "acct:judell@hypothes.is"
        ],
        "update": [
            "acct:judell@hypothes.is"
        ],
        "delete": [
            "acct:judell@hypothes.is"
        ]
    }
}

POST response

{
    "updated": "2015-09-25T21:39:07.373241+00:00",
    "group": "__world__",
    "target": [
        {
            "selector": [
                {
                    "exact": "to come to the aid of their country",
                    "prefix": "now is the time for all good men",
                    "type": "TextQuoteSelector",
                    "suffix": "or not, as the case may be"
                }
            ]
        }
    ],
    "created": "2015-09-25T21:39:07.373200+00:00",
    "text": "text of annotation",
    "tags": null,
    "uri": "http://blog.jonudell.net/",
    "user": "acct:judell@hypothes.is",
    "consumer": "00000000-0000-0000-0000-000000000000",
    "id": "buFQEXGGTNiekQYNQ7DCDw",
    "permissions": {
        "read": [
            "group:__world__"
        ],
        "admin": [
            "acct:judell@hypothes.is"
        ],
        "update": [
            "acct:judell@hypothes.is"
        ],
        "delete": [
            "acct:judell@hypothes.is"
        ]
    }
}

Step 2: Loook for annotation

Annotation count after POST: expected 4, got 3.

(https://hypothes.is/api/search?uri=http%3A%2F%2Fblog.jonudell.net -> 3, matches chrome badge)

Most recent annotation for user judell (https://hypothes.is/api/search?user=judell&limit=1):

{
    "rows": [
        {
            "updated": "2015-09-25T21:39:07.373241+00:00",
            "group": "__world__",
            "target": [
                {
                    "selector": [
                        {
                            "exact": "to come to the aid of their country",
                            "prefix": "now is the time for all good men",
                            "type": "TextQuoteSelector",
                            "suffix": "or not, as the case may be"
                        }
                    ]
                }
            ],
            "tags": null,
            "text": "text of annotation",
            "created": "2015-09-25T21:39:07.373200+00:00",
            "uri": "http://blog.jonudell.net/",
            "user": "acct:judell@hypothes.is",
            "consumer": "00000000-0000-0000-0000-000000000000",
            "id": "buFQEXGGTNiekQYNQ7DCDw",
            "permissions": {
                "admin": [
                    "acct:judell@hypothes.is"
                ],
                "read": [
                    "group:__world__"
                ],
                "update": [
                    "acct:judell@hypothes.is"
                ],
                "delete": [
                    "acct:judell@hypothes.is"
                ]
            }
        }
    ],
    "total": 1242
}

On the stream:

judell on “blog.jonudell.net” 7 minutes ago

to come to the aid of their country

text of annotation

Conclusion

Inconclusive. Capture these observations, delete the test unanchorable annotation (by way of the stream), move on to test groups.

Testing groups

Using previously created group: https://hypothes.is/groups/MEpy2d/jons-best-friends-forever

Visit test page http://blog.jonudell.net/

Select some text and begin an annotation.

Contemplate this:

judell to Jon's Best Friends Forever Jon's Best Friends Forever

but also

This annotation will be visible only to you.

vs:

judell to Jon's Best Friends Forever Only Me

Wish for a help link to explain the implications and guide the choice.

Decide to post to the group, but left wondering about the other choice. If I were to create a private annotation, what does it mean that the interface says "to Jon's Best Friends Forever"? How would I want that meaning explained to me in this context?

Save the annotation. Now 4 annotations visible in sidebar as expected. Chrome badge still says 3. API query (https://hypothes.is/api/search?uri=http%3A%2F%2Fblog.jonudell.net) says 4. Refresh page. Now Chrome badge says 4 also.

Notice that Location sort in the sidebar isn't playing nicely with the group-targeted annotation. It should appear first, does appear second.

Check the standalone annotation link for the group annotation. Will the stream filter it to just that singleton? Yes, it does.

Seeing this at the top of the stream:

Search [Jon's Best Friends Forever] (dropdown)

I'm invited to toggle the dropdown (which implies filtering) to Public. Do so. What does that mean in this context? Nothing.

Seeing this on the annotation in the stream:

judell to (link) on “Jon Udell” (blog.jonudell.net)

I'm invited to click the group link. Guessing, as a new user, that's the group's home page? Yes. so far, just this:.

Hypothes.is

This is group Jon's Best Friends Forever. You're a member of this group. You can invite other people to join this group by sending them the link to this page: https://hypothes.is/groups/MEpy2d/jons-best-friends-forever

Switching from Chrome to FF I login to the stream with regular H account (judell). Hmm. That's odd. The scope selector defaults to Jon's Best Friends Forever. Not sure why. Or what that selector is doing in this context. Toggling between Public and JBFF seems to be a no-op. I can however evidently create a new group here.

Logout from FF, login again with alternate H account. Visit https://hypothes.is/groups/MEpy2d/jons-best-friends-forever to join the group.

There’s nothing here!

Either this page doesn’t exist, or you don’t have the permissions required for viewing it.

Oh, right. My alternate account does not have that permission. Visit /admin to (temporarily) make alternate an admin. (Thanks, /admin, for making that so simple!)

Start replying, as jon_udell, to judell's annotation in the JBFF group. Notice this:

jon_udell to Jon's Best Friends Forever  Only Me

Hmm. Did I leave that sticky privacy setting on for this account in this browser? Pause to check. Apparently not. When I initiate a new annotation it targets JBFF as expected. However a reply comes up set to Only Me. Switch to Public and create the reply.

OK, some minor things to check but groups mainly behaves as expected so far. Removing jon_udell from admin and ending this narrative. To be continued.