"True" measurement templates

Issue #741 closed
legija created an issue

So right now you can create a template, but it's function is pretty useless. See this usecase:

User creates a pattern. It is a well-developed pattern and he wants to start working with it for customers. So he measures and measures and measures. He creates new measurements for customers from his template.

Now he adds some features to his pattern, decides to use more measurements, now he adjusts his template. All new measurement files are based on this new template. However, all old measurement files are still based on the old one. If he uses a new measurement inside his pattern, all old measurement files can no longer be used, since it will give an error of "can't load measurement file, please provide #measurementX"

Now I can remember using dreamweaver from Adobe way back when I used to make websites. You'd make a template, then create new pages from that template (it was linked). When you adjusted the template, you'd automatically get the question saying; "Pages x y and z use template A. Would you like to update these pages?"

I think this would be a good addition to valentina.

Comments (15)

  1. Roman Telezhynskyi repo owner

    Is this correct? Do you want to know which files use a template and add new measurements there? Only records without values? But you still will need to open each updates file and edit new measurements if not they will left 0.

  2. legija reporter

    I don't know what's easier to implement. There could be 2 scenarios of which one would be harder to execute in my mind.

    Scenario 1:

    Measurement file A and B have been based on Template X.

    User updates Template X. Next time Measurement file A is opened, it detects that it's template has been changed, and prompts to update. Measurement file B is opened again, again a prompt asking if user wants to update.

    Scenario 2:

    Template X is part of a "project" (much like dreamweaver). Within this project, there is a list of measurements, to be used with the pattern files within the same project. This project houses a list of measurement files and on which template they are based.

    Template X is updated. Valentina prompts user and asks whether or not user wants to update all measurement files based on that template.

  3. legija reporter

    And yes, of course these new measurements will default to 0. (unless a template default value has been assigned)

  4. legija reporter

    Either way it would be a vast improvement for handling large amounts of measurement files :)

  5. Susan Spencer

    There was a templates and multisize tables redesign meeting last week, conducted by two super users (grace & kmf). I have the results, just need to post them in the relevant issues.

  6. Roman Telezhynskyi repo owner

    Good. But without my approval this is just a proposal. So, don't wait too long. Because i already ready implement @bespoketailoring's proposal. This will happen very soon. With or without your results.

  7. Log in to comment