profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/concrete-utopia/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Utopia concrete-utopia Utopia utopia.app Building a Concrete Utopia

concrete-utopia/utopia 3095

Design ❤️ Code

concrete-utopia/draft-js 0

A React framework for building text editors.

concrete-utopia/react 0

A declarative, efficient, and flexible JavaScript library for building user interfaces.

concrete-utopia/react-vtree 0

React component for efficiently rendering large tree structures

concrete-utopia/serversession 0

Secure, modular server-side sessions.

push eventconcrete-utopia/utopia

Eniko Bakos-Demeter

commit sha 6cda6199d77f79412a7600c708394bf8bcba0555

fix(component-section) show folder section open as default

view details

push time in 24 minutes

startedconcrete-utopia/utopia

started time in 25 minutes

push eventconcrete-utopia/utopia

Eniko Bakos-Demeter

commit sha bc1fa3e03aec218b5d9c9e1955d536cc186f5cab

feature(component-section) foldersection with expansion arrows

view details

push time in 33 minutes

push eventconcrete-utopia/utopia

Eniko Bakos-Demeter

commit sha befe228d91fdace5cdcee42a0447684604a4b282

feature(component-section) object control toggle

view details

push time in an hour

push eventconcrete-utopia/utopia

Balazs Bajorics

commit sha 0b24386aa7e64f88a027835e895665dc23a91452

Update component-section.tsx

view details

push time in an hour

issue commentconcrete-utopia/utopia

adding/changing App.propertyControls requires you to reload the editor

This is occurring as a result of the triggering call which is only inside generateCodeResultCache, not being triggered after updates to files in the project.

balazsbajorics

comment created time in 2 hours

push eventconcrete-utopia/utopia

Eniko Bakos-Demeter

commit sha 6447bf798df5e3bbdb5a9c4f8d91412c9ffbe482

feature(component-section) indentation and highlight effect

view details

push time in 2 hours

push eventconcrete-utopia/utopia

Balazs Bajorics

commit sha 89ef69d2bec374a4f676f2e0f2c85ba7e55cd5df

folder prototype

view details

push time in 2 hours

push eventconcrete-utopia/utopia

Sean Parsons

commit sha c5f9788f4ec0bbbfef92061ce4f44cce88fdf4f2

fix(inspector) Mark intrinsic elements from libraries also as imported. (#1927) - Added `isIntrinsicElementMetadata` and `isIntrinsicHTMLElementMetadata`, which just invoke the aready existing similarly named functions but against an instance of `ElementInstanceMetadata`. - Modified `isImportedComponentNPM` to also include intrinsic elements which are not regular HTML intrinsics. - Slightly tweaked `ComponentInfoBox` to handle the case for intrinsics from dependencies which wont have a value for `componentPackageName`.

view details

push time in 2 hours

delete branch concrete-utopia/utopia

delete branch : fix/handle-imported-intrinsic-elements

delete time in 2 hours

PR merged concrete-utopia/utopia

Reviewers
Mark intrinsic elements from libraries also as imported.

Problem: React Three Fiber elements were not marked as being components coming from NPM, which is as a result of them not having associated imports, because React intrinsics.

Fix: For intrinsics that are not regular HTML intrinsics, the inspector now treats them as being components that came from NPM.

Limitations: As the R3F elements are intrinsics with no matching import, we cannot identify which library they originate from.

Commit Details:

  • Added isIntrinsicElementMetadata and isIntrinsicHTMLElementMetadata, which just invoke the aready existing similarly named functions but against an instance of ElementInstanceMetadata.
  • Modified isImportedComponentNPM to also include intrinsic elements which are not regular HTML intrinsics.
  • Slightly tweaked ComponentInfoBox to handle the case for intrinsics from dependencies which wont have a value for componentPackageName.
+53 -7

2 comments

2 changed files

seanparsons

pr closed time in 2 hours

PullRequestReviewEvent
PullRequestReviewEvent

push eventconcrete-utopia/utopia

push time in 3 hours

issue openedconcrete-utopia/utopia

Add property controls for missing R3F base types

R3F provides a number of base convenience types for three.js types commonly used in element props. For example, to save users from having to construct a three.js vector to set a position, you can add the prop position={[1,2,3]}. These types are defined at the top of three-types.ts. Some of these already have controls defined.

*Types warranting specific controls:"

  • [x] Color
  • [x] Vector2
  • [x] Vector3
  • [] Euler
    • [] [ number, number, number ] (clashes with Vector3, but is that an issue?)
    • [] [ number, number, number, ’XYZ’ | ‘XZY’ | ‘YXZ’ | ‘YZX’ | ‘ZXY’ | ‘ZYX’ ]
  • [] Matrix4
    • [] Tuple of 16 numbers
  • [] Vector4
    • [] [ number, number, number, number ]
  • Quaternion
    • [] [ number, number, number, number ] (clashes with Vector4, but is that an issue?)

Types that don't need controls:

  • ColorArray
  • Layers (this does however expect an integer, so it's maybe worth adding an "integer only" flag to the number control?)

Other notes: Some of the numbers represent rotations, or positions calculated based on rotations, so often calculations involving Math.Pi, or other Math functions are used rather than raw numbers (e.g. rotation={[-Math.PI / 2, 0, i / Math.PI / 2]}, position={[2 - Math.sin(i / 5) * 5, i * 0.5, 2 - Math.cos(i / 5) * 5]}).

created time in 3 hours

create barnchconcrete-utopia/utopia

branch : chore/folder-ui

created branch time in 3 hours

create barnchconcrete-utopia/utopia

branch : feature/component-section-rows

created branch time in 3 hours

issue commentconcrete-utopia/utopia

adding/changing App.propertyControls requires you to reload the editor

This should only be tackled in the context that it is currently a nuisance when developing the Inspector / the actual controls being used, meaning this should only be a quick fix or even a hack where possible (e.g. it could be a button for reparsing the controls, hidden behind a feature flag). The reason being that we don't want to encourage use of this style in general, as we want to remain free to experiment with and completely change the way in which users can define property controls until we are happy with them.

balazsbajorics

comment created time in 4 hours

issue openedconcrete-utopia/utopia

adding/changing App.propertyControls requires you to reload the editor

we still seem to have some problem with the property controls iframe, if you open a new project, try to insert

App.propertyControls = {
  greetings: {
    type: 'string',
    title: 'Greetings',
    defaultValue: 'Hello World',
  },
  alpha: {
    type: 'slider',
    title: 'Amount',
    defaultValue: 0,
    min: 0,
    max: 100,
    step: 1,
  },
  backdrop: {
    type: 'color',
    title: 'Color',
    defaultValue: '#ddd',
  },
}

you will not see the changes in the inspector. you need to reload the editor to see the property controls

created time in 5 hours

startedconcrete-utopia/utopia

started time in 6 hours

push eventconcrete-utopia/utopia

RheeseyB

commit sha ae232a3dd48bd9968ab917b89a9b705cf473e824

Add further property control inference (#1924) * feat(editor) Add further property control inference * fix(tests) Updated performance-regression-tests * chore(tests) Added some tests for inferControlTypeBasedOnValue * fix(Inspector) Prevent stack overflow in prop inference * chore(Inspector) Ignore style object when inferring controls * chore(tests) Added tests to ensure we ignore react elements and style objects in prop inference

view details

Sean Parsons

commit sha 18815f996779741794eeeddc2d97cc21a53a3cf0

fix(editor) Update the project URL again with name updates. (#1922) - Fixes #1902. - Moved `pushProjectURLToBrowserHistory` to `editor-component.tsx` as it doesn't make any sense for it to live with the persistence layer. - `EditorComponentInner`, similar to what happens with `document.title`, will push an URL update onto the browser history (which to the user looks like the URL changing without reloading) based on project ID and/or project name updates. - Removed the logic from the state machine for updating the URL. - When creating a new project, the name previously generated is used so that it doesn't cycle names in the URL bar.

view details

Eniko Bakos-Demeter

commit sha f7b7726b551c17d78b01c26b2ab3a42b2474f6e9

feature(inspector) split contextdata for multiselected sections (#1925) * feature(inspector) split contextdata for multiselected sections * fix(tests) update render count * fix(component-section) removing extra spread

view details

github-actions[bot]

commit sha b37833d86ee687d45b1493fe5b68d97f784127bf

Update google fonts list (1284 fonts)

view details

push time in 8 hours

created tagconcrete-utopia/utopia

tagv0.1.119

Design ❤️ Code

created time in 11 hours

release concrete-utopia/utopia

v0.1.119

released time in 11 hours

startedconcrete-utopia/utopia

started time in 16 hours

startedconcrete-utopia/utopia

started time in 16 hours

push eventconcrete-utopia/utopia

Eniko Bakos-Demeter

commit sha f7b7726b551c17d78b01c26b2ab3a42b2474f6e9

feature(inspector) split contextdata for multiselected sections (#1925) * feature(inspector) split contextdata for multiselected sections * fix(tests) update render count * fix(component-section) removing extra spread

view details

push time in a day

delete branch concrete-utopia/utopia

delete branch : feature/inspector-components-controlstatus

delete time in a day

PR merged concrete-utopia/utopia

feature(inspector) split contextdata for multiselected sections

Problem: When multiselecting in the component-section and showing the subsections most of the controls are mixed multiselected, where they should be using the simple status.

Fix: The multiselected component-section shows subsections for components where the property-controls are different, each subsection is a partial multiselection. The inspector context contains the selected props and spies collected for all selection to use it in one section instead of smaller subsections. The inspector hooks use the context to create controlstatus.

The fix is to split the InspectorPropsContext for section targets.

Commit Details:

  • update context
  • use new context in PropertyControlsSection
+40 -9

4 comments

2 changed files

enidemi

pr closed time in a day

pull request commentconcrete-utopia/utopia

Mark intrinsic elements from libraries also as imported.

Link to test editor This PR: <br /> Scroll Canvas: 57.8ms (42.6-115ms) | Resize: 98.8ms (20.4-246.8ms) | Selection: 274.7ms (244.4-564.3ms) | Calc Pi: 35ms (33-98ms) | Empty Dispatch: 52.1ms (45.2-486ms) | (Chart) <br /> Compare with last deployed Master: <br /> Scroll Canvas: 56.5ms (47.6-111.7ms) | Resize: 96.2ms (26.2-717.5ms) | Selection: 280.1ms (246.8-834.6ms) | Calc Pi: 34ms (31-41ms) | Empty Dispatch: 52ms (45.8-437.8ms) | (Chart)

seanparsons

comment created time in a day