hypothesis / product-backlog

Where new feature ideas and current bugs for the Hypothesis product live
118 stars 7 forks source link

Allow document titles to be updated somehow #127

Open seanh opened 7 years ago

seanh commented 7 years ago

Feature request from a user: https://hypothesis.zendesk.com/agent/tickets/857

When people annotate a document in Hypothesis the title of that document (shown in activity pages etc) is whatever title the client extracted from that document the first time anyone annotated the document. If the author of the document changes the title, say from a temporary title to the final one, the title will never be updated in Hypothesis.

Instead of always sticking to the first title that we ever saw for a document, we could instead use the latest title that we've seen for that document. That might fill this particular user's need, although after the author has changed the title of a document someone needs to create a new annotation of that document in order to trigger the document's title to be updated in Hypothesis. The downside is that it might be confusing if the titles of documents change on activity pages.

Alternatively we could allow users to edit the title of a document in Hypothesis, but then which users should be allowed to edit which document titles?

Group admins could be allowed to edit the titles of documents in their groups, and those new titles would only be shown when the document is viewed in that group and not when the same document is seen in public or in another group. But this gets complicated to implement and potentially confusing to users (the same document having different titles on different Hypothesis pages).


Implementation notes:

Doing some quick testing if the title of an annotated document changes and then someone makes a new annotation of the document then we do store the new title in the document_meta table in the database, and in fact we overwrite the old title and no longer have it in the document_meta table. But on activity pages it is somehow still the old title that is shown.

I think this must be because the document's title is also denormalised into the document table in the db, and we don't update that denormalized copy when the title changes.

shalabhc commented 6 years ago

The ability to customize the title would be very useful. For instance, many PDFs do not have good metadata and we end up with meaningless titles like "ngc98.pdf" (https://hypothes.is/a/_8XCnOHJEeeAXlc1u38s-A). The problem extends to web pages too - titles may be unclear.

It would be great if the displayed title is customizable and user specific (i.e. similar to annotations and highlights, could be private). An example workflow could be:

  1. User highlights some text in a document and saves the highlight
  2. User adds the 'title' tag to the saved highlight
  3. In subsequent searches, whenever the document returned, the highlighted text is displayed as the title, instead of the original title. Alternatively, a page note could be similarly promotable to a title.

In the end I just want to be able to customize the titles so that all search results are meaningful and I don't have to click on each to see what the document was about.

klemay commented 6 years ago

Education user who would like to change the titles of documents on activity pages: https://hypothesis.zendesk.com/agent/tickets/2167

klemay commented 6 years ago

User requests:

Another use case: https://hypothesis.zendesk.com/agent/tickets/3076 This user had the Canvas app set up in her course site. She added files using the Google Drive picker, and annotated with her students. Later, she adjusted the privacy setting of the PDFs in Google Drive, which meant links from activity pages no longer worked.

I instructed her to adjust the privacy settings of the PDFs, which and now she and her students can follow links from activity pages to all new annotations on those documents, but none of the "Visit annotation in context" links for previous annotations work.

klemay commented 5 years ago

came up again: https://hypothesis.zendesk.com/agent/tickets/3200

mkdir-washington-edu commented 4 years ago

Additional requests: https://hypothesis.zendesk.com/agent/tickets/6235 https://hypothesis.zendesk.com/agent/tickets/7321 https://groups.google.com/g/hypothesis-forum/c/jCJQM_KQsBE/m/1Cr54qf2BAAJ

mattdricker commented 2 years ago

Additional request: https://app.hubspot.com/contacts/6291320/ticket/553435476/

mattdricker commented 2 years ago

Additional request: https://app.hubspot.com/contacts/6291320/ticket/605050157/

mattdricker commented 2 years ago

Additional request: https://app.hubspot.com/contacts/6291320/ticket/605050157/

rateldajer commented 2 years ago

I guess this is never going to happen? It's a really critical feature for hypothes.is to become something actually useful and viral. Many many papers I want to discuss with students in class or research are on arkiv with meaningless numeric names that become the title. So if I share a tag page of papers on hypothes.is for a course or lecture there is no way to know what each one is. I've resorted to entering the title into the paper description as the first note, but this is a ridiculous fix.

mattdricker commented 2 years ago

Additional request: https://app.hubspot.com/contacts/6291320/ticket/928464735

mforbes commented 9 months ago

Please provide this functionality. It need not have a fancy UI, but there should be a way to edit the annotations to update information like this. Where is the database? Can we somehow access it to correct the information?

rateldajer commented 9 months ago

please? It really is an essential, crazy deficiency, looking at my list of papers I have notes on, with unreadable arkiv links etc. I try to make the first paper document note have the title and authors, but that's not a fix. And requiring all pdfs to ahve that meta data is never going to happen. Just make a title field, prefill it with the title you currently use, but let the user edit that title.

stockphrase commented 4 months ago

Adding what seems a worthless 2 cents. I'd really like to use hypothes.is, but there are some basic functions that don't exist and that render it unusable.

datavistics commented 3 months ago

Im also having an issue with this. When I export it the titles are too long and it wont create properly.

robertknight commented 3 months ago

@datavistics - Are you referring to the "Export annotations" feature in the sidebar? Do you mean that the export file doesn't get created at all, or just gets created with a different name? Your browser may truncate the filename depending on limitations of Windows (or whichever OS you are using).