Skip to content

Traits for LaTeX equations throughout analyses#1172

Draft
tim-at-topos wants to merge 11 commits intomainfrom
latex-display-trait
Draft

Traits for LaTeX equations throughout analyses#1172
tim-at-topos wants to merge 11 commits intomainfrom
latex-display-trait

Conversation

@tim-at-topos
Copy link
Copy Markdown
Contributor

closes #1171

@tim-at-topos tim-at-topos added the tidying Refactoring or just improving code; no change in behaviour label Mar 31, 2026
tim-at-topos and others added 5 commits March 31, 2026 16:06
* ENH: User state as an Automerge doc in backend

* REFACTOR: Public lib for backend

* ENH: Use Automerge UserState from frontend

* REFACTOR: Move get_or_create user state function

* REFACTOR: DbPermission

* REFACTOR: Use same automerge doc creation as in test

* ENH: Add parents to UserState DocInfo

* ENH: Add children to DocInfo

* ENH: Switch sidebar to use UserState

* CLEANUP: Remove RefStub related code

* CLEANUP: Remove unecessary refetch on delete doc

* ENH: Update .sqlx queries

* REFACTOR: Use fix in autosurgeon for Option<Text>

* REFACTOR: Rename UserState UserSummary to UserInfo

* ENH: Use String for user id in UserState

* ENH: Sort side-bar sub-docs by createdAt

* ENH: Show icons in documents and trash

* ENH: Show "Analysis of" and "Diagram in" in document lists

* ENH: Properly handle middle/Ctrl click for document lists

* REFACTOR: DocumentList component

* ENH: Add a link to Analysis of ...

* REFACTOR: Use `A` from solid for document links

* ENH: Show "Untitled" for empty doc title in list

* ENH: Tweak user state doc init

* TEST: Make sure doc is read in user state frontend test

* REFACTOR: User state DB migration

* TEST: Fix frontend user_state test isolation

* ENH: Make user name changes notify user state docs

* ENH: Add profile to UserState

* ENH: Don't create user state in response to DB only

* ENH: Handle profile updates more efficiently

* ENH: Tweak reactivity around owners in document list

* ENH: Tweak document list style and click behaviour

* REFACTOR: Rename users field to known_users

* ENH: Show docs with unknown parent as orphaned

* ENH: Re-generate .sqlx

* CLEANUP: Remove Paginated struct

* TEST: Reduce wait times in user state tests

* ENH: Switch to automerge/autosurgeon repo as crate source

* ENH: Better types for type_name

* TEST: Test user state url persistence

* ENH: Persist user state urls in db

* ENH: Clear persisted user states on restart

* TEST: Split catlog and backend tests in CI

* REFACTOR: ImmutabelString handling on user state permissions

* REFACTOR: Add autosurgeon_datetime.rs

* ENH: Handle unknown doc type in UserState DocInfo

* ENH: Switch to depends_on and used_by in UserState

* FIX: Move systemd "ready" to just before loop

* DOC: Add comment about arbitrary DocInfo relations

* ENH: Put user state doc id on users table

* REFACTOR: Say "state doc ID" instead of "state doc URL"

* ENH: Include public docs in UserState.documents

* REFACTOR: Extract filterDocuments helper for document list filtering

* REFACTOR: Extract reconcile_user_state helper for automerge reconciliation

* ENH: Update user state from autosave listener instead of DB trigger

Extract snapshot relations and update user state docs directly in the
Rust autosave listener, eliminating the pg_notify round trip that
re-read the snapshot from the database.

* BUILD: Fix copying of api bindings for user_state

* REFACTOR: Rename user_state_subscription migration

* WIP: Use automerge batch-insertion branch

* BUILD: Turn off debug-assertions for dev (automerge)

* BUILD: Disable debug-assertions for rust deps

* ENH: Bypass the DB for user state updates (#1151)

* Revert "ENH: Include public docs in UserState.documents"

This reverts commit c9eeb1c.

* BUILD: Switch to release versions of automerge, autosurgeon and samod

* TEST: Fix frontend test isolation by disallowing parallel runs

* ENH: Simplify automerge user state updates (#1163)

* DOC: Improve virtual_list doc comment

* REFACTOR: Use isImmutableString from Automerge

* REFACTOR: Define a DocumentType in notebook-types

* REFACTOR: Move reconcile_into to a method on UserState

* REFACTOR: Remove DbPermission intermediate type

* CLEANUP: Remove profiling code from user_state.rs

* FIX: UserState context needs to re-init on logout/login

---------

Co-authored-by: Jason Moggridge <git@jmoggr.com>
…em` (#1007)

Co-authored-by: Patrick Aldis <patrick.aldis@obsidian.systems>
Co-authored-by: Evan Patterson <evan@epatters.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tidying Refactoring or just improving code; no change in behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop using fmt::Display for LaTeX output

3 participants