Skip to content

1.0.0-beta.39 Views showcase!

Choose a tag to compare

@lahmatiy lahmatiy released this 02 Oct 15:32
· 1041 commits to master since this release
  • Fixed patching for prismjs@^1.21.0
  • Bumped jora to 1.0.0-beta.3
  • Introduced view's showcase page (#views-showcase)
  • Core
    • Improved error handling in data prepare handler
    • Display data loading progress
    • Reworked navigation panel and introduced Widget#nav API
    • Removed Widget#addBadge() method (use Widget#nav API instead)
    • Added Widget#setPageRef() method
    • Added optional postRender() method in view config, which is useful for final decoration
    • Fixed empty entry (i.e. { "": true }) in #.params when page's route has no params
  • Report page
    • Improved syntax highlighting in editors
    • Added known view highlighting in view editor
    • Fixed loss of functions, regexps and dates on view source formatting on report page
    • Improved available views presentation
  • Changes in views:
    • alert
      • Changed variations to have .view-alert class
      • Fixed CSS styles
    • block
      • Removed missed styles, it affected <h2> by legacy reasons
    • button
      • Added support for href and external values in data, which ignores when button is disabled or onClick is specified
      • Don't apply onClick when button is disabled
      • Add onclick class to element when onClick handler is applied
      • Preserve style of hover state while triggered popup is showing
      • Fixed styles to preserve a consistent size across variations
    • header
      • Changed variations to have .view-header class
      • Fixed CSS styles
    • menu-item
      • Added support for href and external values in data, which ignores when item is disabled or onClick is specified
      • Changed to use <a> as a view root element
      • Add onclick class to element when onClick handler is applied
      • Preserve style of hover state while triggered popup is showing
    • select
      • Added beforeItems and afterItems options to specify content before/after items
      • Added limit option to limit items count on first render
      • Added minItemsFilter option to specify minimal items count (excluding reset item) required to apply filter input (default 10)
      • Changed popup content layout and styles
    • signature
      • Changed location path in details popup to use [index] instead of pick(index)
    • source
      • Added highlighting for discovery-view and discovery-query
    • struct
      • Improved estimated JSON size computation in action popup
      • Added "Copy path" to action popup
    • table
      • Added auto detection for column sorting state, i.e. determine an order of values in a column and mark column coresponding to the order if any
      • Make column non-sortable when all its values are equal, since sorting have no effect
      • Used natural sorting approach for generated sorting functions
      • Inverted icons for sorting direction
    • tabs
      • Changed tabs config option to take a query
      • Fixed tab.content overriding by tabConfig.content (tab.content wins as intended now)
      • Apply tabs configuration to tab's config instead of data
    • tab
      • Moved value and text from data to config
      • Added disabled config option
      • Add onclick class to element when onClick handler is applied