aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/StyleProvider.tsx
AgeCommit message (Collapse)Author
2024-06-18feat: added view of labels on docs in freeformIEatChili
2024-05-16cleaned up and fixed feeformdocview styleprovider.bobzel
2024-05-16moved isHovering to DocumentView as instance variable instead from ↵bobzel
FormattedText as a Document field. cleaned up cluster style provider. fixed freeformView to not trigger as many updates when a doc is dropped, and fixed layoutEngines to not return a background or color unless actually set by the engine.
2024-05-10fixed exception when text templates have no inherited data, and when text ↵bobzel
views are modified after the editor has been destroyed. random code cleanup
2024-05-08lots of api cleanup and cycle removalbobzel
2024-05-06eslint cleanupbobzel
2024-05-02lots more dependency cycle unwinding.bobzel
2024-04-25changed marqueeAnnotator to save inline annotations as text strings instead ↵bobzel
of Docs. enabled making image crops of text selections on PDFs. cleaned up webboxrendered lint promses, and Annotation render
2024-04-23fixes for rich text menu updates and setting parameters on text doc vs ↵bobzel
within in RTF. Lots of lint cleanup.
2024-04-21more lint cleanupbobzel
2024-04-19lint fixes.bobzel
2024-04-17restoring eslint - updates not complete yetbobzel
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-30trying to cleanup import cyclesbobzel
2024-03-30fixed snapshot workspace functions by getting rid of @actions. fixed ↵bobzel
lightbox to not rerende on invalidation which allows videos to play.
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-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-14cleaned up some audio recording and annotating codebobzel
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-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-06fixed setting text/line properties on linkBox. fixed setting current link on ↵bobzel
click.
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-02-01updated paintbutton css to not be obscured by documentdecorationsbobzel
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-25fixed script typechecking which fixes editing keyvalue pane. renamed ↵bobzel
contentPointerEvents to childContentPointerEvents to match what it does.
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-05fixed up text inlining to fix autoheight, to show cursor better, and to ↵bobzel
highlight selection of inline.
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-29fixed sidebar button highoighting. fixed explore mode.bobzel
2023-12-12fixed props => _props refernecesbobzel
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-01cleaning up documentview props. got rid of special cases for keyValueBox. ↵bobzel
made fitToContents work cleanly for native scaled docs.
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-30final rootDoc refactoringbobzel
2023-11-29 exposed menu option to pin Trails and other tree view docs and added open ↵bobzel
button. Allowed trails to be pinned to or embedded within other trails.
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-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-11-07Changed how selection works to avoid invalidations. Fixed Cast problem with ↵bobzel
ProxyFields that caused renameEmbedding to infinite loop.. Changed brushing for the same reason. Cleaned up a few things with filter code.
2023-10-31fixed groups to use actual document boundaries for ink or link lines, ↵bobzel
instead of boundingbox. fixed doc title css. started to make link lines more compatible with ink.
2023-10-26enabled different title colors per doc, not just per user. added support for ↵bobzel
screen space doc titles, and for proper title clipping when borderRadius is set. added dropdown for setting title field to display and tweaked editableView to enable ellipsis for overfow
2023-10-21change to doc decorations to be more "lightweight". made linkBox render ↵bobzel
links in a freeform view as a DocView. added an auto-reset view option for freeforms. fixed highlighting ink strokes. Made groups behave better for selecting things 'inside' the group bounding box that aren't in the group. Added vertically centered text option.