aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocComponent.tsx
AgeCommit message (Collapse)Author
2025-04-14fixed how templates are expanded to avoid template sub-component conflicts ↵bobzel
by changing how field keys are named. fixed various Cast functions to be more typesafe by including undefined as part of return type. overhaul of Doc.MakeClone, MakeCopy, FindRefernces - makeClone is no longer async. fixed inlined docs in text docs.
2025-04-09more color template fixes.bobzel
2025-04-09cleaned up color setting for templates so that instances can override ↵bobzel
template default color.
2025-03-30changed Doc.Layout calls to doc[DocLayout]. fixed flashcard ui placement on ↵bobzel
card view. fixed css scaling for styleprovider icons and annotation resizer
2025-03-26fix so that views use don't use the rootDocument, but rather the current ↵bobzel
rendering document. got rid of resolvedDataDoc -- just use rootDocument[DocData]
2025-03-24fixed iconifying collections to show image icon. fixed shortcut for using ↵bobzel
cached template. fixed onClick prop type
2025-03-23more _props.Document to .Document refactoring. type updates to ↵bobzel
prosemirrortransfer
2025-03-23updated more [DocData] to .$ thingsbobzel
2025-03-21from lastbobzel
2025-03-21trying to improve how data / layout / root and templtae docs are accessed.bobzel
2024-08-15cleaned up server list add/rem.bobzel
2024-05-14post merge fixes for sarah-ai-visualizatoinbobzel
2024-05-08lots of api cleanup and cycle removalbobzel
2024-05-03fixed not having docs being dragged show up in schema view unless it is active.bobzel
2024-05-02another push to remove cycles by pushing things onto Doc and DocumentViewbobzel
2024-05-02lots more dependency cycle unwinding.bobzel
2024-04-30unwinding more import loops by splitting up Documents.ts into DocUtils.ts ↵bobzel
and moving crate functions to <>Box functions
2024-04-30unwinding some import cycles. added PinFuncs and .from(dv:DocumentView) for ↵bobzel
CollectionFreeForm stiuff
2024-04-28cleaned up explore mode to use focus(). fixed focusing on group doc ↵geireann
elements to not focus on group first.
2024-04-28simplified explore mode implementationbobzel
2024-04-25added toList() for Doc|Doc[]bobzel
2024-04-23more lint cleanupbobzel
2024-04-21more lint cleanupbobzel
2024-04-17restoring eslint - updates not complete yetbobzel
2024-03-30trying to cleanup import cyclesbobzel
2024-03-18commentsbobzel
2024-03-06enabled copy and paste to work with template docs (and not copy template). ↵bobzel
Fixed tempaltes of collections to allow new nodes to be added/removed.
2024-02-26fixed tooltips to not grab events - this made moving down a menu a problem ↵bobzel
since the tooltip blocked the next menu item and wouldn't give the hover event to the next menu item. fixed proto_embeddings to update when lassoing a collection in marqueeView which made showContexts in property view do the right thing.
2024-02-07changed so link docs are added to common ancestor of anchors so that they ↵bobzel
can appear above/below intermediary docs using z order. fixed dragging to tab bar to start dragging document as a tab.
2024-02-07made various render methods in DocumentView computed getters for efficiency ↵bobzel
and to avoid artifacts (LInkanchorBox dragging) when something else invalidates causing components to regenerate. fixed linklines to animate when doing a zoom transition and to be able to target texts hyperlinks. fixed link lines to share properties with ink and updated the properties panel / menus to allow editing of either. addding toggling link lines on and off from linkitemmenu
2024-02-07switch to xAnchor to clean up link lines. added transition to getBounds() ↵bobzel
so that LinkBox can follow animated transitions. added dataTransitions for stacking view. fixed presBox to be able to clear transition timers when a new slide transition is chosen.
2024-02-05changed backgroundColor to set on dataDocs. fixed pivoting on tags. fixed ↵bobzel
link description editing popup. fixed showing link editor in property view - still some weirdness in what is selected. fixed dragging tree view items to set dragData.treeview and be able to drop at bottom of tree. fixed addFolder menu option for TreeViews to add locally.. added a function to collect all docs of a given tag into a collection. fixed setting default font size to update autolayouts. changed dropping link onto same collection to not leave pushpin. fixed minimap thumb updating. added fieldvalue dropdown for dashFieldViews in text.
2024-01-31cleaned up accessing/setting proto_embeddings with api on Doc. fixed some ↵bobzel
css related to IconButtons. added a paintView toggle button to dec decorations for text with code blocks. enabled text with code to modify Docs and get this and documentView as params.
2024-01-27made dataViz nodes linked to schema nodes update automatically as cahnges ↵bobzel
are made. fixed user created templates from disappearing from menu, and made them work. added toJavascriptString and made DashField views convert to text. added support for turning text into javascript rendering (paint) code.
2024-01-24added dragConfig() to allow components to set custom docDragData fields. got ↵bobzel
rid of treeViewDoc prop
2024-01-24several fixes to drag/drop so that dropAction's set on target work for tree ↵bobzel
views, notetaking, formattedText, etc. make bringToFront an optional prop.
2024-01-23reorganization of DocumentView, DocumentViewInternal and FieldView methods ↵bobzel
and props. fix for selection bug after following a link. migrating to use [DocData] instad of GetProto()
2024-01-22fixed schema rows to render, fix for resizing docs from left side. all ↵bobzel
locking docs in non freeform view. fix for labelBox with multiple rows to keep top rows. cleaned up docViewPath/containerViewPath &
2024-01-22cleaned up viewPath methods and LightboxView's containment apibobzel
2024-01-18lots of changes to try to simplify API for viewPaths and relatedbobzel
2024-01-03cleaned up screenToLocalTransform in several places by making it additional ↵bobzel
methods. cleaned up styleProider api a bit to take DocumentViewInternalProps, not DocumentViewProps..
2024-01-02fixing more .props => ._props refernces.bobzel
2023-12-13cleaned up props/_props handling by inherting from ObservableReactComponentbobzel
2023-12-10massive changes to use mobx 6 which means not accessing props directly in ↵bobzel
@computed functions.
2023-12-01converted props.DataDoc to props.TemplateDataDocument and fixed so that it's ↵bobzel
always undefined unless it's a template. converted references from rootDocument to props.TemplateDataDocument.
2023-11-30completed transition from rootDoc => Document, dataDoc, layoutDocbobzel
2023-11-29fixes for following links to parts of templates. turned offbobzel
2023-11-29cleaned up presElementBox and did more this.rootDoc => this.Document/layoutDocbobzel
2023-11-29numerous changes to fix bugs and to fix/remove old or hacky code. fixed doc ↵bobzel
dec resizing. moving this.rootDoc => this.Document . fixing template artifacts.
2023-11-25cleanup of rootSelected to default to false. remove unused mobile classes.bobzel