aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LabelBox.tsx
AgeCommit message (Collapse)Author
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-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-05-05fixed keeping focus on labelBox when text butons are clicked.bobzel
2025-05-05got rid of dash _xPadding/_yPadding in favor of just using ↵bobzel
_xMargin/_yMargin. cleaned up linearView field names
2025-03-13fixed video timeline drag a region to appear while dragging. fixed timeline ↵bobzel
labels to render title text
2025-03-06a bunch of changes to improve how docs are selected automatically when created.bobzel
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-10-08changed carousel view to resize ui buttons based on screen scaling and ↵bobzel
document dimensions. lint errors.
2024-10-07refactored imageUrlToBase64 into clientUtils. lint fixes.bobzel
2024-10-07moved all quiz code out of LabelBox and ImageBox and into StyleProviderQuiz. ↵bobzel
changed quizBoxes and quizMode to be stored as Doc metadata. Extended styles to cover contextMenuItems. remove this.setListening() from comparisonBox until contextMenu selectedVal is fixed.
2024-10-06Merge branch 'alyssa-starter' of https://github.com/brown-dash/Dash-Web into ↵alyssaf16
alyssa-starter
2024-10-06commentsalyssaf16
2024-10-02merged with masterbobzel
2024-10-02added showTags button for cardView. fixed unnecessary invalidations of ↵bobzel
TagsView based on child screenToLocal changing when its not rendered.
2024-09-02Merge branch 'master' into alyssa-starterbobzel
2024-08-30clean up comparison boxalyssaf16
2024-08-12more any -> type fixesbobzel
2024-07-25cleaned up labelBoxbobzel
2024-07-24switched to using textfit for label fitting text.geireann
2024-05-02lots more dependency cycle unwinding.bobzel
2024-04-30unwinding more import loops by splitting up Documents.ts into DocUtils.ts ↵bobzel
and moving crate functions to <>Box functions
2024-04-30unwinding some import cycles. added PinFuncs and .from(dv:DocumentView) for ↵bobzel
CollectionFreeForm stiuff
2024-04-30broke out clusters code from freeformview to its own file. cleaned up a bit.bobzel
2024-04-21more lint cleanupbobzel
2024-04-17restoring eslint - updates not complete yetbobzel
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-07fixed several things related to templates for labels (used as icons) and ↵bobzel
FontIconboxes. Also made labels non uniformly resizable .
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-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 &
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-07fixed table boxes and label boxes.bobzel
2023-12-04trying to do version updates on all npm packages.bobzel
2023-12-01cleaning up documentview props. got rid of special cases for keyValueBox. ↵bobzel
made fitToContents work cleanly for native scaled docs.
2023-11-29cleaned up presElementBox and did more this.rootDoc => this.Document/layoutDocbobzel
2023-06-23cleaned up more issues with pointer events/contents active. fixed dragging ↵bobzel
from piles.
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 text properties to be prefixed with field 'text_'bobzel
2023-05-14major overhaul of field naming conventions.bobzel
2023-03-24fixed showing keyValueBox when document opacity is 0 or it is hidden. fixed ↵bobzel
toggling link targets. fixed sorting and undoing schema view changes.
2023-03-17cleaned up highlighting styles a bit. fixed stackedTimeline screen to local xf.bobzel
2023-02-27restructured getAnchor()/scrollFocus to be more consistent. added ↵bobzel
setterscript for computedFields. restructed getFieldsImpl to avoid making multiple requests for the same document due to timing issues by 'locking' a document cache with a promise before sending the server request. added rotation and fill color as animatable fields. fixed image cropping for
2023-01-20removed tour map from lightbox. added option to create anchors without ↵bobzel
adding thm as annotations. made zoom of text an option for pres and links
2022-12-16fixed problem with undo. regularized all linkfollowing anchor fields to ↵bobzel
start with followLink<xxx>. added ease vs linear flag for scroll transitions in link and preselmeent navigations. added link follow to move target to specified offset from source. shifted from setting dropAction on items to setting childDropAction on collections
2022-06-20a bunch of changes to make some userDoc() field accesses more typesafe by ↵bobzel
going through CurrentUserUtils. Some normalization of naming/functionality in CurrentUserUtils
2022-06-02fixed previously introduced bug where pin doc added pres to first tab ↵bobzel
collection. Highlight pres targets when following. fixed videoBox to play regions properly. adjusted labelBox for stackedTimeline views. fixed stacked timelines to not stop keyboard events which was preventing text notes from being created on video boxes.
2022-04-29another labelBox fix using zerowidth spaces!bobzel
2022-04-29another fix for Label's BigText to make multiline work better. fixed server ↵bobzel
bug for 'write after end' when servering web pages.
2022-04-29changed the way labelBox splits words to allow .&- added icon for webBoxbobzel