Sort the tape.exe Measurements list in alphabetical order
Sort the tape.exe Measurements list in alphabetical order in the Measurements tab (screenshot of tab is attached)
Also this enables the formulas to work much easier, because the formulas are affected by the order of the list.
The measurements are named so that they form logical groups. Alphabetical order helps the user find the measurement.
The feature to rearrange the measurement list should be retained, but the default order of the list should be in alphabetical order to solve usability and formula issues.
Comments (45)
-
repo owner -
repo owner Why did you create two tickets for the one problem?
-
reporter I thought that it took a different direction. I could've renamed the other ticket, but I thought it needed proper discussion. Close this one if you don't like it. No problem.
-
reporter -
repo owner No, i changed my mind. I like this more.
I can create special button for making sorting only names. This will change order in the file.
-
reporter Can alphabetic order be the initial order for a new individual measurement file?
We're now effectively have these ways of ordering:
- order by measurement number
- order by measurement name
- user defined order
- template defined order
-
repo owner Can alphabetic order be the initial order for a new individual measurement file?
No, because a new individual measurement file is empty.
Then works user defined order.
Order by measurement number
This order is useless for us. You will see this order only in database window.
template defined order
Each template file it's just an empty measurement file.
-
reporter Okay then a button to sort by name. It can change the order in the file.
So the order of elements won't affect the validation of a measurement file?
Order is important in the <personal></personal> section, see issue
#352: 'Element given-name not included in this scope' error message -
reporter Okay. A checkbox for alphabetical order would work.
-
repo owner Okay. A checkbox for alphabetical order would work.
No. Not a checkbox. Button that will trigger sorting. We can't keep alphabetical order. Can just help user to make such a sorting more comfortable and quick.
So the order of elements won't affect the validation of a measurement file?
This order no. Because we are talking about value of the attribute name.
Order is important in the <personal></personal> section
The order is important almost everywhere, but this is not our case.
-
reporter Okay, I understand. This makes sense.
-
reporter There's a typo in the Measurements tab, you can see this in the screenshot for this issue.
It says 'Measuremnts', should say 'Measurements'
-
repo owner Hm. I see more problems.
First, what about reverse alphabetic order? Usually if you have alphabetical order you also have reverse alphabetic order.
Second, now i see that alphabetic order in a file is a bad idea. Because a file works with english names. And all will be good if you use in Tape english translation. But what about others. German user also want have alphabetic order. But he will not, because germany translation need different order. And here we return to the start. Alphabetic order is a good idea only if we could turn of it. If we can't, it will produce more distraction than help.
-
reporter The measurement names refer to points on the body, not slang or sewing terms. So the translation and grouping of measurements should be consistent.
English alphabetic order --> German translation
height_ankle, Height: Ankle --> Höhe: Knöchel
neck_arc_b, Neck arc (back) --> Hals Bogen (Rückseite)
neck_arc_f, Neck arc (front) --> Hals Bogen (Vordere)
waist_to_hip, Waist to hip --> Taille bis Hüfte
waist_circ, Waist circumference --> Taille UmfangGerman Alphabetic order * --> English Translation*
Hals Bogen (Rückseite) --> Neck arc (back)
Hals Bogen (Vordere) --> Neck arc (front)
Höhe: Knöchel --> Height: Ankle
Taille bis Hüfte --> Waist to Hip
Taille Umfang --> Waist circumferenceThe measurements group together in alphabetic order, eg - measurements that start with neck_ are grouped together, arm_, leg_, waist_, etc. The order of the groups is not so important. This lets the user find the measurements easily.
-
reporter Corrected previous comment and saw my error in thinking.
The order of 'circumference', 'front', and 'back' will change between languages, and this will affect the formulas.
A formula that works in the English alphabetic order will generate errors other languages.Example:
neck_arc_f = neck_circ - neck_arc_b
This formula requires neck_circ and neck_arc_b to precede neck_arc_f in the list.
This will not be the case in German. -
reporter We could have a 'Sort' drop down list with three selections:
- up triangle (sort ascending order)
- down triangle (sort descending order)
- blank (sort is off)
-
reporter Sorting appears to be useful when looking for measurements in a list while creating point formulas in valentina.exe. Maybe sorting is not as useful when values are being entered and calculated in 'Measurements, Create/Edit' in tape.exe.
-
repo owner No, i still think sorting is a bad idea.
- After sorting user will lose understanding why formulas don't work. And now instead of making it easy you will explain them about "oder is important, turn off sorting and you will see".
- Sorting conflicts with move down/up features.
- If you want groups just make a correct template file and use each time you need a new file. No need create a file from scratch.
- The new measurements format was designed for containing smallest possible number of measurements. Grouping it is a waste of time if you work with small numbers of measurements.
- In case you have a big number of measurements i propose create a search field like in Qt Designer. It will works like a filter.
-
reporter Can the measurements be ordered in the file so that the formulas work by default?
The user can still reorder them if they wish, with the risk that they will cause the formulas to fail if they're not careful.
-
reporter Search field is a good idea.
-
repo owner Can the measurements be ordered in the file so that the formulas work by default?
Yes, of course, but you made a list that by default have broken formulas.
Take a look. I created new file and added all measurements from database. Some formulas are broken, and some measurements even doesn't exist.
Please, check it again.
-
repo owner Search field is a good idea.
Do you want to see it in 0.4?
-
reporter Yes, because 0.4 is all about measurements.
-
reporter Do you want me to create an issue?
-
reporter Attach your new file
-
repo owner - attached all_known_measurements.vit
Here all measurements we know in order you gave me.
-
repo owner Do you want me to create an issue?
Yes, it's completely different issue.
-
repo owner Search field is a good idea.
I have an idea. Instead showing only strings that matching the search term, we can highlight cells that match search field. If add buttons "Find previous" and "Find next" search will be very quick.
I don't want to hide strings because it will broke "Move up/down" feature. What do you think?
-
reporter So there are 3 ways to order the measurements:
1st order - The measurements in the SVG drawing are ordered based on finding the measurement visually - measurement number (m_no)
2nd order - The named measurements are ordered based on finding the measurement by reading - measurement name (m_name)
3rd order - I didn't consider this one, based on calculating - formula number (f_no). Use this during Create/Edit.
What do you think?
-
reporter I'm creating new issue for Search in measurement dialog to improve discussion
-
repo owner Use this during Create/Edit.
What do you mean?
-
reporter Do have another suggestion about how to incorporate formulas?
-
reporter - attached m_no__order.png
-
reporter - attached m_name__order.png
-
reporter - attached f_no__order.png
-
reporter I attached 3 files to show how to order the measurements to match the different ways measurements are used. The ordering isn't implemented, the screenshots are to show the 3 different functional areas which have differing order requirements.
- In tape.exe 'Add Known', order by measurement number (m_no). The attached screenshot is m_no__order.png
- In tape.exe 'Create/Edit', order by formula number (f_no). The attached screenshot is f_no__order.png - This should be the order in the measurement file.
- In valentina.exe when editing formulas for points, order by measurement name (m_name). The attached screenshot is m_name__order.png
-
reporter Another possibility, this way doesn't require a 3rd way to order the measurements.
I can reassign the measurement numbers (m_no) and rearrange the measurement images in the SVG. The formulas will work whenever measurements are ordered by measurement number (m_no).
tape.exe will use measurement order (m_no) - This is the order saved in measurement files. valentina.exe will use measurement name (m_name)
-
repo owner Another possibility, this way doesn't require a 3rd way to order the measurements. I can reassign the measurement numbers (m_no) and rearrange the measurement images in the SVG. The formulas will work whenever measurements are ordered by measurement number (m_no). tape.exe will use measurement order (m_no) - This is the order saved in measurement files. valentina.exe will use measurement name (m_name)
You are reading my mind. :) I wanted to propose it myself.
-
reporter -
repo owner Okay, i will wait the document with new order.
-
reporter - attached RPT_11_Changes_m_no_20150918.ods
A list of the measurements with new numbers. A list of the all measurements with formulas.
-
reporter -
repo owner Check if all ok.
-
repo owner - changed status to resolved
-
reporter Tested & confirmed.
- Log in to comment
No. Don't see.:)