Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #534 by implementing name validating widget #543

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davidlatwe
Copy link
Collaborator

What's changed?

This fixes #534, not only invalid character will be blocked in GUI, invalid input from pasting will be cleaned for better UX.

But since Creator App also shares the same widget, it has changed, too.

69d82bae-f008-4036-804f-a1c3a407f39e

@davidlatwe davidlatwe requested a review from BigRoy April 22, 2020 15:13
@BigRoy
Copy link
Collaborator

BigRoy commented Apr 23, 2020

@davidlatwe That's great work! :) Lovely. 🚀 Also code looks clean.

I wonder however if it should include the reported message (the invalid characters) somewhere on the Widget too so the user is aware of that aside of the "red fade" on the QLineEdit. What do you think? Or would it be overkill?

@davidlatwe
Copy link
Collaborator Author

Thanks @BigRoy :D

Yeah, I agree that it would be better if we put a message printer in the bottom of that dialog.
Furthermore, should we also check the asset name exists or not ? Like the Creator App did.

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.

Project Manager allows to add assets with new line characters
2 participants