Add units to the configuration parameter: "pageFormat"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by locating the JSON configuration handling for pageFormat and the existing grid and ruler unit settings. Trace how those settings affect snapping and display, then verify that a configured millimeter unit is applied consistently across the editor.
Written by the indexing model from the issue text.
Description
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Hi, within the json configuration, there is a parameter pageFormat, but it is hardcoded in inches. So when a user wants to switch the drawio into milimeters, he can e.g. set the grid rulers into milimeters, but not the grid size. That creates an unpleasant schism, when rulers are indeed in milimeters, but the shapes still snap to inches.
Please, add the possibility to change the entire global app's unit settings into milimeters, so that non-US folks can work in it as well.
A good start seems to be the pageFormat parameter, which could include the unit sub-parameter.
Thank you for consideration 😊
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jgraph/drawio
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Requesting a VPAT for app.diagrams.netPossibly taken @alderg claimed this 24 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Import TablesOpenenhancement possible-duplicate
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 82/100
Leonxlnx/taste-skill#216 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
all-contributors/cli#690 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area: ui Bug Payload OSS
Difficulty 1/5 Under an hour Newbie friendliness 88/100
payloadcms/payload#19839 ·
Maintainers usually reply within 1 day