aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.tsx
AgeCommit message (Collapse)Author
2024-04-01fixed text toggle buttons to highlight based on selection. enabled ↵bobzel
background colors for text lists. cleaned up text insertion point setting on pointer up. fixed autoHeight for text boxes with 'auto' nodes like ordered lists.
2024-04-01fixed header template to be marginally functional.bobzel
2024-04-01forgot these from last - fixes forced text scroll from pres trail.bobzel
2024-04-01revert back to old style of forced text scrolling - doesn't work for pres ↵bobzel
trails.
2024-03-31fixed scrolling to targets in text views. fixed referencing fields on ↵bobzel
another doc from text box. fixed '@name' technique for publishing documents to also remove documents and work anywhere a title is set.
2024-03-31fixed divider column for notetaking view. fixed scrolling of text docs. ↵bobzel
fixed keeping user docs in system button bars.
2024-03-31fixed dropdown in title bar location. moved rotate button up to not ↵bobzel
interfere with button bar. don't blur title when editing it. fix drawgging rotate center on templates. support setting alternate colors for text docs -- pretty hacky. fixed tabbing through dashFieldViews.
2024-03-30updated and fixed wiki link to use @(wiki:...) and fixed linkManager from ↵bobzel
infinite looping on relatedlinker(). fixed clicking in text exxeptions.
2024-03-30audio box fixesbobzel
2024-03-30updated mermaids template. updated paintFunc to also render the underlying ↵bobzel
code text so that the paintFunc will update if dashFields in the code change. fixed schema views to render templates properly in preview. fixed text to only modify the data doc. changed setPixels in imageBox to not consider scaling of outer containers.
2024-03-30added Labels button for turning ink labels on/off. added Pixels and Rotate ↵bobzel
buttons for images. enabled ink as template for text : check for ink stroke data on layout doc if it's not on data doc & started to have style provider check for properties on layout doc instead of data (background color, boxShadow). fixed toggling key/value on and off when node is selected.
2024-03-29enabled %<notestyle> to switch note types. fixed linking to top-level ↵bobzel
templates (postit, idea, etc). customized postit and idea style.
2024-03-28fixed following link to pdf text selection with highlights. fixed hide ↵bobzel
key/value in dashfieldView. fixed selecting dashFieldView nodes.
2024-03-28fixed keyvaluebox to show props document, never the doc in the fieldKey ↵bobzel
slot. changed computedFIelds to do mobx caching. changed text boxes to do updating from templates based on a fieldKey_autoUpdate flag combined with modification timestamps. enabled comparison box to work with text fields in addition to docs.
2024-03-27preserve nodeSelections after onBlur by not calling autoLink. fix promoting ↵bobzel
text to list cursor locatoin
2024-03-27fixed toggling footnotes. fixed error in bullet hit test. fixed problems ↵bobzel
with backspace and enter in prosemirror transfer. fixed display of markdown options to start at top.
2024-03-27fixed backspacing to delete list items.bobzel
2024-03-27fixed collapsible text box outlines. fixed ending lists with enter.bobzel
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-26added empty image tool and click on empty image to select from filesystem. ↵bobzel
fixed following links in lightbox and showing links to stackedTimelines. fixed embedding docs into text. fixed not resizing text boxes that also show up in pivot view. prevent context menu from going off top of screen. fixed freeform clustering colors and click to type. fixed links to stackedTimeline marks, and titles for marks. made title editing from doc deco and header use same syntax as keyValue. fixed marquee selection on webBoxes. turn off transitions in freeformdocview after timeout. enabled iconifying templates to propagate to "offspring". fixes images in templates. don't show headr on schema views.
2024-03-24fixed linkdocpreviews to sequence through multiple links. fixed text boxes ↵bobzel
to update text when dashfieldView text changes (but the fieldview doesn't), fixed dashFieldViews to be editable cleanly, and to allow sub-dashFieldViews to be editbale. allowed toggle on/off of dashFieldView fieldKey. got rid of sidebars in scemaCells. fied editing dashFieldViews in captions and as childrend of dashFieldViews by passing rootSelected
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-14cleaned up some audio recording and annotating codebobzel
2024-03-12fixed links to text to update automatically when textbox css styles change.bobzel
2024-03-12made text templates be both layout templates and prototypes of new text ↵bobzel
documents. fixed onPaint funcs to be undoable. fixed comparisonBox to render a text box if it's fieldKey has a richtext field - this makes flashcard templates much easier. fixed right-click on hyperlinks to bring up menu. fixed layout_centered to be settable on templates. added enable flashcard property for text.
2024-03-09fixed up default text that uses a template to process an initial carriage ↵bobzel
return properly. fixed text with inherited templates to be able to show fields with a default dashField value from template that can be overidden on instance.
2024-03-08cleaned up MakeTemplate api and currentUserUtils templates for clicks etc.bobzel
2024-03-06cleaned up some dropActionType strings. fixed stackingview scrolling when ↵bobzel
always active. fixed schemaView keys dropdown menu to be a popup. cleaned up display of key Finfo's
2024-03-05fixed text in templates to revert to template value when noTemplate is set. ↵bobzel
made dashFieldView read from datadoc. added margins for multicolumn/row, enabled chromHidden for multicolumn/row
2024-03-04cleaned up a number of things related to autoHeight and ↵bobzel
stacking/masonry/notetaking views
2024-02-22turned off zoom scaling for text boxes until it can be done more cleanly. ↵bobzel
fixed search to switch tabs when doc is inactive tab.
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-30changed dropConverter to keep title of dropped Doc. added paintFunc node/ ↵bobzel
checkbox view to formatted text. changed paintFunc to be computed based on layouytfieldkey being text in a freeformview. changed some inputRules to apply to code blocks. changed : contextmenu to allow regular note to be created. changed experimental tools to be user tmeplate tools. fixed focus on search bar when opening context menu
2024-01-28fixed inking when in panToScroll mode. fixed text templates to restore ↵bobzel
default text when all text is deleted. changed code blocks to stay in code black mode after a carriage return (unless its a hard break, e.g. shift+carriage return). added a ^@paint input rule to turn text documents into paint func docs.
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-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-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-11fixed having text boxes references a string field (instead of RTF or a Doc)bobzel
2024-01-05fixed up text inlining to fix autoheight, to show cursor better, and to ↵bobzel
highlight selection of inline.
2024-01-04fixed ffmpeg for uploading videos. fixed getView() to take focus options so ↵bobzel
that if a sidebar or timeline has to be opened, the didMove flag can be set properly. added video snapshot frame to top menu. fixed using '^' to stop and start a selection region on timelines.
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..
2023-12-29cleaned up imports, mobx observable initialization and some compile errors.bobzel
2023-12-14a bunch more fixes to making things observable. fixed calling ↵bobzel
super.componentDidUpdate on subsclasses
2023-12-13cleaned up props/_props handling by inherting from ObservableReactComponentbobzel
2023-12-12fixed and cleaned up snapping linesbobzel
2023-12-11more updates to mobx 6. updated typescript to v5. updated pdf-distbobzel
2023-12-10massive changes to use mobx 6 which means not accessing props directly in ↵bobzel
@computed functions.