Skip to content

Releases: odoo/o-spreadsheet

v0.8.0

16 Sep 12:55
Compare
Choose a tag to compare

Improvements

  • expose:
    • isIdle as a getter
    • formatDecimal
    • sheet dimensions
  • cell_menu_registry: reorganise items
  • components: Set maximum ranges in selection input
  • side_panel: Generalize control panel style
  • figures: Type figure data
  • Charts - rudimentary support to create charts (lines, bar and pie) by carefully selecting the data series, the labels and entering the title.

Fixes

  • core: Trim sheet names and case insensitive check
  • composer: support sheet with space
  • sheets: use DELETE_SHEET_CONFIRMATION to delete a sheet
  • clipboard: paste from os to outside of sheet

v0.7.0

10 Sep 08:27
Compare
Choose a tag to compare

Breaking changes

  • autofill: allow to use a custom component to render the tooltip
    • getLastValue is now replaced by getAutofillTooltip
    • The function apply of a AutofillModifierImplementation should now return a Tooltip, an object with two attributes:
      • component (optional, a custom owl Component)
        • If empty, it use a default component with simply render the content as a string
      • props props that are given to the component

Improvements

  • grid, menu: small design/color changes
  • helpers: Support sheet reference in toZone
  • core: we can now:
    • rename a sheet
    • delete a sheet
    • move a sheet
    • duplicate a sheet
  • core: bottom_bar: add sheet context menu
    • A new event can now be triggered by Spreadsheet: edit-text. This event should ask an input to the user and call a given callback with the input
  • history: do not historize standalone ACTIVATE_SHEET command
  • autofill: allow to use a custom component to render the tooltip

Fixes

  • composer: Don't process keyup events after edition is done

0.6.2

03 Sep 12:32
Compare
Choose a tag to compare

Fix

Fix evaluation loop when async formulas are in error
Fix range adaptation

0.6.1

01 Sep 07:21
Compare
Choose a tag to compare

Improvements

  • Use other colors palette
  • Number representation performance
  • Tokenizer performance

Fixes

  • Correctly update cross sheet range references

v0.6.0

28 Aug 06:48
Compare
Choose a tag to compare

v0.6.0

Improvements

  • {col, row}_registry: reorder items
  • compiler: cache compiled functions (according to structure)
  • figures: add resizing feature to figures
  • misc: Expose debug elements
  • compiler: allow lazy parameters
  • functions: add functions to evaluate errors

Fixes

  • numbers: fix formatting in another language
  • CF/Autofill: Make CF work when Autofilling
  • merge: Use correct sheet to update merge style.
  • figures/composer: display composer above figures
  • core: Correctly update range when all rows are removed

v0.5.0

18 Aug 14:19
Compare
Choose a tag to compare

v0.5.0

Improvements

  • support increase and decrease decimal positions #488

Fixes

  • merge: optimize expandZone
  • zones: overlap function did not work in some case
  • core: correctly support multi-sheet in remove columns/rows

v0.4.1

14 Aug 10:04
Compare
Choose a tag to compare

v0.4.1

Improvements

  • composer: select a reference from another sheet
  • clipboard: allow copy/paste value only

Fixes

  • properly compute mouse position with various elements
  • make drag and drop more robust
  • core: correctly detect sheet for second part of ranges
  • core: offset on batched remove rows

v0.4.0

12 Aug 08:36
Compare
Choose a tag to compare

v0.4.0

Breaking changes:

CREATE_SHEET command now takes an id as parameter
getNumberColsand getNumberRowsnow takes the sheet id as parameter

Improvements

  • parser: implement the unary operator +
  • functions: add some math functions
  • core: Get row and col number of inactive sheets
  • registries: label of insert rows/cols
  • top_bar: hide insert rows/cols if full col/row is selected
  • sidepanel: Tweak header and buttons design
  • sidepanel: Toggle sidepanel
  • removeRows is now batched (all consecutive rows are removed in one shot) for performance reasons
  • astToFormula is now exposed
  • introduce the concept of figure. The figure is an element that lives on top of the grid. It has a registry [TO BE COMPLETED]
  • core: move applyOffset to core plugin
  • perf: micro-optimisations
  • core: Batch row deletion
  • functions: add
    • PRODUCT
    • STDEV
    • STDEV_P
    • STDEV_S
    • STDEVA
    • STDEVP
    • STDEVPA
  • functions: add database functions
  • topbar: allow to add custom components to the top-right

Fixes

  • conditional_format: Add rule to unactive sheet
  • formulas: support cross-sheet references on copy/paste/autofill
  • conditional_formatting: correctly set ranges on creation
  • sidepanel: Remove padding and fix delete button
  • grid, model: correctly update viewport on scroll

v0.3.0

16 Jul 12:35
Compare
Choose a tag to compare

v0.3.0

Breaking changes:

RESIZE_COLUMNS command now takes a sheet id as parameter

Improvements

  • core: remove duplicate key cols and rows, height and width of workbook
  • core: toggle formula visibility
  • core: get row/col of inactive sheet
  • render: split adjust viewport into multiple parts

Fixes

  • core: saving the row and col number correctly
  • core: use command sheet when resizing row and cols
  • tests: fix topbar tests fails depending on execution order
  • cross sheet dependencies cycles incorrectly detected
  • renderer: tooltip randomly generate console errors
  • renderer: Switching sheets of different size causes a crash
  • renderer: Delete the last row or columns

V0.2.0

02 Jul 08:05
Compare
Choose a tag to compare

v0.2.0

Improvements

  • menuItems: unify registries (more details in changelog)
  • menus: add actions to manipulate the grid and set the correct cursor when action is disabled
  • formulas: add support for & operator
  • sidepanel: remove duplicate code
  • evalution: add support for "<>" in formulas
  • autofill: support merges
  • topbar: add date format style on menubar
  • components: Add selection input component

Fixes

  • numbers: correctly format exponential numbers
  • translations: do not translate internal error message
  • translations: add missing translations in functions
  • renderer: draw white merge background properly
  • context_menu: close menus when clicking elsewhere
  • parser: proper priority for function with sub expressions
  • overlay: open context menu only on cols/rows
  • overlay: ensure mouseup is correctly fired
  • selection: accept valid cols/rows selection
  • selection: preserve selection after inserting rows/cols
  • grid: display error tooltip for whole merge
  • clipboard: don't paste if nothing was copied
  • menus: Copy/Paste to/from OS clipboard
  • composer: allow to select a cell after a space
  • composer: correct height of autocomplete propositions in formulas