Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

feat: add Task Comments #136

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

techno-disaster
Copy link
Contributor

Description

Add comments to tasks :) Haven't added names yet because it becomes too complicated to pass the data around. Zulip thread here

Fixes #111

Flutter Channel:

  • I have used the Flutter Beta channel on my local machine

Type of Change:

Delete irrelevant options.

  • Code

Code/Quality Assurance Only

  • New feature (non-breaking change which adds functionality pre-approved by mentors)

How Has This Been Tested?

Physical device

Checklist:

Delete irrelevant options.

  • My PR follows the style guidelines of this project
  • I have performed a self-review of my own code or materials
  • I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged

@techno-disaster techno-disaster added the Category: Coding Changes to code base or refactored code that doesn't fix a bug. label Aug 25, 2020
@techno-disaster techno-disaster changed the title Comments feat: Comments Aug 25, 2020
@techno-disaster
Copy link
Contributor Author

Depends on #117 again.

@techno-disaster
Copy link
Contributor Author

@anitab-org/mentorship-flutter-maintainers any updates?

@isabelcosta
Copy link
Member

@techno-disaster can you fix merge conflicts and we can move the ball forward :)

@techno-disaster
Copy link
Contributor Author

@isabelcosta any updates?
@anitab-org/coding-team could anyone give this a quick review?

@bartekpacia
Copy link
Contributor

i didn't look at this app in quite a long time and it's looking more and more amazing:)
good job, approving it

bartekpacia
bartekpacia previously approved these changes Sep 9, 2020
@@ -643,7 +657,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.1.0-nullsafety.2"
Copy link
Member

Choose a reason for hiding this comment

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

out of curiosity what is the "nullsafety" bit? is this a stable version of the package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just an update in the flutter sdk. It supports strong null safety now.

@@ -0,0 +1,53 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
Copy link
Member

Choose a reason for hiding this comment

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

again out of curiosity so that I start learning more about this code :)
What is this chopper for? Is this supposed to come in git?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@isabelcosta this is just built by build_runner . We can add this to gitignore, but if the testers wanted to test the app they would have to genrate these files on thier PC. This would affect the testing so we just decided to keep this aa it is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

More info about this here

isabelcosta
isabelcosta previously approved these changes Sep 9, 2020
Copy link
Member

@isabelcosta isabelcosta left a comment

Choose a reason for hiding this comment

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

Approving as this seems to be working as expected :)

@isabelcosta isabelcosta added the Status: Needs Testing Work has been reviewed and needs the code tested by the quality assurance team. label Sep 9, 2020
@isabelcosta
Copy link
Member

@anitab-org/qa-team can anyone test this PR please? this feature it's quite interesting :)
@techno-disaster, can you let us know where to find the APK?

@isabelcosta isabelcosta changed the title feat: Comments feat: add Task Comments Sep 9, 2020
@techno-disaster
Copy link
Contributor Author

@anitab-org/qa-team can anyone test this PR please? this feature it's quite interesting :)
@techno-disaster, can you let us know where to find the APK?

Head on over to the checks tab . You will see a artifacts dropdown on that page. You can download a zip which contains a apk from that dropdown

@techno-disaster
Copy link
Contributor Author

@anitab-org/qa-team any updates?

Copy link

@robotjellyzone robotjellyzone left a comment

Choose a reason for hiding this comment

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

I have tested this pr and it's not working in the way it should.
The changes made in this PR were tested locally. Following are the results:

  1. Code Review: Done

  2. All possible responses were tested as below:
    Screenshot/gif:

commentTested

Expected Result: adding task comment
Actual Result: Not able to add task comment. giving out FormatException error

  1. Additional testcases covered: n/a
  2. Device : PIXEL XL API 28 PIE

@robotjellyzone robotjellyzone added the Status: Changes Requested Changes are required to be done by the PR author. label Sep 17, 2020
@techno-disaster
Copy link
Contributor Author

@isabelcosta @anitab-org/coding-team this seems like a backend issue? could you check the logs.

@techno-disaster
Copy link
Contributor Author

@robotjellyzone did you build the apk on android studio or downloaded one from below the PR?

@robotjellyzone
Copy link

robotjellyzone commented Sep 17, 2020

@robotjellyzone did you build the apk on android studio or downloaded one from below the PR?

on android studio

@techno-disaster
Copy link
Contributor Author

@robotjellyzone did you build the apk on android studio or downloaded one from below the PR?

on android studio

ah ok so it looks like its the server bug. there's a issue for it already. can you try using the ursula account?

username : ursula
pwd: 12345678

@robotjellyzone
Copy link

robotjellyzone commented Sep 17, 2020

@robotjellyzone did you build the apk on android studio or downloaded one from below the PR?

on android studio

ah ok so it looks like its the server bug. there's a issue for it already. can you try using the ursula account?

username : ursula
pwd: 12345678

hmm.. using this account , but its this using the same server/backend ? also, the PR should be generic and not specific i mean if it works for this account then it should also work using any ?

@techno-disaster
Copy link
Contributor Author

@robotjellyzone did you build the apk on android studio or downloaded one from below the PR?

on android studio

ah ok so it looks like its the server bug. there's a issue for it already. can you try using the ursula account?
username : ursula
pwd: 12345678

hmm.. using this account , but its this using the same server/backend ? also, the PR should be generic and not specific i mean if it works for this account then it should also work using any ?

yes, it uses the same backend but even @yugantarjain faced this issue in which some accounts were able to make comments while others were getting internal server error. @isabelcosta can confirm this, we had a discussion on this in one of the sessions. So it shouldn't be blocking this PR

@techno-disaster
Copy link
Contributor Author

@yugantarjain what accounts did you use for the comments feature? Almost all mine work if i setup the backend locallly, but were you able to get any account working on the one hosted on heroku?

@techno-disaster
Copy link
Contributor Author

@anitab-org/mentorship-flutter-maintainers can you review this again? Also @robotjellyzone were you able to test comments? if you want a workaround for the backend error, you can check the completed comments on the ursula account. Comments work there

@isabelcosta isabelcosta removed the Status: Changes Requested Changes are required to be done by the PR author. label Sep 22, 2020
@rpattath rpattath added Status: Needs Review PR needs an additional review or a maintainer's review. and removed Status: Needs Testing Work has been reviewed and needs the code tested by the quality assurance team. labels Oct 13, 2020
@techno-disaster
Copy link
Contributor Author

@anitab-org/qa-team any updates on this PR?

@isabelcosta
Copy link
Member

@techno-disaster make sure to also ping on Zulip, even invite newcomers to review the PR and test it :) This is advocate work, and can help onboard new people to the project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. Status: Needs Review PR needs an additional review or a maintainer's review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add comments to tasks
5 participants