Skip to content

Releases: discoveryjs/discovery

1.0.0-beta.50

11 Nov 22:03
Compare
Choose a tag to compare
  • Fixed regression in broken build due to missed marked module in browser configuration
  • Fixed prefix rendering in badge views

1.0.0-beta.49

11 Nov 11:09
Compare
Choose a tag to compare
  • Added markdown view (and md alias)
  • Bumped jora to 1.0.0-beta.5
  • Fixed inspector popup styles when discovery's root element is not <body>

1.0.0-beta.48

04 Nov 20:27
Compare
Choose a tag to compare
  • Fixed dark mode styles of action buttons in struct view for touch devices
  • Fixed context for nav to include route attributes (#70)
  • Added nav.remove(name) method to remove nav items (#72)
  • Removed try/catch in Widget#queryBool(), so now when and whenData throws instead of silently fail (#69)
  • Fixed missing horizontal scrolling for tree view
  • Fixed postfix style in badge view when used in page-header's prelude
  • Fixed source view crashing on highlighting
  • Fixed path generation in signature view for objects in dictionary mode
  • Allowed to pass a space separated strings to className
  • Changed behaviour for a function as className value, it's return value can be a string or an array (any other is ignored)
  • Improved output view as a function in View inspector
  • Fixed view's tree in View inspector for components with no a container
  • Added display of non-rendered views with the reason in the view's tree in View inspector
  • Fixed jump out context's content on re-render in view tree of View inspector
  • Bumped jora to 1.0.0-beta.4 and use setup() method (a bit more effective in creating functions from strings)

1.0.0-beta.47 View Inspector!

02 Nov 22:49
Compare
Choose a tag to compare
  • Added view inspector
    inspector
  • Changed nav block to be fixed positioned
  • Changed nav block class name .discovery-content-badges -> .discovery-nav
  • Added .page_overscrolled class name that's adding to a page element when page's content scrolled over viewport top side
  • Added page-header view
  • Added passive option support detection test and passiveCaptureOptions for addEventListener() in utils.dom
  • Added position option for popup view with possible values trigger (by default) and pointer (to set position according to pointer coordinates)
  • Added hideOnResize and hideIfEventOutside options for popup view (both true by default)
  • Added Popup#freeze() and Popup#unfreeze() methods
  • Added onClick option for link view
  • Added ignoreCase option to text-match view
  • Fixed various edge cases for text-match view
  • Fixed markup for tree-leaf view in non-collapsible state
  • Fixed data for toggle view when used in toggle-group
  • Removed margin reset for header views when first child of block
  • Exposed internal helpers as utils: debounce, contentRect, jsonStringifyInfo, jsonStringifyAsJavaScript, persistent, pattern and pointerXY modules

1.0.0-beta.46

23 Oct 07:41
Compare
Choose a tag to compare
  • Added dropdown view
  • Changed index and report page buttons to behave like a link (#34)
  • Changed marker of darkmode is enabled from attribute data-darkmode to class .discovery-root-darkmode
  • Fixed darkmode state restoring from localStorage on init
  • CSS fixes

1.0.0-beta.45

21 Oct 15:50
Compare
Choose a tag to compare
  • Fixed crash when localStorage is not available (e.g. due CSP restrictions)
  • Fixed darkmode and darkmodePersistent settings for App to use defaults when coresponding values in options are undefined
  • Fixes for modelfree and dark mode

1.0.0-beta.44

21 Oct 10:25
Compare
Choose a tag to compare
  • Added option to control localStorage usage for darkmode state
  • Fixed dark mode switching in editor's hint popups
  • text-match view
    • Added support for a string as match pattern
    • Removed requirement for parentheses in regexp patterns
  • badge views
    • Added hint data option to show tooltip with a hint

1.0.0-beta.43 Dark mode!

20 Oct 17:18
Compare
Choose a tag to compare
  • Introduced dark color scheme a.k.a. dark mode. Various fixes and improvements in views markup and styles
  • Improved loading progress overlay repaints to avoid freezing when document became inactive
  • Added Widget#pathToQuery(path) method
  • Added toggle and toggle-group views
  • Changed a bit default page in model free mode
  • Fixed children option ignorance in itemConfig when limitLines is used for tree view
  • Fixed href option to work for button view
  • Fixed path generation in signature details
  • Fixed context for Widget#nav.menu item rendering

1.0.0-beta.42

09 Oct 15:34
Compare
Choose a tag to compare
  • Exposed lookupObjectMarker(value, type?) and lookupObjectMarkerAll(value) methods to prepare handler
  • Added Widget#queryFn(query) method
  • Added Widget#queryToConfig(query) method (uses internally for extracting config from a string)
  • Isolated view defined props and pass it to view's render. That means that special properties (view, when, data, whenData, className and postRender) aren't passing to a view's render now
  • Added queryable values in view's config. A queryable value is a string that starts with =, e.g. { view: 'list', limit: '= size() > 13 ? 10 : false' } will show entire list if its size <= 13, otherwise show by chunks of 10 items
  • Added in-string configuration for views, e.g. "list{ limit: size() > 13 ? 10 : false, item: 'auto-link' }" will be converted into { view: 'list', limit: '=size() > 13 ? 10 : false', item: 'auto-link' }
  • Made header on report page sticky positioned
  • Fixed view rendering breaking on data query processing
  • Fixed Symbol() stringifying in struct view
  • Fixed overlapping a selection by view name spotlighting in view editor
  • Fixed report scroll jumping on typing in an editor due to change in rendered content height
  • Fixed table view rendering crash on column order detection
  • Fixed auto-sorting for a table view column with both data and content in config

1.0.0-beta.41

06 Oct 20:45
Compare
Choose a tag to compare
  • Reworked data loading progress bar to respect Content-Encoding and X-File-Size headers
  • Fixed styles for h3, h4 and h5 views