Obsidian Notion Like Tables Versions Save

Your premiere tool for creating and managing tabular data in Obsidian.md

5.0.5

1 year ago

5.0.4

1 year ago
  • Fixed #282
  • Slight position tweaks on menus
  • Fixed background/border for column name input
  • Added scroll container to tag menu

5.0.3

1 year ago
  • Fixed #281 - Cursor no longer jumps when typing in text cells
  • Fixed highlighting. You may now highlight text while cells

5.0.2

1 year ago

Added debug mode for sandbox debugging

5.0.1

1 year ago
  • Fixed bug where sync event would sometimes set the current table state to be a previous state

5.0.0

1 year ago

Data

  • Now using a flat data structure - cells[] instead of cells[], tags[], headers[]
  • Refactored the table state
    • We now use TableModel which is a serializable instance of the table markdown and TableSettings which contains all the settings of the table that aren't needed for data serialization and only for display
  • The content field on cells were replaced with markdown and html
    • We now use markdown.it for processing
      • Fixes #250
      • Fixes #248
      • Fixes #231
      • Fixes #204
      • Fixes #189
  • Table will now show "Loading..." on initial load

Live Preview

  • Added support for live preview
    • MarkdownPostProcessor replaced with MarkCodeBlockProcessor
      • Table id is always available for the live preview element
        • Fixes #251
    • Fixed: Table no longer reloads upon every change
    • Markdown is loaded from a separate file called table-id-<my-specifier> in the _notion-like-tables directory
      • Fixes #255
  • Completely reworked the menu system by using Redux
  • DOM events were moved from React directly into the plugin to make sure menu's update position and close on resize/scroll

Tag System

  • Fixed: the tag system for the new table model
    • Fixed #201
    • Fixed #165
    • Fixed #185
    • Fixed #212
    • Added #131
    • Added unit tests
  • Added: support for changing between column types of tag or multi-tag

Cell Resizing

The resizing system for cells was overhauled. We are now using just regular html tables

  • Fixed #209

Other Small Fixes

  • Added: ability to check a checkbox cell by clicking on the cell itself
  • Fixed: reduced min-column-size of a cell to match that of a checkbox
  • Fixed: allow auto width on all cells
  • Added: Stack + Wrap components for handling spacing between components
  • Refactored: removed IconText and IconButton replaced with Icon and Button with support for icons
  • Fixed: hover on buttons that overlay a selectable component
  • Added: remove button to the OptionBar sort filter

Sorting

  • Added: support for default sort
    • Added a rows key to TableSettings that accept RowSettings
    • Added a creationDate key to the RowSettings object
  • Added support for links with alias
    • Fixed: escaping of the pipe character

Migration

  • Added a migration tool that generates NLT codeblocks + create the necessary table definition file

Other Changes

Minor refactoring of functions/variable names

4.3.1

1 year ago
  • Refactored CONTENT_TYPE to CellType
  • Typed all type parameters to CellType
  • Removed cell errors
  • Removed class system for Cells
  • Made all Cell and CellEdit classes accept content
  • Added Notion-Like switching between column types
    • Fixes #146
    • Fixes #196

4.3.0

1 year ago
  • Enabled multi-table support for files
    • Replaced tableIndex with blockId. A block id must be placed 1-2 spaces below the last table line.
  • Removed insert and move options for rows
  • Removed excluded files setting
  • Sorting rows will now sort the source markdown
  • Fixed #202

4.2.6

1 year ago

Fixed the table not-updating bug which would only affect some tables and not others.

  • The markdown wouldn't update when a table change was made which would mean that the table would appear non-functional.
  • This was due to the regex not matching oddly formatted tables (tables that were valid enough to be rendered by Obsidian but might have had 1 weird character or a missing pipe, etc).
  • Changed findTableRegex to replaceTableInText function

4.2.5

1 year ago
  • Added missing Submenu component wrapper to SortSubmenu, TypeSubmenu, InsertSubmenu and MoveSubmenu (bug introduced last update)