1
0
Fork 0
mirror of synced 2024-09-18 02:08:34 +12:00
Commit graph

691 commits

Author SHA1 Message Date
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
Andrew Kingston
54aad2ff1e Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Andrew Kingston
555742ead1 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
950e056e1c 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
9deb9be1cd 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
956a826b8c Merge branch 'develop' into options-text-columns 2021-10-18 11:25:35 +01:00
Rory Powell
346f1d652b Allow options picker to be used on text columns 2021-10-14 16:36:45 +01:00
Andrew Kingston
06c46dd3a7 Fix issue with button roundness when using other sizes than medium 2021-10-14 10:43:17 +01:00
Martin McKeaveney
1d55b5ece2 adding made in budibase tag 2021-10-07 20:57:50 +01:00
Andrew Kingston
fe35d08422 Fix drag and drop indicator positioning when not using desktop preview 2021-10-06 13:59:25 +01:00
Andrew Kingston
f6a18ca550 Fix padding being added to empty layouts in mobile view 2021-10-06 13:33:37 +01:00
Martin McKeaveney
dbfd9ff877 fixing import 2021-09-30 16:52:21 +01:00
Martin McKeaveney
6ef1883328 lint 2021-09-30 16:39:10 +01:00
Martin McKeaveney
6f5567b4b6 merge with develop 2021-09-30 16:05:06 +01:00
Martin McKeaveney
13a07a5e51 end user ping for client apps 2021-09-30 15:03:57 +01:00
Martin McKeaveney
8c65d45c23 Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Andrew Kingston
ec7cf96fd9 Move all lucene logic into central builder helpers file 2021-09-27 12:59:49 +01:00
Andrew Kingston
a30ced6408 Add button action for manually refreshing a data provider 2021-09-23 19:34:01 +01:00
Andrew Kingston
0297b3de3f Simplify some DND style rules 2021-09-21 08:47:43 +01:00
Andrew Kingston
eeb0617d2b Enable left/right side targetting for DND 2021-09-21 08:36:02 +01:00
Andrew Kingston
393e95d795 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
dc3df10c58 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
495c20f851 Simplify client app component re-render keying 2021-09-20 15:41:20 +01:00
Andrew Kingston
9febe391bb Refactor DND labels to before and after rather then above and below 2021-09-20 15:35:27 +01:00
Andrew Kingston
488ec4d988 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston
07e0cbb210 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +01:00
Andrew Kingston
10f754a9ad Remove preview specific data tags from components when running real apps 2021-09-20 12:16:23 +01:00
Andrew Kingston
9ca0aeae8e Fix spectrum button not being able to be dragged 2021-09-20 12:14:40 +01:00
Andrew Kingston
e19d17c4f5 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
8cf3971b47 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
f0dde4a4a4 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
54bf420ef8 Apply grab cursor when hovering over a draggable component 2021-09-17 14:30:54 +01:00
Andrew Kingston
7eeb215e51 Refactor to use generic flag for dragging and hide settings bar when dragging 2021-09-17 14:17:50 +01:00
Andrew Kingston
cb04b3fa7d Ensure hover indicator is correctly hidden when using DND and improve DND labels 2021-09-16 16:02:45 +01:00
Andrew Kingston
601a4935a9 Ensure transitions work properly when showing and hiding DND candidate positions 2021-09-16 15:49:58 +01:00
Andrew Kingston
46867b8a19 Add labels to DND to describe where the component will be dropped 2021-09-16 15:08:42 +01:00
Andrew Kingston
bdc86e4c22 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
5c37238c8a Fix progress circle never animating because of wrong default prop 2021-09-16 14:11:05 +01:00
Andrew Kingston
97800563c4 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
0ce0f5c823 Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston
87aa4b18b1 Merge pull request #2597 from Budibase/fix-left-nav
Small fixes for navigation bar
2021-09-13 15:04:47 +01:00
Andrew Kingston
a50cb91934 Merge pull request #2584 from Budibase/horizontal-bar-chart
Add horizontal bar chart setting
2021-09-13 11:41:26 +01:00
Andrew Kingston
796c65bf5c Fix 1px offset with left nav bar 2021-09-10 16:36:59 +01:00
Andrew Kingston
cc0c0104fe Fix custom theme integration with date time field 2021-09-10 16:36:43 +01:00
Andrew Kingston
2820b6adef Fix left navigation in layouts when on a tablet sized resolution 2021-09-10 15:13:48 +01:00
Andrew Kingston
5dcdb2dcb8 Update validation so that 'minimum' and 'minimum length' contraints both accept null values 2021-09-10 14:30:10 +01:00
Andrew Kingston
b7ef51e6f5 Add horizontal bar chart setting 2021-09-09 19:28:37 +01:00
Andrew Kingston
a1615055c3 Rename client app wrapper divs for clarity 2021-09-08 10:28:19 +01:00
Andrew Kingston
5d305bb8e7 Use correct component to determine device size 2021-09-08 10:22:48 +01:00
Andrew Kingston
a6106ac0e1 Fix issue with endless scrolling when previewing a mobile device 2021-09-08 10:22:34 +01:00
Andrew Kingston
8572224688 Revert preview border to 1px and fix exact size of preview on different devices 2021-09-08 09:51:08 +01:00
Andrew Kingston
4d06d682d8 Add support for correct mobile and tablet previews 2021-09-08 09:40:25 +01:00
Andrew Kingston
e1d102c0c3 Update position of indicators in preview to clip better 2021-09-08 09:40:02 +01:00
Andrew Kingston
d607f7b25b Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-06 17:29:51 +01:00
Andrew Kingston
7b919cb2e7 Add button to reset theme to default and fix determination of theme 2021-09-06 16:51:40 +01:00
Andrew Kingston
363998a2af Fix button theming and add nav text theming 2021-09-06 16:23:12 +01:00
Andrew Kingston
d1e3dda05f Add custom theme options for button roundedness and header color 2021-09-03 15:28:35 +01:00
mike12345567
a864c511c4 Fixing an issue where many rows were handled from different tables in client. 2021-09-03 15:04:34 +01:00
mike12345567
3f960e4f13 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
8ab0fc2d7f Ensure defaults are set for custom theming and fix a few inconsistencies 2021-09-03 14:43:21 +01:00
Andrew Kingston
3ee1d3e8e4 Add custom theming to icons 2021-09-03 11:53:25 +01:00
Andrew Kingston
e7d1ed3114 Add custom theming for primary color and primary hover color to form components 2021-09-03 11:50:09 +01:00
Andrew Kingston
04a26f3344 Hide state action in old apps and add working basic implementation of theming 2021-09-02 11:38:41 +01:00
Andrew Kingston
551eb629b4 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-01 16:10:36 +01:00
Andrew Kingston
047cd4ea88 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston
3eea601910 Add ability to persist state values in local storage 2021-08-26 17:52:04 +01:00
Andrew Kingston
9369e8b375 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston
5ed4ace66b Merge pull request #2441 from Budibase/multistep-forms
Multi-step forms
2021-08-25 12:40:44 +01:00
Andrew Kingston
389788709a Prevent opening a screen modal if already inside a screen modal 2021-08-24 15:56:23 +01:00
Andrew Kingston
0a12089a54 Fix issue with memoizing onclick handlers nested inside conditional UI conditions 2021-08-23 16:39:09 +01:00
Andrew Kingston
796dc24b06 Show component hidden by conditional UI if they would otherwise hide the selected component 2021-08-23 14:01:57 +01:00
Andrew Kingston
11dc516b26 Add single button action for changing form step 2021-08-20 09:54:54 +01:00
Andrew Kingston
08171c1e68 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston
8a8e13119e Fix bug determining whether an app is inside the preview or not 2021-08-19 16:06:33 +01:00
Andrew Kingston
29aabb8a59 Fix crash when evaluating builder preview specific code in prod apps 2021-08-19 16:04:15 +01:00
Andrew Kingston
7605999a59 Ensure that the correct form step is always visible in builder preview 2021-08-19 14:53:13 +01:00
Andrew Kingston
9ea255b7bc Update validate form action to be able to only validate the current form step 2021-08-19 12:52:50 +01:00
Andrew Kingston
2f05450d79 Ensure client preview indicator doesn't crash when encountering incorrect node types 2021-08-19 12:52:13 +01:00
Andrew Kingston
9b87d1a03e Add button actions for navigating form steps 2021-08-18 15:21:18 +01:00
Andrew Kingston
32fe0ea072 Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston
473f18d510 Tidy up device bindings provider 2021-08-13 11:34:11 +01:00
Andrew Kingston
47ca925003 Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
mike12345567
46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Martin McKeaveney
df927e3feb merge with master 2021-08-04 13:20:11 +01:00
Andrew Kingston
6a9358086c Merge pull request #2233 from Budibase/peek-screen
Open screen in modal
2021-08-04 12:08:49 +01:00
Michael Drury
ec26f6ab5e Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury
b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Michael Drury
2456e69483 Merge pull request #2076 from Budibase/feature/multi-tenants
Multi-tenancy/organisations
2021-08-04 10:01:22 +01:00
Andrew Kingston
b768e2991f Lint 2021-08-03 12:52:01 +01:00
Andrew Kingston
e88e1da2af Fix going full-screen when opening an external link in a modal 2021-08-03 12:22:06 +01:00
Andrew Kingston
2eba603ad8 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
33431a5edc Rename visual actions from 'peek' to just 'open' screen in modal 2021-08-02 15:50:59 +01:00
Andrew Kingston
def7f7a949 Add action to close peek modal and proxy notifications from the iframe 2021-08-02 15:12:38 +01:00
Andrew Kingston
8e82a0efd9 Revert to a cleaner modal with no title or buttons for screen peeking 2021-07-30 18:16:37 +01:00
Andrew Kingston
952c27058a Make full screen button quiet in peek modals 2021-07-30 14:13:43 +01:00
Andrew Kingston
e5418deb89 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
10d64456a2 Add back in client app border only when inside builder preview 2021-07-30 10:06:16 +01:00
Martin McKeaveney
a42f87cbd9 merge with master 2021-07-29 10:06:33 +01:00
Martin McKeaveney
5c51d3bd80 remove border around app 2021-07-28 22:50:27 +01:00
Martin McKeaveney
e40c8cd9ef Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +01:00
mike12345567
1b40740709 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Maurits Lourens
f2c26a90c3 fix lint issues 2021-07-26 15:22:14 +02:00
Maurits Lourens
cc7a1679f0 Merge branch 'develop' into clear_form_action
# Conflicts:
#	packages/client/src/utils/buttonActions.js
2021-07-26 15:13:10 +02:00
Andrew Kingston
73643793c9 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston
2715ff77d8 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-26 13:04:08 +01:00
Maurits Lourens
07553b9937 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston
38df0b54a5 Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Andrew Kingston
c9eda114a8 Redirect to login screen on client logout to prevent viewing public pages if they exist 2021-07-25 13:47:28 +01:00