aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/StyleProvider.tsx
AgeCommit message (Collapse)Author
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.
2023-10-12performance fixes to reduce re-rendering : moved link brushing out of Doc's ↵bobzel
highlighting and into Annotation.tsx, stopped freeformview from rerendering whenever its invalidated by not always setting layoutElements to a new list.
2023-10-04removed dangling slider references.bobzel
2023-10-04several fixes for webclips, linking to pdf/web, fonticon dropdowns. removed ↵bobzel
sliderbox. reduce uses of scriptContext fixed web clipping annotations to be in correct spot and not to crash because of using a url that it doesn't have. fixed pdf/web links to not use anchor from other end of link. because of sharing of GetAnchor global. added a backup when presbox overwrites a doc's data field. removed sliderBox. fixed fontIcon dropdowns to not call click script twice. removed scriptContext where it wasn't needed which is everywhere except TreeViews.
2023-09-19made goldenlayout tabs/buttons follow color scheme + added hover highlights. ↵bobzel
got rid of old color scheme code.
2023-09-13fixed ink lines to highlight with a dropshadow. added a stroke_borderWidth, ↵bobzel
but no UI for it.
2023-09-13fixed text filters to be removable, have the right colors, and update when ↵bobzel
selected doc changes. updated filter dropdown to only show parents with filters. fixed colors of link doc preview.
2023-09-12fixed opening a collection in lightboxbobzel
2023-09-12dropping link button on same collection makes a pushpin. fixed broken undo ↵bobzel
typing to crate doc in sidebar. fixed min/max scaling for cropped images and made annotationOverlays start to use it. Fixed nested text boxes to stopPropagation on pointer down to enable editing of translations in sidebar. moved sidebar filters onto doc's filters. Added metadata filters back to sidebar. Added an -any- option to filtersPanel. fixed schema view preview window, added buttons and sliders.
2023-09-11usercolor cleanupbobzel
2023-09-08don't remove current recording from overlay, added closeOnSelect option for ↵bobzel
dropdown. place recording box on screen. fixe overlayView to keep views on screen. fixed schema view checkboxes. don't cause tab to rerender when colelctoin type changes. add dropdown to filter indicator to find filters.
2023-09-07hide schema chrome when chromeHidden is set. ignore showTitle in schemaViewbobzel
2023-09-06fixed up audio annotation to add dictation to sidebar note.bobzel
2023-08-28Merge branch 'master' into advanced-trails-2-jesusmonoguitari