balena-io / pensieve

A tool for managing and viewing structured documents, backed by the power of git
7 stars 5 forks source link

Getting clean links to entries when someone searched as well #279

Open imrehg opened 6 years ago

imrehg commented 6 years ago

Expected Behavior

When getting the link to an entry, it would be nice to have a way to get a minimal version of the link, just pensive.domain/#PS_UUID.

Actual Behavior

When someone searched in pensieve, the URL will contain their search setup as well, thus linking to a header will contain not just the UUID, but the search terms too. That is unnecessary and confusing when getting links and pasting them.

Steps to Reproduce the Problem

  1. Open a pensieve page and search for some entry, that has results
  2. Click the anchor of one of the entry's headers
  3. Observe, that the ink is something like pensieve.domain/?0%5Bn%5D=Full%20text%20search&0%5Bv%5D=something#PS_UUID

References

https://www.flowdock.com/app/rulemotion/public-s-premium/threads/6Vya6DamnDOdMRVgTtq3mxMHCUs


Before submitting this issue, please check that this issue is not a duplicate. If there is another issue describing the same problem please add your information to that issue's comments.

lurch commented 6 years ago

Duplicate of #260 ? ;-)