Skip to content

Conversation

@bytesantiago
Copy link
Contributor

Problem

At the time-entries tab, when trying to create a new time entry (or modify existing one), and using the tab key to move between fields, when you’re in the date field, hitting the tab key doesn’t do anything and you have to use your mouse to select the next field.

Solution

The "tabIndex" was added to the materialDatePicker which is the tool used for date and time selection, this allows us to navigate through the entry using the tab key. However, it is necessary to notice that we will not be able to actually modify the date itself, just the time; this is caused because the component property works as such.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 7, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Sep 7, 2021

Codecov Report

Merging #747 (7062047) into master (2b16e33) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #747   +/-   ##
=======================================
  Coverage   95.54%   95.55%           
=======================================
  Files         106      106           
  Lines        2247     2250    +3     
  Branches      169      169           
=======================================
+ Hits         2147     2150    +3     
  Misses         57       57           
  Partials       43       43           
Impacted Files Coverage Δ
...time-entries-table/time-entries-table.component.ts 77.77% <ø> (ø)
...les/shared/components/sidebar/sidebar.component.ts 90.47% <ø> (ø)
...e-toggle-general/feature-toggle-general.service.ts 100.00% <ø> (ø)
.../feature-toggles/feature-toggle-manager.service.ts 100.00% <ø> (ø)
...dules/time-entries/pages/time-entries.component.ts 88.99% <100.00%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68a1ccb...7062047. Read the comment docs.

@bytesantiago bytesantiago merged commit 1e23038 into master Sep 7, 2021
@bytesantiago bytesantiago deleted the TT-216-On-time-entries-page-when-creating-time-entry-Tab-gets-stuck-in-date-fields branch September 7, 2021 18:03
JosueOb added a commit that referenced this pull request Sep 13, 2021
* style: TT-332 include Tailwind in global style file

* feat: TT-332 dark mode implementation

* style: TT-332 color palette

* test: TT-332 unit test on the dark mode component

* fix: TT-216 add tabIndex attribute to materialDatePicker and to Date divs (#747)

* chore(release): 1.50.5 [skip ci]nn

* refactor: TT-332 application of Azure toggle function to display dark mode

* style: TT-332 TW prefix added to the color palette

* refactor: TT-332 changes in sidebar and dark mode components

* fix: TT-334 keep the sidebar item selected when the page is refreshed (#748)

* chore(release): 1.50.6 [skip ci]nn

* refactor: TT-332 changes to the button to change the page theme

* test: TT-332 unit test to check if the user has the dark-mode feature toggle enabled

* style: TT-332 include Tailwind in global style file

* feat: TT-332 dark mode implementation

* style: TT-332 color palette

* test: TT-332 unit test on the dark mode component

* refactor: TT-332 application of Azure toggle function to display dark mode

* style: TT-332 TW prefix added to the color palette

* refactor: TT-332 changes in sidebar and dark mode components

* refactor: TT-332 changes to the button to change the page theme

* test: TT-332 unit test to check if the user has the dark-mode feature toggle enabled

* refactor: TT-332 changes in the unit test description of the dark mode component and style name of the sidebar component

Co-authored-by: Santiago Pozo Ruiz <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
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.

4 participants