apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB
https://github.com/apache/couchdb-fauxton
Apache License 2.0
377 stars 225 forks source link

"Foreign-Key" linking in Fauxton #1281

Open NiloCK opened 4 years ago

NiloCK commented 4 years ago

Summary

Many of my documents contain the _ids of other documents in the database. I have reason to want to quickly move between these documents. It would be convenient for me if these 'foreign keys' were clickable links to the fauxton display of these documents.

Desired Behaviour

image The strings ed1d504ee2aa71872a7088db6c161737 and piano.question.EchoQuestion.Playback should be clickable.

Possible Solution

Possible approaches. On loading a fauxton document view:

Alternate approach (one that I'll probably implement as a GreaseMonkey script in the meantime):

Additional context

This represents additional markup inside a text-editor, which is usually a hassle. But I think this is not unique to me, and would be a convenience to many people who have to manually move through database data for any purpose.

wohali commented 4 years ago

If this is implemented (and I stress if), it'd probably be easier to set up hyperlinks on the database Table view, not the JSON view.