Skip to content

Conversation

@EdansRocks
Copy link
Contributor

Problem

When entering to the time entries section → calendar option → and navigating through the months on week and day views, the system automatically changes to the month view again because it renders the component again every time we change to the previous or next month. Also every time we select a month from the month picker it select the actual day (e.g: if today is January 24 and select May it navigates to May 24)

Solution

Now the component keeps the actual day, week or month view, so even if it renders again it keeps the view. Now when we select another month from the month picker it changes to the first day of that month.

image

@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #738 (2edad2e) into master (9a68415) will increase coverage by 0.18%.
The diff coverage is 96.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #738      +/-   ##
==========================================
+ Coverage   95.24%   95.42%   +0.18%     
==========================================
  Files         106      107       +1     
  Lines        2206     2275      +69     
  Branches      169      173       +4     
==========================================
+ Hits         2101     2171      +70     
  Misses         61       61              
+ Partials       44       43       -1     
Impacted Files Coverage Δ
.../components/entry-fields/entry-fields.component.ts 97.18% <ø> (-0.04%) ⬇️
.../components/technologies/technologies.component.ts 85.18% <83.33%> (+0.81%) ⬆️
...ponents/details-fields/details-fields.component.ts 96.40% <100.00%> (+0.16%) ⬆️
...c/app/modules/shared/utils/project-storage.util.ts 100.00% <100.00%> (ø)
...project-list-hover/project-list-hover.component.ts 90.74% <100.00%> (+0.35%) ⬆️
...-entries/components/calendar/calendar.component.ts 95.38% <100.00%> (+0.22%) ⬆️
...dules/time-entries/pages/time-entries.component.ts 88.67% <100.00%> (+0.67%) ⬆️
...sers/components/users-list/users-list.component.ts 100.00% <100.00%> (ø)
src/app/modules/users/store/user.actions.ts 100.00% <100.00%> (ø)
src/app/modules/users/store/user.effects.ts 100.00% <100.00%> (ø)
... and 3 more

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 40b4a67...2edad2e. Read the comment docs.

@sonarqubecloud
Copy link

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

@EdansRocks EdansRocks merged commit 607303c into master Aug 26, 2021
@EdansRocks EdansRocks deleted the TT-319-fix-calendar-day-week-view branch August 26, 2021 15:01
bytesantiago added a commit that referenced this pull request Aug 30, 2021
* perf: TT-316 removal of ui-list-technologies toggle, technologies-report.guard and their dependants

* perf: TT-317 remove unnecessary features from FeatureManagerService

* code-smell: TT-316 remove comments and unnecessary variable assignments

* code-smell: TT-316 removal of an additional unnecessary import

* Tt 319 fix calendar day week view (#738)

* fix: TT-319 Fix calendar week and day view

* refactor: TT-319 select first day of the month when select on calendar

* refactor: TT-319 Change moment library with date

Co-authored-by: Andrés Soto <edansrock>

* perf: TT-316 Remove technologies-report-guard/ and remove the feature toggle  ui-list-technologies (#736)

* perf: TT-316 removal of ui-list-technologies toggle, technologies-report.guard and their dependants

* code-smell: TT-316 remove comments and unnecessary variable assignments

* code-smell: TT-316 removal of an additional unnecessary import

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

* perf: TT-317 remove unnecessary features from FeatureManagerService

* fix: TT-325 Fix wront Test in calendar component (#741)

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

* perf: TT-317 remove unnecessary features from FeatureManagerService

* code-smell: TT-317 remove code smells indicated by sonarcloud

Co-authored-by: EdansRocks <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: Jean Carlos Alarcón <[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