starknet-remix-plugin icon indicating copy to clipboard operation
starknet-remix-plugin copied to clipboard

Improve terminal console outputs

Open rjnrohit opened this issue 2 years ago • 12 comments

Improve compilation logs formatting and styling in the Remix terminal console.

  • [ ] See trace of UI actions, eg: "Compile started...", "Compile finished.", etc.)
  • [ ] Better formatting of outputs (from declare/deploy, transaction invoke, etc.) (eg. similar to Solidity compiler outputs).

rjnrohit avatar Aug 17 '23 07:08 rjnrohit

I would love to take this!

shabbiryk avatar Feb 19 '24 06:02 shabbiryk

yeah sure @shabbiryk

rjnrohit avatar Feb 19 '24 09:02 rjnrohit

lemme know if you need any help with this issue

rjnrohit avatar Feb 19 '24 09:02 rjnrohit

I did the local setup and managed to get it run. I have a query in regards with the first task of trace of UI actions: it is regarding the backend trace that needs to be well formatted? Because I couldn't find the provided example "Compile started..." in remix console while compiling the cairo file. The second task is fine and i have started working on it. :)

shabbiryk avatar Feb 21 '24 10:02 shabbiryk

@rjnrohit following up :)

shabbiryk avatar Feb 29 '24 11:02 shabbiryk

As of now just work on the second part , first one is not that important . But the idea was to reflect the actions we do on the UI side in the terminal , like when user click on the compile button, it should write a text all the steps like compilation has started , compiling file and compilation finished.

rjnrohit avatar Feb 29 '24 11:02 rjnrohit

Hi @rjnrohit , I tried the second part but rendering the HTML inside the terminal is a known issue https://github.com/ethereum/remix-plugin/issues/425. I tried the way the author of the issue did remixClient.call('terminal', 'logHtml', {type: 'html', value: ...}) but the logHtml can't be assigned to param type of log. I tried the way described in the API docs remixClient.call('terminal', 'log', {type: 'html', value:

... }) still the HTML is rendered as text

shabbiryk avatar Mar 12 '24 10:03 shabbiryk

Can I start working on this?

PedroRosalba avatar Nov 03 '24 19:11 PedroRosalba

Would love to tackle this!

RomThpt avatar Dec 06 '24 08:12 RomThpt

I'd like to handle this task.

tebogomap avatar Jan 05 '25 15:01 tebogomap

May I take care of this?

chiscookeke11 avatar Jan 21 '25 20:01 chiscookeke11

Can I take this issue?

krishnabandewar avatar Mar 04 '25 06:03 krishnabandewar