Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate navigation paths; Cleanup GoalTimeline folder structure #805

Merged
merged 3 commits into from
Nov 11, 2020

Conversation

imnasnainaec
Copy link
Collaborator

@imnasnainaec imnasnainaec commented Nov 11, 2020

The url paths used for navigation are strings specified in every instance where they're needed. This pr defines those path strings all in one place (/src/history.ts) so they can be used and edited more easily.

The name GoalTimelineVertical is both unnecessarily long (since there is no GoalTimelineHorizontal to be distinguished from) and misleading (since it is only vertical for some window sizes). The naming and surrounding file structure are simplified in this pr.

This change is Reviewable

@imnasnainaec imnasnainaec added frontend maintenance Issue that makes it difficult to maintain the software or to upgrade installations post-release. labels Nov 11, 2020
@imnasnainaec imnasnainaec self-assigned this Nov 11, 2020
@codecov-io
Copy link

codecov-io commented Nov 11, 2020

Codecov Report

Merging #805 (f514fae) into master (39f87d2) will increase coverage by 3.99%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #805      +/-   ##
==========================================
+ Coverage   51.24%   55.23%   +3.99%     
==========================================
  Files         237       37     -200     
  Lines        6442     3159    -3283     
  Branches      415        0     -415     
==========================================
- Hits         3301     1745    -1556     
+ Misses       2834     1414    -1420     
+ Partials      307        0     -307     
Flag Coverage Δ
backend 55.23% <ø> (ø)
frontend ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/goals/MergeDupGoal/MergeDupStep/index.tsx
...mponents/ProjectSettings/ProjectUsers/UserList.tsx
...able/GlossWithSuggestions/GlossWithSuggestions.tsx
...harInventoryCreation/CharacterInventoryReducer.tsx
src/goals/MergeDupGoal/MergeDups.tsx
src/components/Pronunciations/AudioPlayer.tsx
...tion/components/CharacterEntry/CharactersInput.tsx
...iewEntriesComponent/CellComponents/CellColumns.tsx
.../DataEntry/DataEntryTable/NewEntry/SenseDialog.tsx
src/components/TreeView/TreeViewHeader.tsx
... and 164 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 39f87d2...f514fae. Read the comment docs.

Copy link
Collaborator

@jmgrady jmgrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 24 of 29 files at r1, 5 of 5 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)

@imnasnainaec imnasnainaec merged commit 76b2330 into master Nov 11, 2020
@imnasnainaec imnasnainaec deleted the history-location branch November 11, 2020 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend maintenance Issue that makes it difficult to maintain the software or to upgrade installations post-release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants