Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Likes functionality, Basic Logger and User profile view #52

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from

Conversation

YocelinGR
Copy link

@YocelinGR YocelinGR commented Jul 14, 2021

Description

  • Add Like functionality
  • Add Dislike functionality
  • Likes and dislikes actions are automatically visualized
  • Add basic Logger for request inputs and outputs
  • Add user basic profile
  • Files were formatted

Fixes|Resolves # (feature)

Solves:

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

No added tests

Requirements before deploy

No

Envars added?

No

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Evidence

  • Like and Dislike: Add or rest the like count number. Also is able to change the button visual state with the LikeService active state. This will help us to control the number of likes per post. As the Secretly service allows us to make infinite likes to a post, control the state is helping us to like and dislike correctly.
  • The user profile is now available; the get endpoint is executed the first time you press over the "profile" button and is available every time you navigate between Feed and Profile after the first call.
Screen.Recording.2021-07-14.at.9.35.46.1.mov
  • The Logger info is shown at the console when requests are executed
Screen.Recording.2021-07-14.at.9.39.53.1.mov

TODOs:

Even though I recent open the PR I would like to add new functionalities like:

  • Comments functionality
    • Add comment
    • Delete comment
    • Show all comments per post on a new view
  • Occult the password and token on the logger (occult or hash sensible information)
  • Fix nudity in order to not upload inappropriate content
  • Add basic test set

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants