Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve terminal console outputs #58

Open
2 tasks
rjnrohit opened this issue Aug 17, 2023 · 7 comments
Open
2 tasks

Improve terminal console outputs #58

rjnrohit opened this issue Aug 17, 2023 · 7 comments
Labels
console good first issue Good for newcomers medium ODHack Issues are part of the HackODFest and the contributors will be rewarded during the hackathon period

Comments

@rjnrohit
Copy link
Contributor

rjnrohit commented Aug 17, 2023

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).
@stranger80 stranger80 added this to the v0.3.0 milestone Oct 23, 2023
@stranger80 stranger80 removed the icebox label Oct 26, 2023
@stranger80 stranger80 changed the title Improve terminal console Improve terminal console outputs Oct 26, 2023
@rjnrohit rjnrohit modified the milestones: v0.3.0, v0.2.9 Jan 8, 2024
@stranger80 stranger80 modified the milestones: v0.3.0, v0.3.5 Jan 15, 2024
@rjnrohit rjnrohit added good first issue Good for newcomers ODHack Issues are part of the HackODFest and the contributors will be rewarded during the hackathon period labels Feb 16, 2024
@shabbiryk
Copy link

I would love to take this!

@rjnrohit
Copy link
Contributor Author

yeah sure @shabbiryk

@rjnrohit
Copy link
Contributor Author

lemme know if you need any help with this issue

@shabbiryk
Copy link

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
Copy link

@rjnrohit following up :)

@rjnrohit
Copy link
Contributor Author

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.

@shabbiryk
Copy link

Hi @rjnrohit ,
I tried the second part but rendering the HTML inside the terminal is a known issue ethereum/remix-plugin#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

@stranger80 stranger80 removed this from the v0.3.5 milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
console good first issue Good for newcomers medium ODHack Issues are part of the HackODFest and the contributors will be rewarded during the hackathon period
Projects
Status: To Do
Development

No branches or pull requests

3 participants