From ff358c8927086a69f6732b6e7e1abb85a9e3cc84 Mon Sep 17 00:00:00 2001 From: Justin Shillingford Date: Mon, 6 Jul 2020 18:48:58 -0400 Subject: [TMA63/4] - Presenting alert with result of login attempt (#12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added 'Packages added' section to PR Template * Added a checklist item about rebasing before PR * Misspelled 'succinct' lol 😅 * Implemented POST request for login Presents alert based on response code * Made the alert messages more robust * Updated terminology and function documentation * Consolidated lines about rebasing Helps to keep the checklist short and concise * A redundant logo image somehow made it through lol * Moved API endpoints to a separate constants file * Refactored login to use async/await * [TMA-62] Basic Login Input Validation (#11) * Updated createRef() to useRef() * Animated invalid input hint Also removed useless focusPasswordInput prop * Users can no longer submit without typing * Added basic input validation for Username * Fixed username input validation 😅 * Removed autocapitalize from keyboard * Trim username input as early as possible Also removed trim from password * Adjusted styling to accomodate longer hint message * Lint cleaning * Updated documentation of update methods * Forgot to include periods in the error message 😅 * Modified styling to accomodate longer hint * Implemented POST request for login Presents alert based on response code * Made the alert messages more robust * Updated terminology and function documentation * A redundant logo image somehow made it through lol * Moved API endpoints to a separate constants file * Refactored login to use async/await * Removed artifact from merge conflict resolution Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com> --- src/assets/sign_in_logo.png | Bin 28865 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/assets/sign_in_logo.png (limited to 'src/assets') diff --git a/src/assets/sign_in_logo.png b/src/assets/sign_in_logo.png deleted file mode 100644 index 27e43268..00000000 Binary files a/src/assets/sign_in_logo.png and /dev/null differ -- cgit v1.2.3-70-g09d2