Skip to content

Warn user when saving contents of XQuery window with non-.xq* file extension#462

Merged
joewiz merged 6 commits intoeXist-db:developfrom
marmoure:name-validate
May 9, 2022
Merged

Warn user when saving contents of XQuery window with non-.xq* file extension#462
joewiz merged 6 commits intoeXist-db:developfrom
marmoure:name-validate

Conversation

@marmoure
Copy link
Copy Markdown
Contributor

@marmoure marmoure commented May 5, 2022

Fixes #126.

warns user when trying to save contents of XQuery window with non-.xq* file extension and prevents it
suggests to use a new file if content is non-xquery

image

This open source contribution to the eXide project was commissioned by the Office of the Historian, U.S. Department of State, https://history.state.gov.

Comment thread src/eXide.js Outdated
@marmoure marmoure requested a review from joewiz May 6, 2022 14:29
Copy link
Copy Markdown
Member

@joewiz joewiz left a comment

Choose a reason for hiding this comment

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

@marmoure This works perfectly for me in both contexts: save and save as. Thank you!

Copy link
Copy Markdown
Member

@dizzzz dizzzz left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown
Contributor

@adamretter adamretter left a comment

Choose a reason for hiding this comment

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

LGTM

@joewiz joewiz merged commit c00b5e5 into eXist-db:develop May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn user when saving contents of XQuery window with non-.xq* file extension

4 participants