Commit Graph

42 Commits

Author SHA1 Message Date
Gerard Burns 7ef09b6fec
Fix Deleting and Remaking Relationships to the User Table (#12453)
* Fix Deleting and Remaking Relationships to the User Table

* change tables store related tables fetching

* lint
2023-12-05 15:01:35 +00:00
mike12345567 4168b45a77 PR comments. 2023-09-27 11:14:14 +01:00
mike12345567 a8c96848a5 Adding a quick check incase too many related tables - switch to just fetching everything. 2023-09-26 17:13:16 +01:00
mike12345567 7bd84bd048 Some typing fixes as well as a fix for the frontend issue of tables not correctly having their schemas updated in the table store when relationships added. 2023-09-26 17:01:30 +01:00
Andrew Kingston a7c6f9a60a Allow deleting external tables that you created 2023-06-27 12:11:58 +01:00
Andrew Kingston 17e7a2d59e Ensure tables and queries are kept in sync when datasource changes occur 2023-06-27 12:03:51 +01:00
Andrew Kingston 5e5dc902d1 Broadcast datasource change via websocket when making changes to tables 2023-06-15 09:04:21 +01:00
Andrew Kingston 53f1a4e67d Update builder socket to ignore own events, and ensure table creation updates state without depending on the websocket 2023-06-02 09:04:50 +01:00
Andrew Kingston c0eaa60e13 Revert "Assign a new display column when deleting field (#10234)"
This reverts commit 358e49d43f.
2023-05-31 13:27:07 +01:00
melohagan 358e49d43f Assign a new display column when deleting field (#10234)
* Assign a new display column when deleting field

* lint

* WIP

* Unit tests WIP

* saveField unit tests

* deleteField unit tests

* TODO

* lint

* Stop invalid data types being auto primaryDisplay
2023-05-31 11:40:31 +01:00
Gerard Burns 23ee9f4af8 Post Sign Up Onboarding Changes (#10701)
* wip

* PR Feedback

* Fixes

* PR Feedback

* PR Feedback

* PR Feedback
2023-05-30 12:54:57 +01:00
Andrew Kingston cfa07a68ae Handle table, query and datasource events using builder socket 2023-05-22 15:59:44 +01:00
Andrew Kingston 84a5739c53 Work around table API inconsistencies to handle table schema updates 2023-04-13 16:51:26 +01:00
Andrew Kingston 69f6834886 Improve sheet integration with data section and add horizontal cell inversion 2023-04-13 12:01:16 +01:00
adrinr faa1c27d29 Refresh sql columns on defining relationships 2023-03-31 10:53:50 +01:00
Andrew Kingston 20bd1815ac Fix issue creating columns due to 'draft' concept when mutating table schemas 2022-12-19 12:22:07 +00:00
Andrew Kingston 3b1819952d Builder data section routing refactor (#8996)
* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Lint

* Fix BBUI import

* Fix datasource navigator selected state not working for internal DB or sample data
2022-12-17 14:13:06 +00:00
mike12345567 7736acd0c0 PR comments, removing console logs, as well as trying to get jest tests working in builder. 2022-09-15 22:47:37 +01:00
mike12345567 eec65930f4 Fixing an issue with the tables store, some calls depended on the fetch returning the table list. 2022-03-09 11:22:02 +00:00
Andrew Kingston 453386696f Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
mike12345567 5e9f3969c9 Fixing a few issues that became obvious when I was looking at examples of what gets sent to the API for table saving. 2021-11-26 14:14:53 +00:00
mike12345567 f959ea0add Adding more error tracking around column creation, to reduce confusion/users not understanding required settings. 2021-11-24 14:55:14 +00:00
mike12345567 ea0000df51 Updating UI to have a table/column deletion check which makes sure the user understands what they are doing, also disabling external table deletion. 2021-11-22 15:26:24 +00:00
mike12345567 c0e3505ce8 Fixing constants import. 2021-11-10 17:55:37 +00:00
mike12345567 7f055ed8dc Adding a way to switch between string and options, as well as number and boolean types, this is very useful for SQL tables. 2021-11-10 15:01:44 +00:00
mike12345567 c82cf534d8 Updating external table UI a bit, adding the concept of defining an existing relationship, updating the data sources UI to make it a bit less cluttered and make the creation of tables more obvious. 2021-11-01 21:15:46 +00:00
mike12345567 329156d6cc SQL table building. 2021-10-28 19:39:42 +01:00
Andrew Kingston f9c8cd8506 Automatically refresh data as needed when rows or columns are updated 2021-09-29 12:07:35 +01:00
Martin McKeaveney 0cbc23dc3d Revert "Filter users table out of DataSource component and NewScreenModal" 2021-08-26 10:11:48 +01:00
Maurits Lourens 180d857d1d Filter users table out of DataSource component and NewScreenModal 2021-08-24 12:33:02 +02:00
Martin McKeaveney a7029017b0 table, view, datasource selection logic 2021-06-17 13:57:27 +01:00
Martin McKeaveney 9841a74e39 datasource selection logic - unselect other entities when choosing datasource 2021-06-16 23:27:38 +01:00
Martin McKeaveney de279fa6a9 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
mike12345567 781bd7bab6 Fixing internal table issues and updating createTable cypress test case. 2021-06-02 12:32:07 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Keviin Åberg Kultalahti 66cd1c6c04 lint fixes 2021-04-01 12:55:09 +02:00
Keviin Åberg Kultalahti dd5959eb0c re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 82485607df lint fix 2021-04-01 08:40:30 +02:00
Keviin Åberg Kultalahti 9bdfe8336d adds tables store tests 2021-03-30 15:37:53 +02:00
Keviin Åberg Kultalahti 71dc4938da adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00