Commit Graph

49 Commits

Author SHA1 Message Date
Sacha Al Himdani
9ac71f948f Update contact email to hello@probo.com
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-06-09 16:45:23 +02:00
Émile Ré
e473884b31 Fix copy paste in rich editor
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-28 11:17:06 +04:00
Sacha Al Himdani
c635492f75 SOA as document: replace export with publish workflow
Statements of Applicability are no longer exported as one-off PDFs.
Instead, each SOA owns a persistent document that accumulates versions
over time, following the same publish/approve lifecycle as authored
documents.

Publishing without approvers publishes immediately; publishing with
approvers creates a draft pending approval via the existing quorum
system. SOAs can also store default approvers that are pre-populated in
the publish dialog.

The SOA is removed from the snapshot system — applicability statements
are now queried directly (snapshot_id IS NULL) rather than through
snapshot copies.

A standalone migration script (cmd/migrate-soa-snapshots-to-documents)
converts existing SOA snapshots into documents with proper ProseMirror
content, preserving version history and approval decisions.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-04-16 00:01:13 +02:00
Émile Ré
16d4e462c8 Add list keymaps to handle backspaces
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-07 17:13:33 +04:00
Émile Ré
0f674d1980 Better handle list transformation
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-07 17:13:33 +04:00
Émile Ré
9b473b27c2 Fix invisible drag line on Safari
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-06 19:18:09 +04:00
Émile Ré
b9d7beb22c Change import for bullet list in rich editor
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-03 17:07:35 +04:00
Émile Ré
5359fe9931 Update rich editor style to be lighter and closer to printed doc
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-03 17:02:42 +04:00
Émile Ré
6d1a7c846d Add bottom padding to rich editor
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-03 17:02:42 +04:00
Émile Ré
a850b0f77c Move markdown to prosemirror parser in packages
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-03 17:02:41 +04:00
Émile Ré
3561a6e0b7 Implement markdown parsing for copy paste
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-03 17:02:41 +04:00
Émile Ré
821f66cc20 Review fixes
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 19:53:25 +04:00
Émile Ré
84adb5409d Make mermaid toolbar invisible in preview mode
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:04:36 +04:00
Émile Ré
9bbcba68c0 Add mermaid tiptap extension
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:04:36 +04:00
Émile Ré
8a25ca27b6 Do not display editor block placeholder when disabled
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:04:36 +04:00
Émile Ré
3d1d794a84 Fix first rendering save
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:04:36 +04:00
Émile Ré
d73263f7e8 Handle disabled editor after version publishing
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:04:35 +04:00
Émile Ré
37e17c370f Support all headings in tiptap
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:26 +04:00
Émile Ré
0a0b01fa05 Fix menu shadows
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:24 +04:00
Émile Ré
96168cbfb0 Fix listeners cleaning on unmount
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:24 +04:00
Émile Ré
f3b0842206 Fix bubble menu positioning when scrolling
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:23 +04:00
Émile Ré
62d13a1539 Handle table selection style with an overlay element
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:23 +04:00
Émile Ré
cc93378996 Split menu components for better responsibility handling
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:23 +04:00
Émile Ré
0b02171e4a Fix link menu z-index
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:23 +04:00
Émile Ré
7897871659 Refactor actions using builtin editor methods
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:23 +04:00
Émile Ré
cf5ffc319a Fix review
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:23 +04:00
Émile Ré
aef0da4c52 Refactor duplicated code
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:22 +04:00
Émile Ré
48fbca6b04 Add split cells action
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:22 +04:00
Émile Ré
935e650991 Fix style of the drop cursor
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:22 +04:00
Émile Ré
67273fe1b6 Fix table dragging
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:21 +04:00
Émile Ré
48206cbc36 Add header row / column option
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:21 +04:00
Émile Ré
4840dd510d Select all column / row cells on menu trigger click
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:21 +04:00
Émile Ré
d75edca6b1 Add TableRowMenu
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:21 +04:00
Émile Ré
c89c437074 Add table column menu
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:20 +04:00
Émile Ré
9a3077b320 Fix drag
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:20 +04:00
Émile Ré
74380f78d9 Add table cell menu
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:20 +04:00
Émile Ré
70ebdd771d Add table extension
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:20 +04:00
Émile Ré
3afdb0b5b8 Fix placeholder not displayed in table and lists
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:20 +04:00
Émile Ré
fc0c71ea7d Fix block and options menu triggers alignment with hovered block
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:20 +04:00
Émile Ré
c81769b926 Use slash to display menu and filter commands
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:19 +04:00
Émile Ré
9c810eb1dc Fix bug on hovered hr options menu click
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:19 +04:00
Émile Ré
7c5d8a8cc5 Add link handling in floating ui instead of prompt
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:19 +04:00
Émile Ré
9ce510caa7 Add phosphor icons and improve menus UI
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:19 +04:00
Émile Ré
34d64ecb75 Add side actions for insertin new / editing blocks
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:18 +04:00
Émile Ré
21eb2e5197 Add document node styling + extensions to handle clicking links with ctrl or cmd
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:18 +04:00
Émile Ré
eede0b72f1 Make rich editor full height
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:17 +04:00
Émile Ré
b84eab4698 Disable RichEditor on non draft version
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:17 +04:00
Émile Ré
3a054c70ba Implement debounced auto save
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:17 +04:00
Émile Ré
a9f4ecacfa Install tip tap
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-01 18:03:17 +04:00