aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/EquationBox.tsx
AgeCommit message (Collapse)Author
2025-07-07fontSize fix for equationBoxesbobzel
2025-06-23fixed invalidations to not trigger creating new refs when ref= was assigned ↵bobzel
to an anonymous function. fixed scribble erase to not delete everything it overlaps, just things it intersects with or contains. fixed ink to have a Math mode and fixed math recognition myscript calls.
2025-06-03fixed equationBox so that it can be used in templates.bobzel
2025-05-30fixed using empty images in templates to support assigning a new image and ↵bobzel
getting native dimensions right. fixed native dimensions of images within templates to not use native dims of template. fixed undo for text templates that don't have a text box. fixed image dropping on images that are empty (to assign the dropped image).
2025-04-23lots of typechecking fixes.bobzel
2025-03-06a bunch of changes to improve how docs are selected automatically when created.bobzel
2024-11-13made link text use text menu. and made link text zoom with view. cleaned up ↵bobzel
equationBox updateSize()
2024-11-12updated equationBox to support margins/padding like text. fixed initial ↵bobzel
undo of newly typed equation.
2024-11-12fixed resizing height to 0 to autoResize. fixed setting background color ↵bobzel
default for equations (and everything else) to textBackgroundColor from user doc. Added a math pseudo-font to trigger entering equations instead of rich text.
2024-11-12made equation background same as text. fixed dflt stroke/link width to both ↵bobzel
be 1. made function plot axis ranges get saved to Doc. marked equation->function links as being svgs. fixed initial size of equation boxes..
2024-11-12fixed clicking on filled closed strokes to select them.. fixed equationBox ↵bobzel
initial width. fixed line mode for ink to always create lines. fixed contextMenu to reset selectedIndex after being hidden. added reveal options for comparisonbox to contexst menu.
2024-10-28reworked LabelBox's to be fully editable. gor rid of singleLine for label ↵bobzel
boxes. made a text_fitBox field to render text with a labelBox. fixed styleprovider in freeformview clusters to be untracked() to avoid invalidations. added a default text color to Settings panel. fixed clicking text buttons to not lose focus in labelBox.
2024-08-08many changes to add typing in place of 'any's etcbobzel
2024-05-08lots of api cleanup and cycle removalbobzel
2024-04-30unwinding more import loops by splitting up Documents.ts into DocUtils.ts ↵bobzel
and moving crate functions to <>Box functions
2024-04-24completing eslint passbobzel
2024-04-17restoring eslint - updates not complete yetbobzel
2024-03-30cleanup of import orderings.bobzel
2024-03-29fixed equation box resizing to stay in place. fixedlightbox to have a black ↵bobzel
foreground color so equations can be seen. fixed function plots to translate more of the math syntax
2024-03-27changed dashFieldViews to support Tab'ing between other dashFieldviews, ↵bobzel
changed deleting links to clear out the anchors so that linkBoxes will go away more easiliy. changed funcitonPlot to plot the equations that are linked to it. changed equations to link to functions. changed undo and other console logging to only happen when undo docked buttons are expanded (visible)
2024-03-04cleaned up a number of things related to autoHeight and ↵bobzel
stacking/masonry/notetaking views
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-22cleaned up viewPath methods and LightboxView's containment apibobzel
2024-01-18lots of changes to try to simplify API for viewPaths and relatedbobzel
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-06converted equationEditor from a npm module to a local file. commented out ↵bobzel
old google-maps code.
2023-11-29cleaned up presElementBox and did more this.rootDoc => this.Document/layoutDocbobzel
2023-11-18fixed ctrl-drag for expressions, maps, fform doc selections. fixed using ↵bobzel
shift to add Doc to a selection and also when bounding box already covers the doc to add. fixed dragging maximize button to start goldenlayout drag properly. fixed typing character to group,etc a multiselection when a text doc has input focus. fixed using clusters. add Shift-U to ungroup alternate group style. multi-select blurs() all active inputs. shift-selecting a multi-selected Doc, deselects it.
2023-11-08fixed bug where tableBox's didn't render all of the rows they receive. lots ↵bobzel
of code cleanup -- moving things from Doc.ts to better locations. Changed overlays and published docs to be local to their dashboard. changed treeview icons.
2023-07-13fixes for equation box default selections.bobzel
2023-06-06updated text properties to be prefixed with field 'text_'bobzel
2023-06-06updated Symbol naming. fixed various compile errors related to type checking.bobzel
2023-05-14major overhaul of field naming conventions.bobzel
2023-02-02fixed sizing of equation boxes and added grab cursor for link anchorsbobzel
2023-02-02added initial support for equationBox font size settingbobzel
2022-10-07fixes for equations : :eq as option to ctrl-m inside a text box. added ↵bobzel
background for equations. fixed cursor focus issues.
2022-07-25fixed equationBox width sizingbobzel
2022-07-22adjusted native dim scaling slightly combining props.scaling and ↵bobzel
props.ContentScaling into props.NativeDimScaling and fixing some resizing behaviors for fitWidth freeformviews and native-sized text boxes. Also fixed clicking on presboxe elements to not drag.
2022-03-04removed pseudo Doc type system. playing with hot reloading.bobzel
2021-09-20fixed equations/ink to work properly when not fitwidth in lightbox. don't ↵bobzel
show titles for ink or equations using fields now.
2021-09-17stop propagation of keybaord events in EquationBox to allow cursor controls ↵bobzel
w/o moving the document
2021-03-06updated a bunch of _backgroundColors to backgroundColorsbobzel
2021-03-06cleaned up a little bit in doc decorations.bobzel
2021-03-04fixed scrolling of web pages and fitwidth for web pages.bobzel
2021-03-04fixed dynamic updating of equations and functions when underlying data cahnges.bobzel
2021-03-03from lastbobzel
2021-03-03added functionPlot. trying to make fitWidth make sense everywhere ↵bobzel
(lightbox, stacking panels with autosize columns, etc).
2021-03-02added a fitwidth toggle for lightbox. fixed _showCaption/setting _fields to ↵bobzel
undefined. updated documentView to use not having fitWidth set as a trigger for whether to treat a doc without nativeWidth/Height as if its width/height is that.
2021-03-02some cleanup and extensions to Equationbox stuff. can sort of be nested in ↵bobzel
text docs with ctrl-m.