New month, new release! This time, focused on improvements to the note editor, AI assistant, and notification view.
Note Editor: Undo/Redo and Preserve Formatting on Paste
The note editor now supports undoing and redoing changes – via buttons or via the usual keyboard shortcuts Ctrl + Z and Ctrl + Y.
This undo feature is particularly handy when you paste content from other sources and are not happy with the result. So far, this was often the case when you copied formatted text and were disappointed that all formatting and links were stripped, as the note editor only supported pasting plain text. Now, the note editor finally preserves bold face, italics, as well as hyperlinks on paste!
If you prefer the previous behaviour, no problem - you can use your browser's "insert as plain text" (often Ctrl + Shift + V) and it will behave as intended.
Track Running Background Tasks
Long-running operations, such as importing a GEDCOM file or regenerating the full-text search index, are executed in background jobs, so they don't time out even when you close your browser. So far, you could only track the progress of such processes by watching the spinner next to the button that triggered the operation, and it only worked on the same device (in the same browser) where you started the job.
Now, the notification view shows running background jobs reliably, also across sessions and devices, so you can track the progress of your tasks no matter how long they take.
Watch the AI Assistant Think (Harder)
The AI assistant has seen furhter improvements in Gramps Web API v3.15, enabling it to answer a broader class of questions.
Apart from being smarter, you can now watch the assistant think: similar to other AI tools you may be familiar with, the chat view now shows ongoing operations (search queries, database lookups, etc.) that are part of the AI assistant's reasoning process. While this doesn't make it respond faster, at least it shows you that something is happening in the background; from inspecting the tool calls, you can also get a better idea of how the assistant arrives at its answers. It will also make it easier for developers to improve its reasoning performance even further.
Other Improvements
- Support Esc to close dialogs and ignore global shortcuts while dialogs are open by @Ziesie1 in #1193
- Improvements to responsive table component by @DavidMStraub in #1201
- Improvements to pill toggle component by @DavidMStraub in #1202
- Modernize web components in export view and add missing translations by @DavidMStraub in #1203
Full Changelog: v26.5.3...v26.6.0