Age | Commit message (Expand) | Author |
2021-08-02 | Process org-roam-bibtex citations links differently depending on if they...have an associated node.
It is easy to imagine how overlapping citations could clue one into
connections about otherwise un-related work and generate insights.
However, `org-roam-ui` currently only shows citation links when the
`target` of the link has an associated node, that is, a node with a
matching `:ROAM_REFS:` property. Often one doesn't have a note for every
single thing they cite, and requiring them to create an empty note is a
bad user experience and something that would often be forgotten. Without
having citations links without associated nodes, connections in a users
notes will most likely be missed.
This change splits the handling of `org-roam-bibtex` citations links into
two categories, a citation link (when the target of the link does not
have an associated node, a node with a matching `:ROAM_REFS:`) and a
reference link (when the target of the link does have a node). Reasoning
for the naming is that a citation in a paper is generally just a link to
it, there is no extra commentary from you when that link if followed,
while a reference sound more like something you would refer to for
information, i.e. the notes you took in the attached node. I am willing
to flip the names if we want though.
Citations and References are customizable separately, with new menu
items for node/link color and dashed links added for Reference links.
A new filter option has also been added, the new switch `Citations
without note files` will remove all Citation nodes (and links to them)
when activated.
On the emacs side, this in implemented by using a new link type keyword,
`"ref"`, for any cite link where the target has an underlying node (a
node with a matching `:ROAM_REFS:` property). Links with this new type
are styled according to the new Ref styles in the UI. Any cite link where
the target does _not_ have an underlying node is left as a `"cite"` link.
Additionally, this set of link targets without associated nodes is used
to create fake nodes. These fake nodes have the `ref` key (the link target)
as their `id`, `file`, `title`, and `.properties.ROAM_REFS`. Their `level`
is set to `0`, and a new property, `FILELESS`, is set to `t`. Their id is
used for actually connecting links in the UI, and the new
`.properties.FILELESS` is used to styling a Citation vs a Reference node.
Theoretically, if we wanted to depend on `org-roam-bibtex`, and pay the
cost of look up citation information in the bibliography, we could use
the citation key to look up an actual title in the bibtex bibliography
during node creation, but that seems like it could get heavy for large
numbers of citations.
| Brian Lester |
2021-08-02 | feature: tag filtering lotic and ui | Thomas F. K. Jorna |
2021-08-02 | build: citelinks | Thomas F. K. Jorna |
2021-08-02 | feature: citation options | Thomas F. K. Jorna |
2021-08-02 | feature: open org-roam-ui by default | Thomas F. K. Jorna |
2021-08-01 | Convert cite links with an associated node into id links...Currently the `org-roam-ui--send-graphdata` function gets all `id` and
`cite` links from the database. They are all sent over the websocket,
but nothing is done to handle the cite links, they don't appear in the
graph. These are not handled because instead of being an (`id` `id`
`type`) tuple, they are (`id` `ref` `type`).
This change uses a join in the DB to get the `id` of the node that `ref`
is associated with. A map function applied to the list of links converts
any cite link whose `ref` has an associated node into an (`id` `id`
`type`) tuple (changing the `type` from `"cite"` to `"id"`). This new
link is correctly handled and appears in the graph.
| Brian Lester |
2021-08-01 | made .el MELPA compatible | Thomas F. K. Jorna |
2021-08-01 | better docstring and readme for custom theme | Thomas F. K. Jorna |
2021-07-31 | removed weird function call | Thomas F. K. Jorna |
2021-07-31 | added clicking without org-protocol | Thomas F. K. Jorna |
2021-07-31 | maed on save configurable | Thomas F. K. Jorna |
2021-07-31 | fixed root directiory being set incorrectly | Thomas F. K. Jorna |
2021-07-31 | dotted all the ts and crossed the is | Thomas F. K. Jorna |
2021-07-31 | tried to add expanding follow, and failed | Thomas F. K. Jorna |
2021-07-31 | added customization for follow behavior' | Thomas F. K. Jorna |
2021-07-30 | lots of label customization + fixes | Thomas F. K. Jorna |
2021-07-30 | Update graph on file save | Kirill Rogovoy |
2021-07-30 | Fix node following breaking on minibuffer | Kirill Rogovoy |
2021-07-29 | emacsnode for mlord | Thomas F. K. Jorna |
2021-07-29 | added proper toggle for following | Thomas F. K. Jorna |
2021-07-29 | new functions which do things | Thomas F. K. Jorna |
2021-07-29 | made websocket automatically reconnect | Thomas F. K. Jorna |
2021-07-29 | added websocket checks and 3d labels | Thomas F. K. Jorna |
2021-07-29 | buffer NAME | Thomas F. K. Jorna |
2021-07-29 | added minibuf check | Thomas F. K. Jorna |
2021-07-28 | added some more tweaks | Thomas F. K. Jorna |
2021-07-28 | changed theme sync to websockets | Thomas F. K. Jorna |
2021-07-28 | added websocket implementation | Thomas F. K. Jorna |
2021-07-27 | added build files to repo | Thomas F. K. Jorna |
2021-07-27 | added autoload cookies | Thomas F. K. Jorna |
2021-07-26 | minor cleanups | Thomas F. K. Jorna |
2021-07-26 | added custom theme for all | Thomas F. K. Jorna |
2021-07-26 | file viewer, prettier things | Thomas F. K. Jorna |
2021-07-25 | readded theme servlet | Thomas F. K. Jorna |
2021-07-25 | Remove org-roam-ui-link-children-parents | Kirill Rogovoy |
2021-07-25 | added parent node viewing toggle | Thomas F. K. Jorna |
2021-07-24 | added filter and orphan toggle | Thomas F. K. Jorna |
2021-07-24 | smoother animation + select animation algo | Thomas F. K. Jorna |
2021-07-23 | Add production build | Kirill Rogovoy |
2021-07-23 | Add README and upload production build | Kirill Rogovoy |
2021-07-23 | resolving merge conflicts | Thomas F. K. Jorna |
2021-07-23 | added theme tracking | Thomas F. K. Jorna |
2021-07-22 | Fix org-roam-id-at-point throwing errors time to time | Kirill Rogovoy |
2021-07-22 | Follow the current Emacs node in real time | Kirill Rogovoy |
2021-07-22 | added eventsource node tracking | Thomas F. K. Jorna |
2021-07-22 | updated next-js elisp and switched to main | Thomas F. K. Jorna |
2021-07-22 | finished basis for physics tweaks | Thomas F. K. Jorna |
2021-07-20 | actually have a good let statement instead of working through magic | Thomas F. K. Jorna |
2021-07-20 | set cors header correctly | Thomas F. K. Jorna |
2021-07-20 | fixed let declaration for theme servlet | Thomas F. K. Jorna |