hypothesis / h

Annotate with anyone, anywhere.
https://hypothes.is/
BSD 2-Clause "Simplified" License
2.94k stars 427 forks source link

Implement highlighting mode #530

Closed csillag closed 11 years ago

csillag commented 11 years ago

As described in this specification

csillag commented 11 years ago

Let's discuss this specification.

I have described my understanding of the specification, along with my questions. Since the text is long, instead of dumping it here, I have created a Google document out of it.

Please comment, either here, on at the document; confirm that my interpretation of the specs is right, and answer my question :)

JakeHartnell commented 11 years ago

I made some comments on the Google doc. Overall, your understanding is really good. There are a few clarifications in the document comments, let me know if you have further comments!

csillag commented 11 years ago

Since most of my questions have been resolved, I am moving the discussion about the remaining issues here.

Visibility

There are two things that influence how the highlights made by other users impact me:

Privacy settings of the existing highlights

As already discussed, when working in highlighting mode, highlights will be created with the visibility set to private. This means that (unless they are explicitly published by the author) other users won't see them.

This feature is not limited to highlighting mode; it works just the same with normal annotator, except that in normal mode, the default privacy settings is public.

Filtering settings of the user

Currently, if something is public, and it's on the page that I am working on, I will see it. Eventually we will want to change this; see #535 for the proposal about Social Views. Again, this feature is not limited to highlighting mode, except that we might want to turn on some social filters by default. (When it gets implemented. Probably not before V2 only.)

Question: Are these two levels of filtering enough? I think they are. That means we don't have to do any other kind of filtering that is intrinsically bound to the highlighting mode, right?

Question: Should it be possible to publish a highlight at all? I think it should be. My reasoning is the following:

csillag commented 11 years ago

Elaborating my reasoning (for not killing the ability to publish highlight-only annotations):

csillag commented 11 years ago

UI questions

Question: Should highlight-only annotations appear on the sidebar? I think they should. My reasoning is the following (will be slightly similar):

Yes, we could dream up some controls for most of these operations that can directly embedded in the pop-up menu, but I think it would be way more difficult to implement, and also needlessly redundant. That's what the sidebar is there for!

JakeHartnell commented 11 years ago

You've convinced me on the ability to publish a highlight publicly... though I'm not sure if we were communicating properly because we (Dan and I) did envision a way to share highlights (such as being able to link to them). The principle we were going for was to reduce "clutter" on the public channel. What we didn't want is a situation on a popular document where the whole thing winds up being highlighted and there are more bodiless annotations than proper annotations.

Still, I could see a few useful cases, such as in certain groups, where the ability to make public highlights would be a plus. I also like the symmetry you talked about, that annotations and highlights should be treated equally when possible. So let's give it a try and do some user testing to see what people expect/think/do.

As for whether highlights should show up in the sidebar... I have mixed thoughts. Initially, we had looked at studies by Cathy Marshall showing that people highlight MUCH MORE than they annotate (provide a comment with their selection). If we want the sidebar to be a place for discussion, having too many bodiless annotations could be a minus. That is my concern.

Perhaps a filter to show only annotations with a body?

Your thoughts?

csillag commented 11 years ago

About public highlights

I do share your concern about clutter; I just don't think that taking away features is the right answer to that. I think this should be handled by

csillag commented 11 years ago

About highlights in the sidebar

JakeHartnell commented 11 years ago

Ok, let's try it your way. Anyone else have thoughts on this?

tilgovi commented 11 years ago

:+1:

tilgovi commented 11 years ago

We could, for instance, group highlights together in the sidebar, and only show more detail about where there is more or less overlap between each user's selections after expanding the group.

csillag commented 11 years ago

Question: when highlighting mode is on, should there be a visible indicator somewhere in the app?

dwhly commented 11 years ago

Good question. I've thought that the control bar buttons could potentially serve that role. Imagine that if the highlight mode is activated and the button is locked on, then the button stays visible as selected even when the cursor rolls back off the control bar. Some nice CSS transitions could ensure that the button stays high and tight to the toolbar tab even if it's not the first in sequence.

We'd probably want the heatmap to shrink slightly in length so that it only filled the slightly shorter space then available.

Thoughts?

csillag commented 11 years ago

Clarification: it has been decided the minimal Social Views support (#535) must be part of highlighting mode, as early as V1.

csillag commented 11 years ago

About the visual indicator: for the time being, I simply styled the highlighting mode button red when the mode is on. I will leave the fancy indicator described by @dwhly to @RawKStar77.

csillag commented 11 years ago

Sub-task list:

JakeHartnell commented 11 years ago

This is what the highlight card should look like: highlightcard

Note: the highlighter icon can be found in the pull request I submitted: 570

It's css class is .hightlighter-icon

csillag commented 11 years ago

This is for the sidebar, right?

How about creating some mock-ups for highlights shown at the standalone displayer page, too? (Preferable with and without replies, and with and without tags. That would be 4 mock-ups total.)

dwhly commented 11 years ago

Since we're about to implement unified templates for things, so that there's consistency across the UI, not sure we should mock these up separately...

Based on convo on IRC-- resolved that unified templates will resolve these things. may have to hack consistent UI for now across streams, standalone, sidebar. First priority is to complete the feature, we can style later.

csillag commented 11 years ago

You can check out the new style (for the sidebar) at the usual place.

csillag commented 11 years ago

Fixed by https://github.com/hypothesis/h/commit/ddf17189fbf2d428b21fd31065a1c2d2bc6ab08b.