-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Embed widget loading workspace settings (#2068)
Fixes #1964. Also removed a bunch of unnecessary code in `AppInit` where we were using the redux `connect` API with a functional component instead of just using the redux hooks Note that even though this moves a bunch of files to `app-utils`, I don't consider it breaking since they are being moved out of `code-studio`. They wouldn't be consumed by anything else since `code-studio` is published as a bundle. Due to local storage requiring a port match, this can only be tested w/ the local server in 2 steps (this should be fine in prod since the app and embed-widget run on the same port there). 1. Start the dev server and go to the app 2. Run some code to create a table. 3. Change user formatting settings (e.g. show timezones and have a timestamp column) 4. Stop the dev server. 5. Run `PORT=4000 npm run start:embed-widget`. This will let us access the saved workspace from the app 6. Go to `localhost:4000/?name=<your-variable-name>` 7. The formatting settings should be applied
- Loading branch information
1 parent
c804b15
commit b090f20
Showing
20 changed files
with
183 additions
and
207 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './components'; | ||
export * from './plugins'; | ||
export * from './storage'; | ||
export * from './utils'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from './GrpcFileStorage'; | ||
export * from './GrpcFileStorageTable'; | ||
export * from './GrpcLayoutStorage'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from './grpc'; | ||
export * from './LayoutStorage'; | ||
export * from './LocalWorkspaceStorage'; | ||
export * from './UserLayoutUtils'; | ||
export { default as UserLayoutUtils } from './UserLayoutUtils'; |
Oops, something went wrong.