glade-software / glade-software/glade-element

Should warn if the document is empty

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Svelte
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The Glade Document hash for an empty document, ie:
```html

```
is `"0"`, this is intended, but because there is a chance glade just ran too early before the content inside is ready (for example in react) we should probably warn the user that their document is empty.

Maybe if we observe mutations on inner DOM and react to them this is a non-issue

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the code that computes the Glade Document hash for the glade-annotatable element, then inspect how inner-DOM readiness is handled for React-rendered content. Done means an empty document produces a user warning without incorrectly warning when content is added later.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.