Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@omidmogasemi
Copy link
Collaborator

Addresses a smaller issue a user had where they couldn't tell why a notebook config paste had failed - it should ideally be surfaced in the UI.

}),
button([], {}, ['Paste & Save Configuration']).click(() => this.pasteConfig())
button([], {}, ['Paste & Save Configuration']).click(() => this.pasteConfig()),
this.pasteErrorMessage = para(['hide', 'error-message'], ['Paste failed - your clipboard does not contain valid JSON'])
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, is it bad for the error message to always be hanging out in the DOM?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Probably not bad (since it's so small), but no reason for it to either. I'll change it to be added in/out of the DOM instead.

@omidmogasemi omidmogasemi merged commit 0cb06e7 into master Mar 27, 2023
@omidmogasemi omidmogasemi deleted the config-paste-failure-message branch March 27, 2023 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.