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

[Playground] Show alerts #861

Merged
merged 6 commits into from
Nov 2, 2023
Merged

[Playground] Show alerts #861

merged 6 commits into from
Nov 2, 2023

Conversation

jchavarri
Copy link
Member

Continuation of #850. Adds a custom alert report printer in the playground so that alerts can be shown on the ui as well.

@jchavarri jchavarri changed the title Playground fix alerts [Playground] Show alerts Nov 1, 2023
bin/jsoo_main.ml Outdated Show resolved Hide resolved
endRow: 0,
endColumn: 24,
text: 'module Js.Vector\nUse Belt.Array instead',
type: 'warning'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a warning though :( it's an alert

Is there a way we could report these as alerts (with the alert name too?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. It should be fixed in 35f8327, please take a look.

jchavarri and others added 4 commits November 2, 2023 14:06
Co-authored-by: Antonio Nuno Monteiro <[email protected]>
* main:
  playground: fix warn error prop (#862)
  feat: wrap the melange stdlib extension, expose it as Melstd (#859)
  Fix external analysis (#852)
Copy link
Member

@anmonteiro anmonteiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful

@jchavarri jchavarri merged commit a0bdacb into main Nov 2, 2023
4 checks passed
@jchavarri jchavarri deleted the playground-fix-alerts branch November 2, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants