-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new errorMessage props of text-input component.
- oc-text-input now has an errorMessage property for showing an error message in a fixed way. - also use prop of oc-text-input to always reserve vertical space for the error message. - Debounce error message changes: The dialog reacted to error messages as soon as they were created which can be annoying. For example there is an error message when the name of a new folder ends in a blank. If you type folder names containing blanks, the error message would appear during typing for every single blank for a brief moment and then would disappear when the next non-blank char is typed. Debouncing error messages causes that they don't appear during typing but only if you stop typing for the specified time (400 milliseconds).
- Loading branch information
Showing
6 changed files
with
62 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Enhancement: Visual improvement to errors in input prompts | ||
|
||
We've adjusted the input prompts to show a visually less prominent text below the input field. | ||
Also, error messages now appear with a small delay, so that those happening during | ||
typing get ignored (e.g. trailing whitespace is not allowed in folder names and previously caused | ||
an error to show on every typed blank). | ||
|
||
https://github.com/owncloud/phoenix/issues/1906 | ||
https://github.com/owncloud/phoenix/pull/3240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters