Traits for LaTeX equations throughout analyses#1172
Draft
tim-at-topos wants to merge 11 commits intomainfrom
Draft
Traits for LaTeX equations throughout analyses#1172tim-at-topos wants to merge 11 commits intomainfrom
tim-at-topos wants to merge 11 commits intomainfrom
Conversation
* 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #1171