Commit Graph

1196 Commits

Author SHA1 Message Date
Andrew Kingston 638972804d Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston b1a2bb59a6 Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston 1b4e95ed3c Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00
Andrew Kingston cd94f72faa Replace manual usage of square brackets with string-templates makePropSafe util 2021-11-12 15:28:08 +00:00
Andrew Kingston 04e8c4a932 Clafify comments 2021-11-12 15:27:42 +00:00
Andrew Kingston 07f15c5759 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston 65111272b8 Allow blocks which take children to work with DND 2021-11-12 15:18:55 +00:00
Andrew Kingston 8b3edeea3b Update settings bar to account for new block settings structure 2021-11-12 14:48:53 +00:00
Andrew Kingston e0c88597a7 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
Andrew Kingston 7fd5f60ecc
Merge pull request #3299 from Budibase/full-bindings
Full bindings for relationships and attachments
2021-11-11 11:01:27 +00:00
Andrew Kingston 3ebf44d1f7 Rename blocks to be shorter 2021-11-10 15:56:51 +00:00
Andrew Kingston 32c3788a53 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 143510ceb8
Merge pull request #3311 from Budibase/block-search-improvements
Improve block searching
2021-11-10 12:08:10 +00:00
Andrew Kingston dd28adbf68 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 b0e0b61527 Add comment to client rows API 2021-11-09 15:48:04 +00:00
Andrew Kingston 7aa337f7d2 Disable links when in builder preview 2021-11-09 15:24:13 +00:00
mike12345567 2155e5f5eb Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-09 11:20:17 +00:00
Andrew Kingston d0755ce8ac
Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
mike12345567 15907280b2 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 de9c038150 Fix card list block empty state and update size 2021-11-08 16:40:45 +00:00
Andrew Kingston 3e5980082f Fix card button text potentially showing as undefined 2021-11-08 14:51:13 +00:00
Andrew Kingston aa56d6fd63 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 2f949bad85 Lint 2021-11-05 12:43:26 +00:00
Andrew Kingston f8f906b9de 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 37ddd416c0 tidy up 2021-11-04 17:28:07 +01:00
Martin McKeaveney a48f8434eb fix safari 2021-11-04 17:24:56 +01:00
Andrew Kingston 9d473e9a34 Lint 2021-11-04 11:31:43 +00:00
Andrew Kingston dc9b1a2a8c 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 3acc937ddc 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 c5433e6ef8 Add support for tables updating server-side sorting 2021-11-03 15:26:15 +00:00
Andrew Kingston 7ec5c2b1f2 Allow table with search block to render correct components for all relevant field types 2021-11-03 11:58:06 +00:00
Andrew Kingston 73d5d1289b 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 212e62b62e Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston ee7ab70f4d Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston 4cbe82c1db Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston 7bd46a6ecb Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston 808d2d0f73 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 6ad3df2e7f Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
Andrew Kingston f682e7e4ac Add in-preview editing for all field labels 2021-10-28 16:31:22 +01:00
Andrew Kingston 90403948dd Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston 232957f610 Add in-preview editing of buttons and add settings bar for buttons 2021-10-28 15:29:48 +01:00
Andrew Kingston d3839f2f91 Focus contenteditable node when starting editing a component in the preview 2021-10-28 13:28:43 +01:00
Andrew Kingston 9bf5d50d4f 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 1333844a2c 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 7c16a1423b Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
Andrew Kingston 6b69ce4eb9 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 5d5a35fd32 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 870219722a Invalidate related tables automatically via client library and fix issue with data source invalidation from modals 2021-10-26 19:12:55 +01:00
Andrew Kingston 8cf672252a Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Andrew Kingston f85b9ed52d
Merge pull request #3083 from Budibase/fix/date-sorting
Fix date format of dates created with Flatpickr (the date picker in apps)
2021-10-20 13:20:26 +01:00
Andrew Kingston bf74a750f2 Give flatpickr its own root component in client apps to avoid it hijacking key events on the whole page 2021-10-19 15:11:14 +01:00
Andrew Kingston f5f2611a3e Remove date parsing from client date picker as it has moved to the core date picker 2021-10-18 17:12:02 +01:00
Rory Powell 63aaad4812 Merge branch 'develop' into options-text-columns 2021-10-18 11:25:35 +01:00
Rory Powell 88cdc7c1bd Allow options picker to be used on text columns 2021-10-14 16:36:45 +01:00
Andrew Kingston 96a723d838 Fix issue with button roundness when using other sizes than medium 2021-10-14 10:43:17 +01:00
Martin McKeaveney 43d3c2af4d adding made in budibase tag 2021-10-07 20:57:50 +01:00
Andrew Kingston 67543ef9be Fix drag and drop indicator positioning when not using desktop preview 2021-10-06 13:59:25 +01:00
Andrew Kingston 2a736c16d7 Fix padding being added to empty layouts in mobile view 2021-10-06 13:33:37 +01:00
Martin McKeaveney 7a7fd6c02f fixing import 2021-09-30 16:52:21 +01:00
Martin McKeaveney 665a9620a4 lint 2021-09-30 16:39:10 +01:00
Martin McKeaveney a251c8bfd0 merge with develop 2021-09-30 16:05:06 +01:00
Martin McKeaveney b8fef9965d end user ping for client apps 2021-09-30 15:03:57 +01:00
Martin McKeaveney 2f491f3b6f
Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Andrew Kingston 5c6c21aeef Move all lucene logic into central builder helpers file 2021-09-27 12:59:49 +01:00
Andrew Kingston 78e4f00e11 Add button action for manually refreshing a data provider 2021-09-23 19:34:01 +01:00
Andrew Kingston c89e198bf8 Simplify some DND style rules 2021-09-21 08:47:43 +01:00
Andrew Kingston ee2e2799d9 Enable left/right side targetting for DND 2021-09-21 08:36:02 +01:00
Andrew Kingston 7663bdb534 Revert preservation of base component styles by styleable helper to fix stale styles being applied after removal 2021-09-20 16:47:53 +01:00
Andrew Kingston 18506f1235 Reduce DND snap to edge threshold to prevent unwanted target spamming on the edges of the parent component 2021-09-20 16:11:42 +01:00
Andrew Kingston cae514ca06 Simplify client app component re-render keying 2021-09-20 15:41:20 +01:00
Andrew Kingston 392a1f05ee Refactor DND labels to before and after rather then above and below 2021-09-20 15:35:27 +01:00
Andrew Kingston 9634b021a5 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston 8defbd1ed2 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +01:00
Andrew Kingston f65b374622 Remove preview specific data tags from components when running real apps 2021-09-20 12:16:23 +01:00
Andrew Kingston 0aedd8d802 Fix spectrum button not being able to be dragged 2021-09-20 12:14:40 +01:00
Andrew Kingston 03be8ee153 Prevent DND targetting either above or below the screen/layout, and fix bug determinging whether a drop target is valid 2021-09-20 09:12:35 +01:00
Andrew Kingston c2aeefae7b Only allow dropping inside empty components that accept children to massively reduce the amount of unwanted drop targets due to parent container components 2021-09-20 08:26:44 +01:00
Andrew Kingston 2c7e93423e Fix a few possible crashes by dragging in certain ways, and display on screen when an invalid drop target is hovered over 2021-09-20 08:06:01 +01:00
Andrew Kingston 8460744e68 Apply grab cursor when hovering over a draggable component 2021-09-17 14:30:54 +01:00
Andrew Kingston a6186dbd39 Refactor to use generic flag for dragging and hide settings bar when dragging 2021-09-17 14:17:50 +01:00
Andrew Kingston 53053c0ea2 Ensure hover indicator is correctly hidden when using DND and improve DND labels 2021-09-16 16:02:45 +01:00
Andrew Kingston 52c4beda8f Ensure transitions work properly when showing and hiding DND candidate positions 2021-09-16 15:49:58 +01:00
Andrew Kingston 2fc9672bfa Add labels to DND to describe where the component will be dropped 2021-09-16 15:08:42 +01:00
Andrew Kingston a05dc7e295 Add above/below dnd and support for dropping above/below components which also allow dropping inside 2021-09-16 14:28:44 +01:00
Andrew Kingston ebf783caee Fix progress circle never animating because of wrong default prop 2021-09-16 14:11:05 +01:00
Andrew Kingston b0f6bd9e76 Prevent dragging the screen or layout components, and prevent dragging any layout components when previewing a screen 2021-09-16 07:52:49 +01:00
Andrew Kingston 4be4dd014d Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston 67b12b61bd
Merge pull request #2597 from Budibase/fix-left-nav
Small fixes for navigation bar
2021-09-13 15:04:47 +01:00
Andrew Kingston 5f48f99194
Merge pull request #2584 from Budibase/horizontal-bar-chart
Add horizontal bar chart setting
2021-09-13 11:41:26 +01:00
Andrew Kingston 36fa21f472 Fix 1px offset with left nav bar 2021-09-10 16:36:59 +01:00
Andrew Kingston 6831bbb5d7 Fix custom theme integration with date time field 2021-09-10 16:36:43 +01:00
Andrew Kingston 13bfc0212b Fix left navigation in layouts when on a tablet sized resolution 2021-09-10 15:13:48 +01:00
Andrew Kingston 2f367ed95c Update validation so that 'minimum' and 'minimum length' contraints both accept null values 2021-09-10 14:30:10 +01:00
Andrew Kingston ad3cb0a2c4 Add horizontal bar chart setting 2021-09-09 19:28:37 +01:00
Andrew Kingston 11e728a373 Rename client app wrapper divs for clarity 2021-09-08 10:28:19 +01:00
Andrew Kingston 3be5e15f82 Use correct component to determine device size 2021-09-08 10:22:48 +01:00
Andrew Kingston 079634851b Fix issue with endless scrolling when previewing a mobile device 2021-09-08 10:22:34 +01:00
Andrew Kingston 914548de0c Revert preview border to 1px and fix exact size of preview on different devices 2021-09-08 09:51:08 +01:00
Andrew Kingston 35abb39b24 Add support for correct mobile and tablet previews 2021-09-08 09:40:25 +01:00
Andrew Kingston 802cdc48c8 Update position of indicators in preview to clip better 2021-09-08 09:40:02 +01:00
Andrew Kingston ca9df2764d Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-06 17:29:51 +01:00
Andrew Kingston 44dd731be8 Add button to reset theme to default and fix determination of theme 2021-09-06 16:51:40 +01:00
Andrew Kingston b11deece29 Fix button theming and add nav text theming 2021-09-06 16:23:12 +01:00
Andrew Kingston 5568ab084b Add custom theme options for button roundedness and header color 2021-09-03 15:28:35 +01:00
mike12345567 42fb0584a2 Fixing an issue where many rows were handled from different tables in client. 2021-09-03 15:04:34 +01:00
mike12345567 2dd1e7f45e Fixing an issue that occurs when the table name and the primary display column are the same name. 2021-09-03 14:49:56 +01:00
Andrew Kingston 4781af1042 Ensure defaults are set for custom theming and fix a few inconsistencies 2021-09-03 14:43:21 +01:00
Andrew Kingston de9dce77f4 Add custom theming to icons 2021-09-03 11:53:25 +01:00
Andrew Kingston 7ee7feca16 Add custom theming for primary color and primary hover color to form components 2021-09-03 11:50:09 +01:00
Andrew Kingston dbbcf4052e Hide state action in old apps and add working basic implementation of theming 2021-09-02 11:38:41 +01:00
Andrew Kingston 3ab95c2004 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-01 16:10:36 +01:00
Andrew Kingston 9e5805f092 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston 23a6267f6a Add ability to persist state values in local storage 2021-08-26 17:52:04 +01:00
Andrew Kingston a7be624d64 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston 8cdda6d208
Merge pull request #2441 from Budibase/multistep-forms
Multi-step forms
2021-08-25 12:40:44 +01:00
Andrew Kingston 1b91db2ece Prevent opening a screen modal if already inside a screen modal 2021-08-24 15:56:23 +01:00
Andrew Kingston 6be1e0c828 Fix issue with memoizing onclick handlers nested inside conditional UI conditions 2021-08-23 16:39:09 +01:00
Andrew Kingston 8c114fae34 Show component hidden by conditional UI if they would otherwise hide the selected component 2021-08-23 14:01:57 +01:00
Andrew Kingston 7f07390277 Add single button action for changing form step 2021-08-20 09:54:54 +01:00
Andrew Kingston 10066bf3e0 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston a895771179 Fix bug determining whether an app is inside the preview or not 2021-08-19 16:06:33 +01:00
Andrew Kingston 643952e119 Fix crash when evaluating builder preview specific code in prod apps 2021-08-19 16:04:15 +01:00
Andrew Kingston a5778f9dbc Ensure that the correct form step is always visible in builder preview 2021-08-19 14:53:13 +01:00
Andrew Kingston 3fa5b3b571 Update validate form action to be able to only validate the current form step 2021-08-19 12:52:50 +01:00
Andrew Kingston 9e24a76810 Ensure client preview indicator doesn't crash when encountering incorrect node types 2021-08-19 12:52:13 +01:00
Andrew Kingston 01b28f358a Add button actions for navigating form steps 2021-08-18 15:21:18 +01:00
Andrew Kingston c44d0a684b Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston 2e778a1111 Tidy up device bindings provider 2021-08-13 11:34:11 +01:00
Andrew Kingston f4d965347d Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
mike12345567 42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
Martin McKeaveney d9ad54d939 merge with master 2021-08-04 13:20:11 +01:00
Andrew Kingston e865a5d363
Merge pull request #2233 from Budibase/peek-screen
Open screen in modal
2021-08-04 12:08:49 +01:00
Michael Drury 655bfe1a0c
Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Michael Drury 1beca4ee96
Merge pull request #2076 from Budibase/feature/multi-tenants
Multi-tenancy/organisations
2021-08-04 10:01:22 +01:00
Andrew Kingston 933b5d41f8 Lint 2021-08-03 12:52:01 +01:00
Andrew Kingston 74b323faa3 Fix going full-screen when opening an external link in a modal 2021-08-03 12:22:06 +01:00
Andrew Kingston f095be6aac Darken modal underlay and add actions above screen modal to allow entering full screen or closing 2021-08-03 12:02:20 +01:00
Andrew Kingston 062d7e4450 Rename visual actions from 'peek' to just 'open' screen in modal 2021-08-02 15:50:59 +01:00
Andrew Kingston 473ccd27fa Add action to close peek modal and proxy notifications from the iframe 2021-08-02 15:12:38 +01:00
Andrew Kingston c7566a7b90 Revert to a cleaner modal with no title or buttons for screen peeking 2021-07-30 18:16:37 +01:00
Andrew Kingston 86e4f05670 Make full screen button quiet in peek modals 2021-07-30 14:13:43 +01:00
Andrew Kingston 7fef963067 Add initial work on peeking screens, only show one notification at a time, use spectrum notifications 2021-07-30 14:01:01 +01:00
Andrew Kingston 177834ea8a Add back in client app border only when inside builder preview 2021-07-30 10:06:16 +01:00
Martin McKeaveney f1fcbc22c6 merge with master 2021-07-29 10:06:33 +01:00
Martin McKeaveney 3736049f27 remove border around app 2021-07-28 22:50:27 +01:00
Martin McKeaveney 9540cb1048
Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +01:00
mike12345567 e2e796cd9d Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Maurits Lourens d485e95e7b fix lint issues 2021-07-26 15:22:14 +02:00
Maurits Lourens aea2de9058 Merge branch 'develop' into clear_form_action
# Conflicts:
#	packages/client/src/utils/buttonActions.js
2021-07-26 15:13:10 +02:00
Andrew Kingston caccba8fd8 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston bbcc350b14 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-26 13:04:08 +01:00
Maurits Lourens 35d5a2d082 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston 41953e049d Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Andrew Kingston de9f60c986 Redirect to login screen on client logout to prevent viewing public pages if they exist 2021-07-25 13:47:28 +01:00
Andrew Kingston 59bfba4331 Fix error with refreshing app package so that page reload on logout can be prevented 2021-07-25 13:43:07 +01:00
Andrew Kingston 7107b6aff3 Reload location on client logout for full reset, avoiding error when public pages exist 2021-07-25 13:29:27 +01:00
Michael Drury a824746df9 Linting. 2021-07-25 12:09:50 +01:00
Michael Drury 48f797185c Adding back logout functionality. 2021-07-25 12:07:25 +01:00
Andrew Kingston fdb11e102f
Merge pull request #2065 from Budibase/fix/save-row-action
Use tableId parameter when saving rows from button action
2021-07-24 12:13:09 +01:00
mike12345567 36e1ddf423 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 3e8d7a8ae2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
Andrew Kingston 143135151a Send api version as header with every request from client library 2021-07-23 15:56:18 +01:00
Andrew Kingston 4fd293063e Enrich button actions nested inside conditions 2021-07-23 15:44:16 +01:00
Andrew Kingston 24f6adbcca Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston c67e47d7ab Use tableId parameter when saving rows from button action 2021-07-22 16:50:35 +01:00
mike12345567 190798d4ee Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
Andrew Kingston e721d4e01d Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston 70d29c32f8 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 19f2a2067e Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston 1ef2820b5d Expose the screens and layouts from the screen store in the client library 2021-07-07 11:28:53 +01:00
Andrew Kingston b6c6dba721 Don't attempt to enrich a user object whenever the role is PUBLIC to avoid 403s 2021-07-07 11:28:35 +01:00
Andrew Kingston 8c39c4792d Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 0381204855 Don't reload client app on 403, just show an error instead 2021-07-06 18:37:06 +01:00
Andrew Kingston a84d1d2ec8 Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston 4c9279bd91 Update colors of selection and hover indicators in client apps 2021-07-05 09:37:06 +01:00
Andrew Kingston 07ed0b1217 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 09:03:24 +01:00
Andrew Kingston 9c954609fd Add border style as an explicit option to prevent issues with dynamically adding it via the styleable helper 2021-07-01 00:40:16 +01:00
Andrew Kingston a36ddac591 Update colours of selection indicators 2021-06-30 21:23:55 +01:00
Andrew Kingston 602255c1fc Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston e0e6ef29a2 Add custom scrollbars to client apps 2021-06-30 19:57:31 +01:00
Andrew Kingston d7ea2fddea Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 3a615306a6 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Andrew Kingston b4a8a9c160 Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Andrew Kingston 9a6a0fded7 Use the real current user even inside builder preview 2021-06-29 17:41:02 +01:00
Andrew Kingston d28c48ccad Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston f467f9809c Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston ed2ff97df1 Add ability for buttons to link to external URLs 2021-06-25 16:07:25 +01:00
Andrew Kingston 171b4c9f9f Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
Andrew Kingston aecebc96a7 Be more explicit about hiding overflow at the top levels of an app 2021-06-24 12:14:19 +01:00
Andrew Kingston af2097e3eb Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
Andrew Kingston 14fa37deac Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
Andrew Kingston d0ba754a02 Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
mike12345567 7c38150fbb Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 21a2632da7 Adding a page reload when 403 occurs, if token has expired this will return to login page. 2021-06-22 12:39:52 +01:00
mike12345567 0248098964 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 3d89604680 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston b7991ea894 Use action name as confirmation modal title 2021-06-21 10:46:55 +01:00
Andrew Kingston 4352611fc7 Fix typo 2021-06-21 10:11:18 +01:00
Andrew Kingston 312674bfa7 Add support for confirmable action handling by client library 2021-06-21 09:56:46 +01:00
Andrew Kingston 9f8eeb7c99 Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston cb425e349c Adjuts top position of settings bar when no room 2021-06-17 16:23:17 +01:00
Andrew Kingston 42316d51cd Key client layout component to ensure fully remounting when swapping layouts in the builder preview 2021-06-17 13:20:29 +01:00
mike12345567 113486ef48 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
mike12345567 11c52f26ad Formatting. 2021-06-14 19:07:13 +01:00
mike12345567 564cdd8102 Some of the functionality required for external SQL rows API. 2021-06-14 19:05:39 +01:00
Andrew Kingston d522483f54 Move scrolling to layout level and provide opinionated defaults 2021-06-14 18:24:02 +01:00
mike12345567 bf47a66442 Fixing internal delete. 2021-06-14 13:52:06 +01:00
Andrew Kingston 440e80e890 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston 3b4fbc2ed8 Move HoverIndicator mouseleave handler to body element for better detection rates 2021-06-11 13:17:38 +01:00
Andrew Kingston 7d87befe13 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston 72dfa1ba1b Add manifest option to prevent showing component empty states 2021-06-11 08:49:06 +01:00
Andrew Kingston 634dc38768 Improve component empty states and fix selection indicator lockup bug. Fix data provider not exporting loaded context 2021-06-11 08:45:58 +01:00
Andrew Kingston 3b085d9ac3 Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston 2bb4576eb6 Refactor client component structure, fix select bar z index, add titles to container bar settings 2021-06-10 18:42:41 +01:00
Andrew Kingston bfc5e03861 Use IntersectionObservers to determine visibility of selected and hovered components 2021-06-10 15:13:51 +01:00
Andrew Kingston e35854fae1 Fix indicator border radius style when flipped 2021-06-10 09:20:17 +01:00
Andrew Kingston 686205ec4b Hugely improve performance of selection and highlight indicators in builder preview 2021-06-10 09:05:08 +01:00
Andrew Kingston 49dd84a2bd Merge branch 'master' of github.com:Budibase/budibase into interactive-layouts 2021-06-09 15:10:11 +01:00
Andrew Kingston 76b79d33ef Improve client app overflow and selection indicators 2021-06-08 15:16:37 +01:00
Andrew Kingston ba1908f7f9 Render builder preview selection indicators via top level component instead of via styleable healper. Add indiciator on hover and add name to indicator 2021-06-08 14:19:03 +01:00
Martin McKeaveney 536c2c317c fixing attachments for public apps 2021-06-08 12:50:58 +01:00
Andrew Kingston a88eeb7de3 Make settings bar spectrum compatible 2021-06-08 08:14:50 +01:00
Andrew Kingston 41f87f0354 Move settings bar into client library and allow configuration from manifest.json 2021-06-08 08:00:54 +01:00
Andrew Kingston 05a32bc009 Add client SDK function to get a component action and clean up date range picker 2021-06-03 10:10:25 +01:00
Andrew Kingston c6827e8a75 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00
Andrew Kingston 30c7c5148d Fix formula fields causing handlebars enrichment of client component settings to fail 2021-05-26 17:38:49 +01:00
Andrew Kingston f00ebcf7d6 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Andrew Kingston d0fc934ff7 Redirect to login from client apps when required 2021-05-20 14:47:17 +01:00
Andrew Kingston d8bbb5e06d Simplify loading logic to prevent empty state flashing when loading data in data providers 2021-05-13 16:33:19 +01:00
Andrew Kingston a551f3c8ae Wrap whole client app in spectrum classes to reduce dependency on spectrum wrapper around any spectrum components in client app 2021-05-13 16:32:52 +01:00
Andrew Kingston d9923e1e98 Clean up data source context and remove explicit button actions for pagination 2021-05-13 12:30:45 +01:00
Andrew Kingston da40086c0b Allow multipage searches and implement optional pagination to data providers 2021-05-13 12:26:18 +01:00
Andrew Kingston 78ae68981e Add support for numerical sorting 2021-05-11 11:24:16 +01:00
Andrew Kingston 3eabaea42f Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston 1c3d477523 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 5aee405245 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
Andrew Kingston 2d62c6a413 Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Martin McKeaveney 06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Andrew Kingston 9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
mike12345567 a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
Andrew Kingston 9fddf13be5 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston a51f5c73c4 Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Maurits Lourens 8296eccd68 1240 - restore notification blocknotifications method, since it was called in the datasource 2021-03-15 09:00:05 +01:00
mike12345567 3947044014 Formatting. 2021-03-10 17:56:16 +00:00
Kevin Åberg Kultalahti 13787d9d3b
Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Keviin Åberg Kultalahti d99ff6653d lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti aeed22b711 fix notification store timers 2021-03-02 14:19:44 +01:00
Keviin Åberg Kultalahti c6292c070c fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
Keviin Åberg Kultalahti 43e37e2ed6 lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti 58f0c45085 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti b36d4c8a76 fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti 473c5726b3 removes unneeded styles and html in Screen component 2021-03-01 16:56:28 +01:00
Keviin Åberg Kultalahti f711b7c075 screens can now select a transition rather than only use fade 2021-03-01 16:53:37 +01:00
Keviin Åberg Kultalahti d386de0282 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Keviin Åberg Kultalahti e4a2904735 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti 856e80fce2 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Andrew Kingston 0a99075cd4 Make user data source refreshable in client apps 2021-02-26 14:04:31 +00:00
Andrew Kingston c70201553e Add log out button action 2021-02-26 14:04:12 +00:00
Andrew Kingston c12917091f Pull enriched user when logging in to client app so that relationships are available as bindings 2021-02-26 09:57:36 +00:00
Andrew Kingston 61056fc2f0 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston 69fcaebc4d Add support for new relationship objects in client app bindings 2021-02-25 11:06:46 +00:00
Michael Drury adaabf5441
Merge pull request #1152 from Budibase/user-active-and-bugs
Some fixes and the ability to set a user to inactive
2021-02-22 15:10:16 +00:00
mike12345567 2f33032d38 Adding notifier to API for 401 requests, meaning login has notification on fail. 2021-02-22 14:23:16 +00:00
Andrew Kingston 8c4cf0bb8d Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-22 12:23:46 +00:00
Andrew Kingston d4d4a36448 Display enriched relationship info in grids and bindings 2021-02-19 12:00:06 +00:00
Andrew Kingston 5c2aa7d603 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Andrew Kingston 975f080075 Fix views not hot reloading when table data changes 2021-02-17 16:01:35 +00:00
Andrew Kingston f0a48ea341 Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston 37b9ba4f6a Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
Andrew Kingston b0cf9d2544 Block notifications following a datasource invalidation so that unnecessary notification don't get shown 2021-02-11 09:39:35 +00:00
Andrew Kingston eac9dc7269 Fix reactive store derivation overriding actions 2021-02-10 19:42:56 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Andrew Kingston 075de3edaf Make URL params available to client apps via context 2021-02-10 15:49:23 +00:00
Martin McKeaveney c132b7b584 tidy up 2021-02-09 19:00:13 +00:00
Andrew Kingston a2a805b45b Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Martin McKeaveney 7f24c80bf0 search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
Andrew Kingston 98f13321d4 Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Martin McKeaveney 3189250d50 Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney 94f1a14445 few bugfixes 2021-02-06 18:22:58 +00:00
Martin McKeaveney 2b74fd887b test 2021-02-06 12:31:12 +00:00
Andrew Kingston fe00c66700 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
Andrew Kingston 06b70706e3 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Andrew Kingston 6eec1632d9 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston 1fb84ceeea Change how client provides the current user so that the whole app is actually wrapped in a provider which provides the current user 2021-02-05 11:44:33 +00:00
Martin McKeaveney 5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
Martin McKeaveney c57dee754f custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston 580837f949 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston e3e22da303 Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston a0f26c9a4f Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston d921cfedf8 Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
Andrew Kingston da9b2cd09d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 11:13:58 +00:00
Michael Shanks 7380250f0b fix: views not loading in deployed apps 2021-02-02 21:23:49 +00:00
Andrew Kingston 9a6108326b Remove unused vars and lint 2021-02-02 15:24:15 +00:00
Andrew Kingston d2c0ba8f74 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
Andrew Kingston 7c0a2bc2f5 Ensure fetching datasources always returns an array result 2021-02-02 10:35:00 +00:00
Martin McKeaveney 4b5e572da3 internal search working 2021-02-01 21:02:54 +00:00
Andrew Kingston cf43cf765c Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Andrew Kingston 216566887c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-01 09:11:48 +00:00
Kevin Åberg Kultalahti 93dc21a849
Merge pull request #1017 from Budibase/fix/attachment-issues
Attachment issue fixes
2021-01-30 12:29:46 +01:00
Andrew Kingston 1ae0f41587 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston deccd11def Add attachment field to forms 2021-01-29 13:22:38 +00:00
Keviin Åberg Kultalahti 1800b73341 merge master 2021-01-29 13:13:43 +01:00
Andrew Kingston 9791e52a10 Add boolean field, fix label alignment, fix picker z index 2021-01-28 16:31:55 +00:00
Andrew Kingston 08cbfd705f Remove logOut call when refreshing the page and not logged in, to avoid changing the URL 2021-01-28 14:51:24 +00:00
Andrew Kingston b4ccf9c1d2 Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Andrew Kingston 734e341ebb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-27 18:28:17 +00:00
Martin McKeaveney 1939c1e000 actions fix 2021-01-27 17:29:30 +00:00
Andrew Kingston bfebf0226a Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston a79f731c09 Add common SpectrumField component, add spectrum labels, add form label position customisation 2021-01-27 10:59:05 +00:00
Andrew Kingston 2bc6a70401 Add automatic schema validation to forms and add builder settings for specific field types 2021-01-26 14:40:44 +00:00
Keviin Åberg Kultalahti cd95748982 Merge branch 'master' into fix/attachment-issues 2021-01-26 12:49:27 +01:00
Keviin Åberg Kultalahti c552ab761f conditionally adds content-type json header if json is sent with request 2021-01-26 11:51:42 +01:00
Andrew Kingston c71007e7f8 Hide repeater placeholders when not running inside the builder or when the component hasn't been initialised fully 2021-01-26 09:48:41 +00:00
Andrew Kingston 47dbd43116 Fix client API URLs not being cleaned properly 2021-01-26 09:40:04 +00:00
Andrew Kingston 3c4afaf7a1 Remove success notification on query success to prevent notifications on 'read' queries 2021-01-26 09:31:41 +00:00
Andrew Kingston 126b3ee480 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-26 09:11:43 +00:00
Keviin Åberg Kultalahti f88368260d some more typo fixes 2021-01-25 13:39:19 +01:00
Keviin Åberg Kultalahti 1798511811 fix typos and linting issues 2021-01-25 13:36:35 +01:00
Keviin Åberg Kultalahti 21902aff14 fixes spelling error 2021-01-25 13:14:38 +01:00
Keviin Åberg Kultalahti 20e6279ee1 adds catch-all notification to some requests that aren't caught in the API 2021-01-25 13:10:13 +01:00
Keviin Åberg Kultalahti 737c9fe52f adds notifications to running queries 2021-01-25 12:57:04 +01:00
Keviin Åberg Kultalahti 0832fc5e86 changes notification handling from catch-all to specific messages per action 2021-01-25 12:55:29 +01:00
Keviin Åberg Kultalahti 1f13fb3bd2 adds success notification messages to row API 2021-01-25 12:44:44 +01:00
Keviin Åberg Kultalahti 57dcaefa8b update catch all error message 2021-01-25 11:06:50 +01:00
Keviin Åberg Kultalahti 60330185fa switches context to use sdk instead of it's own context 2021-01-25 08:43:28 +01:00
Keviin Åberg Kultalahti 37c2b51095 failing API calls now display errors using the toast 2021-01-22 13:27:13 +01:00
Keviin Åberg Kultalahti 640043685d use const instead of var 2021-01-22 13:11:38 +01:00
Keviin Åberg Kultalahti 3f8d57eadb adds smooth removal of notifications using animate:flip 2021-01-22 13:05:52 +01:00
Keviin Åberg Kultalahti 0cab858780 removes unused context in Component 2021-01-22 12:47:43 +01:00
Keviin Åberg Kultalahti f45726a047 lint fixes 2021-01-22 12:44:43 +01:00
Keviin Åberg Kultalahti 21e46285f7 minor fixes 2021-01-22 12:44:23 +01:00
Keviin Åberg Kultalahti c5e4097f4e Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Keviin Åberg Kultalahti 36c212048e adds notification toast capability to the client 2021-01-22 12:31:56 +01:00
Keviin Åberg Kultalahti 8f0405623c finishes notificationStore 2021-01-22 12:21:44 +01:00
Andrew Kingston 6393c0798e Stop component crashing if children don't exist 2021-01-22 11:08:42 +00:00
Andrew Kingston 3104df6224 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 6a40ea7f06 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Keviin Åberg Kultalahti 0c3c21361b first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 75c85978cb switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti 837709cab6 adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 8bb8b29b34 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston b0f5b9b1ce Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 261abd7919 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston c9f60cf660 Enrich datasources so that data can be correctly fetched reactively using only the datasource definition 2021-01-21 10:42:14 +00:00
Andrew Kingston b72e654ff0 Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston afe3654857 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston a17d1703f7 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567 4c597ed91a Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
Andrew Kingston 7e7219856d Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 6a1383b13b
adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
Martin McKeaveney b42c50ba9d fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney 6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston cc62a9c053 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Michael Shanks 6c6f93af34
Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Andrew Kingston c7a9434e70 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 2dc2e43a00 WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 70e4b2514e merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 49477d3ac9 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney 5aa7edda64 use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 e14e5c85f2 Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks 668d192462 Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston c6532303ce Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Martin McKeaveney d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks b2daff6285 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 d3a4eed88b Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston 97dfc14007 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 5fb6503298 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney f2abc7d351 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 429c6f912c Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Andrew Kingston 7abd9b4f4a Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
Andrew Kingston 6a6cbd6623 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Andrew Kingston f7496579b7 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston 62fecd3a3c Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston d25fd8b625 Pass preview type to client app so it can decide whether components are selectable 2021-01-06 10:11:56 +00:00
mike12345567 49f56ebd53 Version working with reverse proxy, need to just change settings menu in builder now to use this properly. 2021-01-05 18:47:51 +00:00
Martin McKeaveney 0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 36ef89827a Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Martin McKeaveney 7adba016f4 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Andrew Kingston a3992acfa8 Fix lint 2020-12-11 16:19:56 +00:00
Andrew Kingston 6937c8e054 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Andrew Kingston c9514cefc6 Sort routes to ensure the client router always matches correctly 2020-12-08 15:44:35 +00:00
Andrew Kingston 2657008b14 Improve handling of routes and screens. Fix issue which could prevent logging in depending on order of screens in app definition 2020-12-08 10:15:33 +00:00
Martin McKeaveney d8aa699bfa merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney 84434741d1 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Andrew Kingston ca543e5756 Remove log statement 2020-12-04 14:52:48 +00:00
Andrew Kingston 58c2659e94 Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 3ab5c834f7 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney f70db5df36 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston 859ae5f8a4 Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston 0a72b0e21b Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Martin McKeaveney 5674bfc8fa merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston ca9a3d2f3e Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 3ee9fee10c Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 d7f2060954 Some further work after testing, really need to get the backlink of screens to layouts functional. 2020-11-27 16:36:31 +00:00
Andrew Kingston 86cfd3db22 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston 9c4b9a2a25 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston ad5fc0e780 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston 920ef90e14 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston e62fbf8ef7 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston aa38f1fe57 Fix reinstantiating app when builder props change 2020-11-23 14:28:02 +00:00
Andrew Kingston 192959c865 Fix builder preview 2020-11-23 11:29:24 +00:00
Andrew Kingston 911fa31fe3 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston 32a143cf41 Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Andrew Kingston 2cb4cb2ce9 Add header to flag whether a request originates from the client 2020-11-19 20:04:30 +00:00
Andrew Kingston 674b89df5d Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston 71b59d7cca Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
Andrew Kingston 70a88589e9 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
Andrew Kingston c1c7c8ede4 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston 9ce7817233 Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 0ff8a9a67b Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston 1bd2fac9b2 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston a18a861177 Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00
mike12345567 d63054a426 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Andrew Kingston 1ab29e05b1 Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston 94458b3907 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Andrew Kingston cbeea17db0 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Andrew Kingston 0f12f19619 Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston aa70eab935 Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston e24a89af56 Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston f8732b3038 Add initial work on component SDK 2020-11-11 12:25:50 +00:00
mike12345567 3d6f50ee5d Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
mike12345567 7600710125 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Andrew Kingston 65b36677e6
Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
mike12345567 eca97f6f57 Linting. 2020-11-06 21:32:03 +00:00
mike12345567 472305d214 Fixing issues with auth not being able to find appId in pathname, using the currentapp cookie if pathname not populated. 2020-11-06 21:13:21 +00:00
Andrew Kingston e1b3982bab Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Michael Drury b3fbffdfdc Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Michael Drury 42b16069a6 Fixing issue that was breaking linting. 2020-11-03 15:35:27 +00:00
Michael Drury 0cc837b220 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury 957706fc91 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury a35b6a57f9 Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
mike12345567 0c81516662 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Michael Shanks 158240bc3b auth - standard-components not loading, windows 2020-10-18 21:45:46 +01:00
Michael Shanks 492c45f169 fixes home route matching everything 2020-10-16 23:36:42 +01:00
Michael Shanks 3f53e2958b Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Andrew Kingston 5253534a05 Fix link 2020-10-16 16:00:26 +01:00
Michael Shanks acd17a6668 client - sanitize urls, so we can match routes with nasty chars 2020-10-16 15:44:39 +01:00
Andrew Kingston 711fab2269 Fix crashing whenever hitting an API error from client app 2020-10-16 09:37:19 +01:00
Andrew Kingston c818bc9a3f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 09:17:54 +01:00
Andrew Kingston c627c1d7d7 Fix popstate client routing events 2020-10-16 09:16:25 +01:00
Andrew Kingston e21059c74f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston 5f7103f508 Add new Delete Row action which can be used in client apps 2020-10-16 08:37:13 +01:00
Michael Shanks 44d6c3a649 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 23:21:12 +01:00
Martin McKeaveney 1238f85890 replacing pathname 2020-10-15 14:46:24 +01:00
Martin McKeaveney 8a936e0927 more auth bugfixes 2020-10-15 14:26:33 +01:00
Michael Shanks 58b0d2221e Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00
Michael Shanks 3914d63dee app screen routing - routes are no case insensitive 2020-10-14 20:54:07 +01:00
Andrew Kingston 59b12af15c Add support for client app ID routing when serving on a LAN ip address 2020-10-14 20:33:09 +01:00
mike12345567 1140f65282 Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
mike12345567 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Andrew Kingston 42019dd546 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 47a772a200 Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
mike12345567 d90c1e3dd3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 bb3370e742 Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Michael Shanks 58b5502f77 Save Record Action 2020-10-08 22:06:44 +01:00
Michael Shanks b8f759a15e fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
Andrew Kingston 82e73ae0ea Merge in master 2020-09-14 13:55:40 +01:00
Michael Shanks 03fe8983c6 fix: override client context store on create 2020-09-14 12:46:49 +01:00
Michael Shanks 1a012515f9 fix: re-exposing store in component api, as form depends on it 2020-09-14 12:32:10 +01:00
Andrew Kingston b1b8061c3e Merge in master 2020-09-14 10:16:09 +01:00
Michael Shanks f975237417 stop coercing values on the server - do on client instead 2020-09-11 21:24:52 +01:00
Michael Shanks ed23f23c89 some comments 2020-09-11 09:53:02 +01:00
Michael Shanks 14aa33705f events hooked up and working 2020-09-10 21:11:05 +01:00
Andrew Kingston 45791b68c9 Remove client workflow execution 2020-09-10 11:27:31 +01:00
Michael Shanks 72492da29e event panel rework backup 2020-09-01 10:12:01 +01:00
Michael Shanks 82e99c3fd7 some styling changes from code review 2020-08-27 10:00:36 +01:00
Michael Shanks 9e6f6c5292 bindings... allowing unescaped urls, but not html tags 2020-08-11 14:12:05 +01:00
Michael Shanks 753fb27eb8 client lib - new binding 2020-08-06 21:12:35 +01:00
Martin McKeaveney 7b57f0ecc1 merge 2020-07-07 21:32:32 +01:00
Michael Shanks 208f5b33c1 Form component now supports edit recprd 2020-07-07 20:16:03 +01:00
Martin McKeaveney d6aa94b2e8 budibase complete deployment 2020-07-07 17:51:41 +01:00
Michael Shanks 32bd9f2601 some comments 2020-07-07 10:51:25 +01:00
Michael Shanks 921c205e22 routing breaks when we click same link twice #422 2020-07-07 10:48:24 +01:00
Martin McKeaveney 8ae6f04290 extra index template for production 2020-07-06 19:43:40 +01:00
Michael Shanks f4701f98a5 fix: list supports multiple children (without container) 2020-07-06 14:21:55 +01:00
Martin McKeaveney 5cc358e496 deployment E2E 2020-07-02 23:22:20 +01:00
Michael Shanks 4b3ceb7f9d Added recordDetail component 2020-07-01 13:19:14 +01:00
Michael Shanks 9e1ae5d9a4 fix: interpolation on property binding 2020-06-30 09:48:48 +01:00
Michael Shanks d7b09f5b65 removed x-user-agent 2020-06-19 16:59:46 +01:00
Michael Shanks 849fcfe819 client - should recognise new cookie format 2020-06-19 07:04:55 +01:00
Michael Shanks bf952f8677 instanceid removal 2020-06-18 16:59:31 +01:00
Michael Shanks f3ba6552f0 client: fixing broken tests 2020-06-14 20:30:23 +01:00
Michael Shanks 3b506f59cb lint fix 2020-06-12 21:11:39 +01:00
Michael Shanks bf1da9e94e removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Michael Shanks cd29fd9862 Merge branch 'master' into new-list-spike2 2020-06-04 11:57:05 +01:00
Michael Shanks 5fa8e3ca63 bugfix: screenRouter hijacks link clicks and routes when applicable 2020-06-03 22:52:33 +01:00
Michael Shanks 32d1ca641b bugfix: data components hitting correct url again 2020-06-03 22:12:09 +01:00
Martin McKeaveney e74c685956 lint 2020-06-03 20:44:35 +01:00
Martin McKeaveney 0482bc242c fix some other auth bugs 2020-06-03 20:35:30 +01:00
Michael Shanks 9c258da579 spike - list that accepts children 2020-06-02 23:26:06 +01:00
Martin McKeaveney 7137362302 tidy up, styling 2020-06-02 11:08:53 +01:00
Martin McKeaveney 1df1d76d7a Record selector 2020-06-01 22:55:44 +01:00
Martin McKeaveney 9c3c38d0ac tests 2020-06-01 22:25:44 +01:00
Martin McKeaveney ba38385d72 lint + format 2020-06-01 21:31:55 +01:00
Martin McKeaveney aeae4f50e2 tidy up 2020-06-01 21:26:32 +01:00
Martin McKeaveney cb1fb87d21 server side workflows 2020-06-01 16:22:13 +01:00
Martin McKeaveney 2e42f8033e workflow DAO tests 2020-06-01 11:52:15 +01:00
Martin McKeaveney a220822e3a move workflow to array data structure 2020-06-01 10:41:28 +01:00
Martin McKeaveney dc90e141f5 server side event emitter 2020-05-31 17:12:52 +01:00
Martin McKeaveney 65d0161007 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney 7d871ff9cf separate workflow components from routify routes 2020-05-30 00:40:33 +01:00
Martin McKeaveney 7129b9c225 significant client lib refactor 2020-05-30 00:14:41 +01:00
Martin McKeaveney 385bcfe51f styling, bug fixes, client library state updates 2020-05-29 16:06:23 +01:00
Martin McKeaveney bba7b93b75 refactor client library 2020-05-29 14:06:36 +01:00
Martin McKeaveney 50a582a726 make alerts live, more hooks, app notifications 2020-05-28 23:32:03 +01:00
Martin McKeaveney a3bebe3330 adding workflow blocks, parameter parsing, templating 2020-05-28 20:20:03 +01:00
Martin McKeaveney 08d0b9cb94 workflow UI, orhestrator for executing workflows 2020-05-27 21:51:32 +01:00
Martin McKeaveney e3271bf765 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +01:00
Martin McKeaveney b9a6c3ec10 workflow orchestrator 2020-05-26 21:34:01 +01:00
Conor_Mack d250d61c62 Completed CSS Selector Styling 2020-05-25 15:23:56 +01:00
Martin McKeaveney 6f3ad884db workflow UI with DnD 2020-05-21 21:40:16 +01:00
Conor_Mack 5b8d1cead7 Testing Complete - Resolve Post Issue 2020-05-18 16:32:00 +01:00
Martin McKeaveney c8dd48b507 formatting 2020-05-18 11:01:17 +01:00
Martin McKeaveney 5646ef1101 fixing tests 2020-05-07 22:25:27 +01:00
Martin McKeaveney 0962f102c5 data components 2020-05-07 22:15:09 +01:00
Martin McKeaveney 85f1faeb3c client lib tests 2020-05-07 13:33:25 +01:00
Martin McKeaveney c255883aed formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney 7da95c23a3 dev setup complete 2020-05-06 12:17:15 +01:00
Martin McKeaveney 392de2efcc development setup, adding data components 2020-05-06 10:33:30 +01:00
Martin McKeaveney 2c361f3d1d apps being served correctly 2020-05-04 17:13:57 +01:00
Martin McKeaveney abd6da7b11 component library modules and definitions refactor - moved to backend. More routing and middleware reorganisation 2020-05-02 15:29:10 +01:00
Martin McKeaveney c733b5bee8 access levels, actions and triggers removed. Restructuring and refactoring 2020-04-29 20:29:56 +01:00
Martin McKeaveney 77b8f8fa8e show screenslot if there's no screens 2020-04-06 17:06:04 +01:00
Martin McKeaveney ec0d8bd142 formatting 2020-03-27 16:58:32 +00:00
Martin McKeaveney db6135e801 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Michael Shanks b7a5bab47c _bb client api, relative url checks for root path,+ handles absolutes 2020-02-27 21:14:41 +00:00
Michael Shanks 5763d264b8 dont try to attachChildren if theres not htmlElement supplied 2020-02-26 15:57:48 +00:00
Michael Shanks 8ab04fa944 bugfix: route params not populated correctly 2020-02-25 22:27:02 +00:00
Martin McKeaveney bcb66e7759 all eslint errors fixed 2020-02-25 16:23:45 +00:00
Martin McKeaveney 3d7ba759fa fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks f0dbfa15bf added _bb.get/setContext to clientApi - for MD components 2020-02-24 16:41:03 +00:00
Michael Shanks dce21f7fbe bugfix: await event handlers 2020-02-24 16:04:13 +00:00
Michael Shanks 6233c01f4f router not properly matching parameterized route 2020-02-24 14:57:34 +00:00
Michael Shanks cbd33daae8 random bug - client setState 2020-02-24 14:57:05 +00:00
Michael Shanks fe57000acd bugfix - client - approotPath not passed correctly 2020-02-24 11:15:08 +00:00
Michael Shanks fd810c9910 prettier - auto 2020-02-23 22:18:05 +00:00
Michael Shanks 1a1a9e81e0
Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks d0f3eeca1b pass in routeParams to uiFunctions 2020-02-21 23:01:41 +00:00
Martin McKeaveney 395dcd1cc2 finished state management ui for v2 2020-02-21 18:02:02 +00:00
Michael Shanks d271ed6a50 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Martin McKeaveney 412aa6739f state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 56f00f4e1d fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Michael Shanks 4b807d8f09 bindings can now be just a string (store.someValue) 2020-02-21 14:44:48 +00:00
Michael Shanks 83953922d7
Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn f42cfd9fa2 Ensure fallback is alway selected when no route matches. 2020-02-18 16:38:35 +00:00
pngwn 063cb0f41f Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Michael Shanks 901db64450 router swallows excpetions on pushState
(not supported in iframes, used by builder)
2020-02-18 13:10:57 +00:00
Michael Shanks 4089b52c53
Client Api - New state binding method (#105)
* new binding...
- state manager
- one store per screen
- not passing

* client lib binding - tests passing

* binding fully working again post stateManager

* bugfix with button component

* Control flow ("code") now working, tests passing

* Events List now reading from component definition

* fix to button.svelte - missing props._children
2020-02-18 12:29:38 +00:00
Michael Shanks b7d9e05641
Work on Components API & bugfixes (#102)
* typo - screens not being sent to page save

* removed children arg from hydrateChildren (n/a)

* initialiseChildren does not rerender unless forced

* removed derivatives of initialiseChildren

* renamed initialiseChildren > attachChildren

* standard-components - refactoring

div now container
H1, h2... etc now Heading with type
Select now takes option as _children

* loads of bug fixing

* safe props creation
anytime props are loaded,
we make sure they conform to the components props definition
2020-02-14 11:51:45 +00:00
Michael Shanks c3fa212b31
Lots of poking around to get apps to run, plux fixing tests (#92)
ixing broken tests on client
typo in buildPage.js
fixing some server tests
local datastore uses fs-extra remove, not rmdir
client - loadBudibase - no longer destructuring arg
updated publishdev script for client (reads apps)
prettier fix
some little bug fixes
bugfix - set screens to empty array when falsy
typo in template page.json
replaced "Shard Factor" for "Estimated Count"
2020-02-12 12:45:24 +00:00
Michael Shanks da7339035f
Builder saves backend and front end seperately (#88)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

* backend and fronend save seperately

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 21:35:51 +00:00
Michael Shanks f7bea46f01
Page Layout & Screen restructure (#87)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 15:51:09 +00:00
Martin McKeaveney 94eb93b186 running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks c7cbe6ca8b
#24 - Control Flow (#79)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix

* client: providing access to component root elements

* code editor working

* code editor improvements
2020-01-31 23:11:50 +00:00
pngwn aa4c7fa1c1
48 builder frontend 2 (#76)
* Implement collapsing component hierarchy.

* Save screen when adding new components.

* Allow creation of nested child components.

* Rename updateComponentProps to setComponentProps

* Compile layout and position properties to css strings.

* Correct ordering errors.

* Compile the css for an entire screen.

* Add unique id for each component.

* Ignore _id props.

* Update client to add correct class names to component elements.

* Add grid-template fields to layout styling panel.

* Inject css into iframe. Minor tweaks.

* Fix unset margins.

* Update failing tests.
2020-01-31 16:01:58 +00:00
Michael Shanks 1ec928e60a
Control flow - Client library foundations (#72)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix

* client: providing access to component root elements
2020-01-29 23:01:14 +00:00
Michael Shanks 7b1ada5091
Client Lib > Ability to inject code around initialise children (#68)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix
2020-01-28 14:14:53 +00:00
Michael Shanks b5922e0ff0 added DOM tests for client library 2020-01-24 13:18:31 +00:00
Michael Shanks eac855bb71 #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
Michael Shanks a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00:00
Michael Shanks 63c865ab7d basic cru app possible 2019-10-19 07:24:20 +01:00
Michael Shanks 75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 89c6dd04c3 bootstra components - backup before comonen control flow 2019-10-16 05:38:45 +01:00
Michael Shanks 11810d7a74 bootstrap components started... 2019-10-14 08:32:20 +01:00
Michael Shanks 1716b0ca5b generators seem to be working... 2019-10-10 06:18:02 +01:00
Michael Shanks b4f7ccbbba generators.. 2019-10-07 06:03:41 +01:00
Michael Shanks e283e971ec lots of bugfixes and component changes 2019-10-03 06:12:13 +01:00
Michael Shanks 0ce725a7a8 context binding 2019-10-01 05:57:45 +01:00
Michael Shanks b2c3accf82 some bugfixes - ready to start building! 2019-09-29 06:40:06 +01:00
Michael Shanks 2c3b4b55ee Event bindings with context, array binding, Table component... 2019-09-27 17:03:31 +01:00
Michael Shanks f3c529f444 nav component and bug fixes 2019-09-26 05:40:58 +01:00
Michael Shanks 3724d2b873 More event handlers & bug fix 2019-09-24 06:11:02 +01:00
Michael Shanks 3496c13f36 state event handlers - API 2019-09-23 06:08:06 +01:00
Michael Shanks 2e6a34c687 state binding working 2019-09-22 05:02:33 +01:00
Michael Shanks 8409deae15 Events and state binding 2019-09-20 08:01:35 +01:00
Michael Shanks 70ddecfab0 data binding and stndard componets work 2019-09-19 04:35:40 +01:00
Michael Shanks dda4517cb0 Budibase is alive! sort of 2019-09-12 06:10:50 +01:00
michael shanks 44e85ef573 bug fixing 2019-09-09 21:02:23 +01:00
michael shanks 5ee72b1d87 build app... probably not orking yet.. 2019-09-07 06:50:35 +01:00
michael shanks e383c03435 working on client lib 2019-09-06 13:04:23 +01:00
michael shanks 3f87806899 server - first passing tests 2019-06-14 10:05:46 +01:00