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

Nice formatting on Activities page #135

Merged
merged 14 commits into from
Aug 8, 2020
Merged

Conversation

anan-ya-y
Copy link
Collaborator

@anan-ya-y anan-ya-y commented Aug 5, 2020

What is a quick description of the change?

Show more information on the activities page to make for more intuitive planning.

Is this fixing an issue?

Provides a temporary fix for #132.

Are there more details that are relevant?

  • Moves +Add button to top of page
  • Shows more information upfront (includes addition of trip util)

Check lists (check x in [ ] of list items)

  • Test written/updating
  • [] Tests passing
  • Coding style (indentation, etc)

Please explain why any are not present, if any.
See #140.

Any additional comments?

Just a smidge more intuitive

Before:
image

After:
image

@anan-ya-y anan-ya-y self-assigned this Aug 5, 2020
expect(actualCentral).toEqual(expectedCentral);
expect(actualSingapore).toEqual(expectedSingapore);
});

Copy link
Collaborator

Choose a reason for hiding this comment

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

This could be totally wrong so getting @keiffer01, @Hiram-Silvey, or @beiebi0 's opinion would be a very good idea.

Based on feedback I got in the past, it seems like most of these tests (ones you wrote in this PR and similar others in test.js) are testing a single call to a function in the moment library. So because there is no additional logic (your own conditionals or a series of library functions called in succession), tests may not be needed for these cases.

@anan-ya-y anan-ya-y requested review from zghera and keiffer01 August 7, 2020 15:42
@anan-ya-y anan-ya-y marked this pull request as ready for review August 8, 2020 00:36
@anan-ya-y
Copy link
Collaborator Author

Received @Hiram-Silvey 's verbal approval to merge since this is the last day of the internship and he was not able to review the PR.

@anan-ya-y anan-ya-y merged commit 238d11a into master Aug 8, 2020
@anan-ya-y anan-ya-y deleted the activity-nice-formatting branch August 8, 2020 00:37
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.

2 participants