Skip to content

unit toggle only affects the display of dimensions, not the input #308

@PRAVEEN7230

Description

@PRAVEEN7230

What happened?

The problem is in wall-tool.tsx. When you draw a wall:

It captures mouse positions as building coordinates (already in meters)
The formatMeasurement function only displays the measurement in imperial format, but doesn't allow you to input in feet
There's no input field during the wall drawing process - you just click and drag to create the wall
What happens:

The displayed measurement shows 20'0" (feet format)
But the actual wall is created based on mouse cursor distance in meters
There's no way to manually enter dimensions in feet during creation or editing.

Steps to reproduce

you just click and drag to create the wall
What happens:

The displayed measurement shows 20'0" (feet format)
But the actual wall is created based on mouse cursor distance in meters
There's no way to manually enter dimensions in feet during creation

Expected behavior

the toggle unit feature should change the units in complete app inputs

Browser & OS

No response

Screenshots or screen recordings

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions