Last version of boltdiy and sonnet issue

When i work with sonnet in local, sonne every time overwrite the file with new code but forgot to write the old code

Hey @mredodos, could you share an example of this happening? I’m not quite getting what you mean here since it shouldn’t have to rewrite all the old code - that should still be in the webcontainer!

Hi @ColeMedin, Thx for the answer… Every answer, bolt adds new code in a file and writes the comment “the rest of the code is same as before” or something like that. But he removes all the previous code, in the file you can see just the new code.

Here, for example, missing all the code of the rest of the form he had added the button ecc but remove the rest

<!-- Aggiorna i pulsanti nell'HTML per assicurarti che abbiano gli attributi corretti -->
<!-- Esempio per il pulsante "Vai allo step 2" -->
<button type="button" class="button is-primary is-fullwidth" data-step-next="1">
  Vai allo step 2
</button>

<!-- Esempio per i pulsanti Indietro/Avanti -->
<div class="field is-grouped mt-5">
  <div class="control">
    <button type="button" class="button is-fullwidth has-background-dark-ter" data-step-prev="2">
      Indietro
    </button>
  </div>
  <div class="control">
    <button type="button" class="button is-primary is-fullwidth" data-step-next="2">
      Vai allo step 3
    </button>
  </div>
</div>

<!-- Esempio per i pulsanti del riepilogo -->
<div class="field is-grouped mt-5">
  <div class="control">
    <button type="button" class="button is-fullwidth has-background-dark-ter" data-step-prev="4">
      Modifica
    </button>
  </div>
  <div class="control">
    <button type="submit" class="button is-success is-fullwidth">
      Conferma e invia
    </button>
  </div>
</div>

This is where chat export can help
You can export chat and we can import and see what happened

3 Likes

Here is the file of the chat @ColeMedin @wonderwhy.er SwissTransfer - Envoi sécurisé et gratuit de gros fichiers

1 Like