yoheinakajima / instagraph

Converts text input or URL into knowledge graph and displays
MIT License
3.46k stars 291 forks source link

restore error-message dialog #57

Closed isamu closed 1 year ago

isamu commented 1 year ago

The error-meesage div was removed in the bc3866ffec5c5f7dc186c55f718816ab036de2d7 commit. Since the error could no longer be displayed, I restored it.

Summary by CodeRabbit

coderabbitai[bot] commented 1 year ago

Walkthrough

The change introduces an error message section to the main HTML page. This section is initially hidden and can be used to display error messages to the user with a close button.

Changes

File Summary
templates/index.html Added an error message section to the HTML page. The section is initially hidden and includes a close button.

🐇

In the land of code, where the shadows lie, An error message, hidden from the eye. With a button to close, and a message to show, A change has been made, to let the user know. 🎉


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.