Commit Graph

598 Commits

Author SHA1 Message Date
Andrew Kingston 96fdcb6d93 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston 07e455257c Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston 7a1b22ef5f Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston f47112e7de Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00
Andrew Kingston c922f4a7b9 Replace manual usage of square brackets with string-templates makePropSafe util 2021-11-12 15:28:08 +00:00
Andrew Kingston b7b8231c51 Clafify comments 2021-11-12 15:27:42 +00:00
Andrew Kingston df455c2719 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston c4bbaa6617 Allow blocks which take children to work with DND 2021-11-12 15:18:55 +00:00
Andrew Kingston aaa448cca8 Update settings bar to account for new block settings structure 2021-11-12 14:48:53 +00:00
Andrew Kingston 3db35d3af9 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
Andrew Kingston fc6e531115 Merge pull request #3299 from Budibase/full-bindings
Full bindings for relationships and attachments
2021-11-11 11:01:27 +00:00
Andrew Kingston 862bf14268 Rename blocks to be shorter 2021-11-10 15:56:51 +00:00
Andrew Kingston 5302c85f49 Refactor all block link settings to be URLs rather than onclick handlers. Add settings for linking card titles in card list blocks 2021-11-10 15:52:36 +00:00
Andrew Kingston b72270c401 Merge pull request #3311 from Budibase/block-search-improvements
Improve block searching
2021-11-10 12:08:10 +00:00
Andrew Kingston 1ea8563046 Update block search so that string fields do a 'starts with' search rather than an exact match 2021-11-10 11:48:02 +00:00
Andrew Kingston 0456f1ef2c Add comment to client rows API 2021-11-09 15:48:04 +00:00
Andrew Kingston 831f3b543f Disable links when in builder preview 2021-11-09 15:24:13 +00:00
mike12345567 f8e790bd2f Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-09 11:20:17 +00:00
Andrew Kingston 8e0b265815 Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
mike12345567 b310918ec4 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
Andrew Kingston 9883fdb623 Fix card list block empty state and update size 2021-11-08 16:40:45 +00:00
Andrew Kingston 37c2690a31 Fix card button text potentially showing as undefined 2021-11-08 14:51:13 +00:00
Andrew Kingston a7849eac7d Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Andrew Kingston e2cbf054ce Lint 2021-11-05 12:43:26 +00:00
Andrew Kingston d5002d3dda Add ability to link rows in tables, and link rows in the table with search block 2021-11-05 12:38:33 +00:00
Martin McKeaveney ff9130c49c tidy up 2021-11-04 17:28:07 +01:00
Martin McKeaveney 1219c53250 fix safari 2021-11-04 17:24:56 +01:00
Andrew Kingston d5983d5603 Lint 2021-11-04 11:31:43 +00:00
Andrew Kingston adda702588 Add button to table with search block and support defining multiple settings sections in component manifest entries 2021-11-04 11:30:43 +00:00
Andrew Kingston 4019eeaa26 Fix picker width in table with search block and enable autosizing of other search components 2021-11-03 15:53:45 +00:00
Andrew Kingston 512ed5aa2a Add support for tables updating server-side sorting 2021-11-03 15:26:15 +00:00
Andrew Kingston d054d496be Allow table with search block to render correct components for all relevant field types 2021-11-03 11:58:06 +00:00
Andrew Kingston fcf87956de Standardise fetching schema from client apps to fix issues with determing schema for certain data sources 2021-11-03 11:57:47 +00:00
Andrew Kingston 76c0f24977 Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston e43aba075e Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston 0f1d9c4de3 Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston 38eacb5a10 Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston e6ffccaff7 Add generic block structure with support for writing blocks like normal svelte components rather than a JSON builder 2021-11-02 08:45:27 +00:00
Andrew Kingston e9dd47b562 Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
Andrew Kingston 04bbbd7873 Add in-preview editing for all field labels 2021-10-28 16:31:22 +01:00
Andrew Kingston c48a56b997 Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston 387831b799 Add in-preview editing of buttons and add settings bar for buttons 2021-10-28 15:29:48 +01:00
Andrew Kingston 234f53d37a Focus contenteditable node when starting editing a component in the preview 2021-10-28 13:28:43 +01:00
Andrew Kingston 7910b6a40f Add in-preview editing of link text and improve placeholder usage when combined with in-preview editing 2021-10-28 13:20:04 +01:00
Andrew Kingston de163567f5 Move keyboard handling into client library so that component deletion via keyboard can reference client app state 2021-10-28 13:00:55 +01:00
Andrew Kingston b522726afc Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
Andrew Kingston 25bafc15d2 Use explicity onDestroy calls rather than an onMount return value to ensure callbacks are actually executed to fix data provider cleanup issues 2021-10-27 14:24:36 +01:00
Andrew Kingston 2af3888d8a Don't invalidate users table due to autocolumn fields in schema when hot reloading data in the client library 2021-10-27 08:37:51 +01:00
Andrew Kingston 262b238388 Invalidate related tables automatically via client library and fix issue with data source invalidation from modals 2021-10-26 19:12:55 +01:00