Skip to content

Handle change of citation keys. #113

@koppor

Description

@koppor
  1. I chat with BibEntry with citationkey A.
  2. I change the citation key to B
  3. I reopen the AI chat
  4. Chat is empty

Expectation: Chat is the same after step 1.


Idea to solve:

  1. Listen to entry changed events
  2. Filter on citatoin key change
  3. Stop if key is changed to something "invalid"
  4. get messages for oldkey
  5. Store messages to newkey
  6. Remove messages for oldkey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions