1
0
Fork 0

feat: New pattern editor (#7080)

This is not exactly finished or ready for prime-time, but I do feel that leaving it in a feature branch longer will only cause the spread between the `develop` branch and this to grow.

Given that I've taken care to not break the current site, I plan to merge this and then keep polishing things.

Some views are not implemented yet, and overall there's a need to polish to limit the amount of re-renders and improve performance.
This commit is contained in:
Joost De Cock 2024-09-15 15:29:30 +02:00 committed by GitHub
parent ea0746313e
commit adefbe7d18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
80 changed files with 9223 additions and 76 deletions

View file

@ -530,8 +530,8 @@ export const MeasieInput = ({
typeof original === 'undefined'
? original
: isDegree
? Number(original)
: measurementAsUnits(original, units)
? Number(original)
: measurementAsUnits(original, units)
)
const [validatedVal, setValidatedVal] = useState(measurementAsUnits(original, units))
const [valid, setValid] = useState(null)