BeaconCMS / BeaconCMS/live_monaco_editor

Inline errors

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Elixir
Stars
130
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Add the ability to programmatically embed inline errors, similar to https://github.com/livebook-dev/livebook/pull/1936

See the following message, that's an error displayed at https://github.com/BeaconCMS/beacon_live_admin editor when the template is invalid (does not compile). It would be more useful if we add the error inline at the line that has actually caused the error.

Screenshot 2023-08-01 at 5 47 44 PM

More info:
* https://www.twitch.tv/videos/1829623518
* https://www.twitch.tv/videos/1834274027

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing editor error-display path and compare the desired behavior with Livebook pull request 1936. Trace how invalid Beacon Live Admin templates produce the current error message. The work is complete when errors can be embedded programmatically at the line that caused the invalid template error.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.