From 27aa40c2e3016cce88ebabba8d2f04af3a3ffd92 Mon Sep 17 00:00:00 2001
From: Michael Dougall <6801309+itsdouges@users.noreply.github.com>
Date: Fri, 27 Oct 2023 10:31:51 +1100
Subject: [PATCH] Add 0.57 release notes
adeira-source-id: 1cc8313af1c8f58257d12a4758c493ad67dbc77a
---
apps/docs/pages/blog/_meta.json | 9 +++--
.../pages/blog/v0.56.0-live-editing-props.mdx | 18 +++++----
.../blog/v0.57.0-edit-children-elements.mdx | 10 +++--
.../blog/v0.58.0-provider-component-ui.mdx | 6 ++-
.../pages/blog/v0.59.0-backend-stability.mdx | 39 +++++++++++++++++++
5 files changed, 65 insertions(+), 17 deletions(-)
create mode 100644 apps/docs/pages/blog/v0.59.0-backend-stability.mdx
diff --git a/apps/docs/pages/blog/_meta.json b/apps/docs/pages/blog/_meta.json
index 559e7d70..c67096bb 100644
--- a/apps/docs/pages/blog/_meta.json
+++ b/apps/docs/pages/blog/_meta.json
@@ -4,8 +4,9 @@
"pagination": false
}
},
- "threejs-halloween-challenge": "Triplex joins the Three.js Halloween Challenge",
- "v0.58.0-provider-component-ui": "Triplex 0.58: Provider Component UI",
- "v0.57.0-edit-children-elements": "Triplex 0.57: Edit Children Elements",
- "v0.56.0-live-editing-props": "Triplex 0.56: Live Editing Props"
+ "v0.59.0-backend-stability": "",
+ "threejs-halloween-challenge": "",
+ "v0.58.0-provider-component-ui": "",
+ "v0.57.0-edit-children-elements": "",
+ "v0.56.0-live-editing-props": ""
}
diff --git a/apps/docs/pages/blog/v0.56.0-live-editing-props.mdx b/apps/docs/pages/blog/v0.56.0-live-editing-props.mdx
index 02afb2cf..f6533f96 100644
--- a/apps/docs/pages/blog/v0.56.0-live-editing-props.mdx
+++ b/apps/docs/pages/blog/v0.56.0-live-editing-props.mdx
@@ -10,7 +10,9 @@ description:
▵ Triplex 0.56.0 introduces developer experience improvements and fixes some
bugs.
-## Live edit props
+## New features
+
+### Live edit props
Edit props given to the component you have open to test it in out over different
states. Changed props only last during your session however — so when you close
@@ -18,14 +20,14 @@ Triplex they're gone!
-## Number input improvements
+### Number input improvements
The number input has been improved with slider and increment/decrement behavior.
Use keyboard modifiers (shift/ctrl) to control how fine grained it should be!
-## Set constraints with prop description tags
+### Set constraints with prop description tags
Declare JSDoc tags in your prop descriptions and Triplex will use them where
supported.
@@ -45,7 +47,7 @@ interface CameraEntityProps {
-## Adding GLTF assets to your scene
+### Adding GLTF assets to your scene
GLTF is a common asset exported from 3D software like Blender. Now you can add
them to your components straight through Triplex without needing to write out
@@ -53,14 +55,16 @@ the code for it.
-## Set host element names
+### Set host element names
Host elements such as mesh can now be labelled using the name prop. When set
they are used as the name shown in the scene panel.
-## Union type input fixes
+## Bug fixes
+
+### Union type input fixes
Previously props that were a union type, such as one that takes a number and a
string, would lose the ability switch between them in the context panel when the
@@ -68,7 +72,7 @@ prop was set with a value. This is now fixed.
-## Other bug fixes
+### Other
- All `undefined` values are now preserved when saving props instead of being
set to `null`.
diff --git a/apps/docs/pages/blog/v0.57.0-edit-children-elements.mdx b/apps/docs/pages/blog/v0.57.0-edit-children-elements.mdx
index b1af7c1c..b45ef24b 100644
--- a/apps/docs/pages/blog/v0.57.0-edit-children-elements.mdx
+++ b/apps/docs/pages/blog/v0.57.0-edit-children-elements.mdx
@@ -10,7 +10,9 @@ description:
▵ Triplex 0.57.0 brings much needed quality of life improvements.
-## Edit any child element in the scene panel
+## New features
+
+### Edit any child element in the scene panel
Previously only elements that were declared in the open component could be
edited, now any child element in the component tree can be edited and saved back
@@ -18,7 +20,7 @@ to source code.
![Edit children through the Triplex scene panel](/releases/57/1.png)
-## Filter components, elements, and props
+### Filter components, elements, and props
Scrolling through large lists of components, elements, and props has been
cumbersome for everyone. Now you can filter through them and find exactly what
@@ -26,7 +28,7 @@ you're looking for.
![Filter props through the Triplex context panel](/releases/57/2.png)
-## Declare a global React provider
+### Declare a global React provider
For those who are heavy users of
[React Context](https://react.dev/reference/react/createContext#provider) you
@@ -49,7 +51,7 @@ export default function Provider({ children }) {
}
```
-## Contextually add elements to a component
+### Contextually add elements to a component
Adding an element to a component was confusing, depending if you had an element
selected or not you'd end up with unexpected behavior. Now it's contextual, the
diff --git a/apps/docs/pages/blog/v0.58.0-provider-component-ui.mdx b/apps/docs/pages/blog/v0.58.0-provider-component-ui.mdx
index 93fd22e4..140083e1 100644
--- a/apps/docs/pages/blog/v0.58.0-provider-component-ui.mdx
+++ b/apps/docs/pages/blog/v0.58.0-provider-component-ui.mdx
@@ -12,7 +12,9 @@ scene command works, and fixes some bugs.
Thank you to Matt Black for sponsoring Triplex!
-## Provider component props
+## New features
+
+### Provider component props
Props declared on your provider component now appear as editable in the Triplex
UI, using the same powerful system used to edit components.
@@ -44,7 +46,7 @@ Here's some ideas where you could start using this feature:
- Physics/post processing/XR helpers
- Entity Component System helpers to start and stop systems
-## Refresh scene command
+### Refresh scene command
Previously using the refresh scene command (CMD+R) would perform a hard refresh
of the scene. Now this command has been renamed to reload scene (CMD+SHIFT+R)
diff --git a/apps/docs/pages/blog/v0.59.0-backend-stability.mdx b/apps/docs/pages/blog/v0.59.0-backend-stability.mdx
new file mode 100644
index 00000000..205cf3ec
--- /dev/null
+++ b/apps/docs/pages/blog/v0.59.0-backend-stability.mdx
@@ -0,0 +1,39 @@
+---
+title: "Triplex 0.59: Backend Stability Improvements"
+ogTitle: Triplex 0.59.0
+date: 2023-10-27
+description: This release significantly improves
+---
+
+▵ Triplex 0.59.0 completes a large refactor of the backend to improve scene
+stability, fixing bugs, enabling new features, and setting us up for success
+into the future.
+
+## New features
+
+- Exit selection command can now be triggered using the `Shift+CmdOrControl+F`
+ hotkey
+- Transform actions (translate/rotate/scale) are now available in the selection
+ menu
+- Triplex now warns you when the file you have open is outside where your
+ project has defined files should be
+ [[#135](https://github.com/try-triplex/triplex/issues/135)]
+
+## Bug fixes
+
+- Union literal labels are now shown in the select input when possible
+ [[#87](https://github.com/try-triplex/triplex/issues/87)]
+- Saving no longer accidentally triggers the scale transform mode
+ [[#145](https://github.com/try-triplex/triplex/issues/145)]
+- Changes to your scene are no longer visually lost when entering / exiting /
+ reloading components [[#3](https://github.com/try-triplex/triplex/issues/3),
+ [#53](https://github.com/try-triplex/triplex/issues/53)]
+- Adding a new element then saving no longer results in the component briefly
+ being unmounted [[#48](https://github.com/try-triplex/triplex/issues/48)]
+
+## Chores
+
+- When loading a project if it fails to load an error screen is now shown
+ instead of nothing
+- A loading screen is now shown when opening Triplex
+ [[#31](https://github.com/try-triplex/triplex/issues/31)]