aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/KeyValuePair.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-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-26fixed keyValue box assignments so that '_' assigns to template unless value ↵bobzel
starts with '=' (then root doc). fixed deleting template keys in keyValuePair. fixed schemaTableCell to show current editable value (not last edited value) when editing layout and data doc values. updated DocumentOptions API.
2025-03-26updated keyValue to use parens again.bobzel
2025-03-21trying to improve how data / layout / root and templtae docs are accessed.bobzel
2024-08-12more any -> type fixesbobzel
2024-08-09a bunch more typing fixes.bobzel
2024-08-08many changes to add typing in place of 'any's etcbobzel
2024-05-08lots of api cleanup and cycle removalbobzel
2024-05-02another push to remove cycles by pushing things onto Doc and DocumentViewbobzel
2024-04-30unwinding more import loops by splitting up Documents.ts into DocUtils.ts ↵bobzel
and moving crate functions to <>Box functions
2024-04-30changed acl- and some other field- to acl_ and field_ stylebobzel
2024-04-21more lint cleanupbobzel
2024-04-17restoring eslint - updates not complete yetbobzel
2024-03-19cleaned up user templates to not get changed on reload. made setting a ↵bobzel
template add it to the template tools list and as a tools button. fixed linking to parts of a template. fixed disappearing templates caused by stacking view set a field with an empty key. updated field assignment syntax in trees, dash field views, and key value box to all use :,:=,=,=:= syntax. added text elide button. added @(title) syntax for hyperlinking. made using a template both inherit from the template to get default values and use the template to render. fixed submenu placement of context menu. updated RTF markdown doc.
2024-03-17use metakey to edit computedfield result instead of expression in schema ↵bobzel
cell, set default new field values on data doc. fixed stacking view from autoresizing when switching to a different collection view. changed syntax for setting fields in text docs to use ':=' for computed fields. Added call to Chat in computed functions when (( )) is used. Added caching of computed function result when a function called by ComputedField uses the _setCacheResult_ method (currently only gptCallChat).
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-18lots of changes to try to simplify API for viewPaths and relatedbobzel
2023-12-29cleaned up imports, mobx observable initialization and some compile errors.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-04trying to do version updates on all npm packages.bobzel
2023-12-03cleaned up warnings and errors, working with typescript 20.10bobzel
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-30fixed rootSelected prop to be optional. fixed fonticont toggle to pass ↵geireann
'self' even though it's deprecated.
2023-11-16fixed alt-drag to toggle scroll mode. fixed replaceTab to work properly ↵bobzel
with panelNames. made slides pointing to trails open the target trails in situ. cleaned up code when starting drag to call freeformview more nicel. fixed brush/highlight of tabs. made collectionFreeformView/FreeformDocs use a more robust and simpler approach to caching freeform values.
2023-09-11clean up some runtime warnings about missing keys/valuesbobzel
2023-08-17normalized some field names data_dictation, etc. added hover info for ↵bobzel
field names in keyvalue pane.
2023-06-22cleaned up dragging - abort presItem drags properly, fix naming for ↵bobzel
drag/dropAction, small fix undo of drag removeproperties, dragging in/out of headerBar, fixed isContentActive to avoid SnappingManager.GetIsDragging. fixed resizing videos.
2023-06-15changed key value indentbobzel
2023-06-13fixed updating cached docs when opening a backlinks collection. added some ↵bobzel
FieldInfo types and added 'enumeration' field display in schema view. fixed bug in schema view column sizing. updated a bunch of standard field names to be more consistent.
2023-06-06updated Symbol naming. fixed various compile errors related to type checking.bobzel
2023-05-17fixed scrolling/panning on fitWidth images. fixed drag/zoom conflicts for ↵bobzel
overlayDocs that are pannable.
2023-05-14major overhaul of field naming conventions.bobzel
2023-05-13changed EditableViews to support oneline and multiline. Also added ↵bobzel
transformer UI to allow documents to be entered. changed transformer to write doc id's, not variables.. made schema view support oneline and fixed bug with docdecoration hader occluding things invisibly. updated web pages to be zoomable and for its anchors to update web page and scroll location properly. made autolinkanchor directly go to target on click.
2023-04-13lots of changes to get rid of ContainingCollectionDoc and ↵bobzel
ContainingCollectionView props.
2023-03-28numerous changes to try to simplify event handling in DocumentView - got rid ↵bobzel
of isContentActive in DocComponent since it's in DocumentView. Including adding 'enableDragWhenActive' , 'onClickScriptDisable',
2023-03-23changed showing keyvalue panes to not create a document, but to use the ↵bobzel
LayoutTemplateString.
2022-11-17mostly changing strings to enumsbobzel
2022-05-13removed layerProvider functionality.bobzel
2021-03-29still cleaning up all the active/selection code.bobzel
2021-03-29initial changes to cleanup pointer events.bobzel
2021-02-28a bunch of changes to simplify how autoHeight works. extended to work for ↵bobzel
pdfs and stacking views. still some bugs.
2021-02-23cleaned up EditableView a bitbobzel
2021-02-10changed docViewPath to be a function to avoid mobx invalidationsbobzel
2021-02-05cleaned up lightbox. replaced old npm lightbox.bobzel
2020-12-12made conentScaling a DocumentView-only propbobzel
2020-12-07got rid of LibraryPath. Fixed collectionFreeFormDocViews to use pres ↵bobzel
Effects whenever doc is selected
2020-11-20added a preliminary Layer mechanism. changed documentDecrations to not go ↵bobzel
out of the mainDocument area. changed parentActive to work "recursively" through stacks of background documents.