markbind icon indicating copy to clipboard operation
markbind copied to clipboard

Inconsistencies with popover error message location

Open AgentHagu opened this issue 8 months ago • 3 comments

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

Windows 11

MarkBind version

6.0.0

Describe the bug and the steps to reproduce it

Popover error messages seem to either appear at the location of the popover or at the end of the page. This leads to some inconsistencies which may be confusing to users.

For example:

<popover header="From a HTML file" src="">
  This is loaded from a .html file
</popover>

Test content

123

End of page

generates the error at the end of the page, regardless of popover location Image


But

<popover header="From a HTML file" src="http">
  This is loaded from a .html file
</popover>

Test content

123

End of page

generates the error at the location of the popover Image

Expected behavior

The popover error message location should be standardized. Personally, I think having it appear where the popover should have been is most intuitive to users (i.e. the second example)

Anything else?

No response

AgentHagu avatar Apr 14 '25 05:04 AgentHagu

This bug/inconsistency also seems to appear for <include>

Test content

<include header="From a HTML file" src="doesNotExist">
  This is loaded from a .html file
</include>

123

End of page

Image


Test content

<include header="From a HTML file" src="">
  This is loaded from a .html file
</include>

123

End of page

Image

AgentHagu avatar Apr 15 '25 05:04 AgentHagu

Hi, I’m contributing as part of the NUS-OSS summer project (CP3108B). May I work on this issue?

Golddirio avatar Jul 14 '25 09:07 Golddirio

Hi @Golddirio, feel free to work on this issue!

AgentHagu avatar Jul 14 '25 12:07 AgentHagu