Skip to content

Commit 53451a8

Browse files
authored
[core] Remove studio workspaces (#4756)
1 parent 2819eda commit 53451a8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+669
-2426
lines changed

.circleci/config.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ jobs:
167167
- run:
168168
name: Tests real browser
169169
command: pnpm test:browser
170+
- run:
171+
name: Upload screenshots to Argos CI
172+
command: ARGOS_PARALLEL_TOTAL=${CIRCLE_NODE_TOTAL} pnpm test:argos
170173

171174
test_integration:
172175
<<: *default-job
@@ -186,17 +189,17 @@ jobs:
186189
command: pnpm release:build
187190
environment:
188191
NODE_OPTIONS: --max-old-space-size=3584
189-
- run:
190-
name: Tests real browser
191-
command: pnpm test:integration
192-
- store_test_results:
193-
path: test/test-results/junit.xml
194-
- run:
195-
name: Upload screenshots to Argos CI
196-
command: ARGOS_PARALLEL_TOTAL=${CIRCLE_NODE_TOTAL} pnpm test:argos
197-
- store_artifacts:
198-
path: test/test-results
199-
destination: playwright-test-results
192+
# - run:
193+
# name: Tests real browser
194+
# command: pnpm test:integration
195+
# - store_test_results:
196+
# path: test/test-results/junit.xml
197+
# - run:
198+
# name: Upload screenshots to Argos CI
199+
# command: ARGOS_PARALLEL_TOTAL=${CIRCLE_NODE_TOTAL} pnpm test:argos
200+
# - store_artifacts:
201+
# path: test/test-results
202+
# destination: playwright-test-results
200203

201204
test_bundle_size_monitor:
202205
<<: *default-job

.codesandbox/ci.json

+1-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,10 @@
22
"installCommand": "install:codesandbox",
33
"buildCommand": "release:build",
44
"node": "20",
5-
"packages": [
6-
"packages/create-toolpad-app",
7-
"packages/toolpad-core",
8-
"packages/toolpad-studio",
9-
"packages/toolpad-studio-components",
10-
"packages/toolpad-studio-runtime",
11-
"packages/toolpad-utils"
12-
],
5+
"packages": ["packages/create-toolpad-app", "packages/toolpad-core", "packages/toolpad-utils"],
136
"publishDirectory": {
147
"create-toolpad-app": "packages/create-toolpad-app",
158
"@toolpad/core": "packages/toolpad-core/build",
16-
"@toolpad/studio": "packages/toolpad-studio",
17-
"@toolpad/studio-components": "packages/toolpad-studio-components",
18-
"@toolpad/studio-runtime": "packages/toolpad-studio-runtime",
199
"@toolpad/utils": "packages/toolpad-utils/build"
2010
},
2111
"silent": true

.eslintignore

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ pnpm-lock.yaml
44
/docs/export
55
/docs/schemas
66
/packages/**/dist
7-
/packages/toolpad-studio/.next
8-
/packages/toolpad-studio/public
97

108
build
119
dist
@@ -20,3 +18,9 @@ dist
2018

2119
.coverage
2220
.tsup
21+
22+
# deprecated Toolpad Studio:
23+
test
24+
/packages/toolpad-studio/
25+
/packages/toolpad-studio-runtime/
26+
/packages/toolpad-studio-components/

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ module.exports = {
156156
'*.test.ts',
157157
'*.test.tsx',
158158
'vitest.config.mts',
159+
'vitest.config.*.mts',
159160
],
160161
rules: {
161162
'import/no-extraneous-dependencies': ['error'],

codecov.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
coverage:
22
ignore:
33
- '*/icons/*'
4+
# deprecated Toolpad Studio:
5+
- 'packages/toolpad-studio/*'
6+
- 'packages/toolpad-studio-runtime/*'
7+
- 'packages/toolpad-studio-components/*'
48
status:
59
project:
610
default:

docs/config.d.ts

-7
This file was deleted.

docs/data/toolpad/studio/components/button/button.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Button
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn about the button component and it's usage in Toolpad Studio.</p>
48

59
## Demo

docs/data/toolpad/studio/components/data-grid/data-grid.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Data Grid
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn about how to use data grids in Toolpad Studio.</p>
48

59
## Demo

docs/data/toolpad/studio/components/date-picker/date-picker.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Date Picker
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn about the datepicker component and its usage in Toolpad Studio.</p>
48

59
## Demo

docs/data/toolpad/studio/components/list/list.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# List
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn about the list component and its usage in Toolpad Studio.</p>
48

59
## Usage

docs/data/toolpad/studio/components/text-field/text-field.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Text Field
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn about the textfield component and its usage in Toolpad Studio.</p>
48

59
## Demo

docs/data/toolpad/studio/concepts/authentication.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Authentication
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Restrict a Toolpad Studio application to authenticated users only, under certain authentication providers.</p>
48

59
You can configure a Toolpad Studio application so that users have to sign in with specific authentication providers in order to access it.

docs/data/toolpad/studio/concepts/building-ui.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Building UI
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Toolpad Studio allows you to build your frontends fast so you can concentrate on writing logic.</p>
48

59
## Component Library

docs/data/toolpad/studio/concepts/custom-components.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Custom components
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">You can bring your own custom components inside the Toolpad Studio editor.</p>
48

59
The steps below explain how to create and use a custom component in Toolpad Studio.

docs/data/toolpad/studio/concepts/custom-functions.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Custom Functions
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">These offer a fast way to bring your existing functions to a Toolpad Studio page.</p>
48

59
The most powerful way of bringing data into Toolpad Studio is through your own code. You can define functions inside `toolpad/resources` and use them when creating a query of this type. The following video shows how you can use this feature to read data from PostgreSQL.

docs/data/toolpad/studio/concepts/custom-server.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Custom server
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Run Toolpad Studio applications programmatically in existing node.js servers.</p>
48

59
:::warning

docs/data/toolpad/studio/concepts/data-binding.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Data binding
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">You can use bindings to make your components reactive to data on the page.</p>
48

59
Each property of component that may be bound to data present on the page is surrounded by a **Binding** button, which you can click to initiate data binding.

docs/data/toolpad/studio/concepts/data-providers.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Data providers
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Bring tabular data to the frontend with server-side pagination and filtering.</p>
48

59
Toolpad Studio functions are great to bring some backend state to the page, but they fall short when it comes to offering pagination and filtering capabilities from the server. Toolpad Studio offers a special construct to enable this use case: Data providers. Data providers abstract server-side collections. They could be database tables, REST APIs, or any data that represents a set of records that share a common interface. Data providers are defined as server-side objects and can be directly connected to a data grid to make it fully interactive.

docs/data/toolpad/studio/concepts/deployment.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Deployment
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Deploying a Toolpad Studio app is like deploying any other React/Node application.</p>
48

59
## Pre-requisites

docs/data/toolpad/studio/concepts/event-handling.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Event Handling
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">User actions create events that are handled in two ways in Toolpad Studio.</p>
48

59
## JS expression actions

docs/data/toolpad/studio/concepts/file-structure.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# File structure
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Toolpad Studio's accessibility to the file-system makes it powerful. Here's how.</p>
48

59
Toolpad Studio is file-system based, which means that an app's entire configuration is stored in files within your project. You can inspect and edit them from your IDE. You'll also use your own tools to author custom functions and components. This is how the project structure looks like in the file-system:

docs/data/toolpad/studio/concepts/http-requests.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# HTTP requests
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">These offer a fast way to load external data from REST APIs, via a configurable interface.</p>
48

59
{{"component": "modules/components/DocsImage.tsx", "src": "/static/toolpad/docs/studio/concepts/connecting-to-data/query-1.png", "alt": "Add HTTP request", "caption": "Adding a query via the HTTP Request panel" }}

docs/data/toolpad/studio/concepts/page-properties.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Page properties
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
## Display mode
48

59
<p class="description">Toolpad Studio apps allow for a display mode configurable per-page.</p>

docs/data/toolpad/studio/concepts/queries.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Connecting to data
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Be it a database table or an external API, Toolpad Studio offers mechanisms to read to – and write from – server-side data.</p>
48

59
:::info

docs/data/toolpad/studio/concepts/rbac.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Role-based access control
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Restrict pages in Toolpad Studio application to users with certain roles only.</p>
48

59
:::warning

docs/data/toolpad/studio/concepts/theming.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Theming
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Toolpad Studio allows you to add your custom theme to your app, or customize individual component styles.</p>
48

59
## Adding a global theme

docs/data/toolpad/studio/getting-started/examples-overview.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ title: Examples
55

66
# Overview
77

8+
:::warning
9+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
10+
:::
11+
812
<p class="description">Browse a collection of Toolpad Studio examples that help you familiarise with Toolpad Studio concepts.</p>
913

1014
This collection includes apps that showcase connecting to APIs, adding custom components, adding secrets, adding authentication, working with ORMs and more.

docs/data/toolpad/studio/getting-started/first-app.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Build your first app
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn the fundamentals of building with Toolpad Studio by creating a small application.</p>
48

59
This guide will walk you through the process of creating a small Toolpad Studio application.

docs/data/toolpad/studio/getting-started/installation.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Installation
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Setup Toolpad Studio to run on your own machine.</p>
48

59
## Create a Toolpad Studio app

docs/data/toolpad/studio/getting-started/overview.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Overview
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">A general, high-level description of Toolpad Studio and its capabilites.</p>
48

59
## Introduction

docs/data/toolpad/studio/getting-started/roadmap.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Roadmap
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Find out about the plans for Toolpad Studio.</p>
48

59
## Toolpad Studio roadmap

docs/data/toolpad/studio/getting-started/support.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Support
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn how to get support for Toolpad Studio, including feature requests, bug fixes, and technical support from the team.</p>
48

59
## GitHub

docs/data/toolpad/studio/getting-started/why-toolpad.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Why Toolpad Studio?
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Learn how Toolpad Studio approaches building internal tools, and how it can be useful to you.</p>
48

59
## TL;DR

docs/data/toolpad/studio/how-to-guides/basic-auth.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Enable basic authentication
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Add basic authentication to your Toolpad Studio application.</p>
48

59
You can integrate [basic auth](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#basic_authentication_scheme) into your Toolpad Studio applications using a simple environment variable configuration

docs/data/toolpad/studio/how-to-guides/connect-to-databases.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Connecting to databases
22

3+
:::warning
4+
Toolpad Studio has been deprecated. Please use [Toolpad Core](/toolpad/) instead.
5+
:::
6+
37
<p class="description">Toolpad Studio allows you to connect to any database, fast.</p>
48

59
You can write a custom function to connect to any database that you need to.

0 commit comments

Comments
 (0)