blog-site/1699375988-ref-209-start.html

123 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="Stylesheet" type="text/css" href="style.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<title>REF-290: Start</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<hr />
<p>
<a href="index.html">Index</a>
<hr />
</p>
<p>
last 5 posts
<hr />
</p>
<ul>
<li>
<a href="1698642000-first-ticket.html">First Ticket</a>
<li>
<a href="1693890000-blog-issue.html">Blog Issue</a>
<li>
<a href="1693630800-hello-world.html">Hello World</a>
</ul>
<hr />
<p>
<span id="-Date:"></span><strong id="Date:">Date:</strong> 2023/11/07
</p>
<p>
<span id="-Author:"></span><strong id="Author:">Author:</strong> Tristan Ancelet
</p>
<div id="REF-209"><h1 id="REF-209" class="header"><a href="#REF-209">REF-209</a></h1></div>
<hr />
<p>
Picked up a new ticket. <span id="REF-209-REF-290: Update Colors on Error Cells"></span><strong id="REF-290: Update Colors on Error Cells">REF-290: Update Colors on Error Cells</strong>.
</p>
<div id="REF-209-What am I doing on it"><h2 id="What am I doing on it" class="header"><a href="#REF-209-What am I doing on it">What am I doing on it</a></h2></div>
<hr />
<p>
Looks like this is to make make sure all "error" colors displayed (as an outline or as text color) are set to be '#fd6c5a'.
</p>
<div id="REF-209-What am I doing on it-What Have I done"><h3 id="What Have I done" class="header"><a href="#REF-209-What am I doing on it-What Have I done">What Have I done</a></h3></div>
<hr />
<p>
After looking through the layout xml's I see that all of the errorColor's were all set to '#fd6c5a' manually, while '@color/text_error' was defined in colors.xml
</p>
<p>
After working on it a bit I poked at my lead (Bobby) to see what the scope of the ticket would include, as I did start going through and manually started changing errorTextColor in each layout that was needing to have it changed (from manual to the global color definition).
</p>
<p>
TL;DR:
</p>
<ul>
<li>
Defined errorEnabled, errorTextColor &amp; boxStrokeErrorColor in the TextInputLayoutStyle &amp; TextInputLayoutStyleTimeout styles.
<li>
Removed errorEnabled &amp; errorTextColor defined in:
<ul>
<li>
@+id/fragment_add_profile_email_layout (in fragment_add_new_profile.xml)
<li>
@+id/fragment_login_incorrect_details (in fragment_login.xml)
</ul>
</ul>
<div id="REF-209-What am I doing on it-What I have left to do"><h3 id="What I have left to do" class="header"><a href="#REF-209-What am I doing on it-What I have left to do">What I have left to do</a></h3></div>
<hr />
<p>
I have to test the app and try to get to each individual section to test that each change has actually changed the colors in each area.
</p>
<div id="REF-209-People Mentioned In post"><h2 id="People Mentioned In post" class="header"><a href="#REF-209-People Mentioned In post">People Mentioned In post</a></h2></div>
<hr />
<table>
<thead>
<tr>
<th>
Name
</th>
<th>
Notes
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Bobby Whitley
</td>
<td>
Team Lead
</td>
</tr>
</tbody>
</table>
</body>
</html>