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

WEB-566: [Android] UI for flagged comment #1643

Merged
merged 10 commits into from Jun 16, 2022
Merged

Conversation

leighdouglas
Copy link
Contributor

@leighdouglas leighdouglas commented Jun 15, 2022

📲 What

Created comment card UI for flagged comment state.

🤔 Why

As a part of comment moderation updates, we want to hide potentially abusive comments from users while they are under review.

🛠 How

Created the new UI state for flagged comments, updated the comment card layout and class, and created screenshot tests.

👀 See

Screenshot_20220616-123708

I censored the usernames as these were tests and those comments were not actually flagged.

📋 QA

  • Make sure all comments states are all working properly. This is just the UI component and is currently not hooked up to any logic, so it should not have an effect on project or update comments.

Story 📖

WEB-566: [Android] UI for flagged comment

@codecov
Copy link

codecov bot commented Jun 15, 2022

Codecov Report

Merging #1643 (680fe9d) into master (8c93f3b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1643   +/-   ##
=========================================
  Coverage     78.43%   78.43%           
  Complexity     1862     1862           
=========================================
  Files           353      353           
  Lines         16573    16573           
  Branches       2039     2039           
=========================================
  Hits          12999    12999           
  Misses         2406     2406           
  Partials       1168     1168           
Impacted Files Coverage Δ
...src/main/java/com/kickstarter/models/StoredCard.kt 94.91% <0.00%> (ø)

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 8c93f3b...680fe9d. Read the comment docs.

android:id="@+id/flagged_message"
style="@style/CommentCardFlaggedMessage"
android:visibility="gone"
android:text="@string/this_comment_is_under_review"
Copy link
Contributor

Choose a reason for hiding this comment

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

Question here @leighdouglas, is there any ticket prepared for translations?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point! I'll create that 👍🏽

Copy link
Contributor

@Arkariang Arkariang left a comment

Choose a reason for hiding this comment

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

Minor comments, lgtm! 👍

@leighdouglas leighdouglas merged commit f35da2e into master Jun 16, 2022
@leighdouglas leighdouglas deleted the leigh/ntv-566-flagged-ui branch June 16, 2022 17:05
Arkariang added a commit that referenced this pull request Jun 20, 2022
…tin/new-architecture

* 'master' of github.com:kickstarter/android-oss:
  WEB-566: [Android] UI for flagged comment (#1643)
  NTV-560: Updated gems (#1644)
  PAY-1716: Update stripe SDK (#1642)
Arkariang added a commit that referenced this pull request Jul 6, 2022
…tin/PAY-1693-integrate-paymentsheet

* 'master' of github.com:kickstarter/android-oss:
  WEB-605: Update string for flagged comments (#1650)
  NTV-563 : Migrate Message related viewmodels classes to Kotlin (#1649)
  WEB-567: Show flagged comment UI/state when pending T&S review (#1648)
  - Release 3.3.0
  Comments from canceled backers with no replies do not appear in the list of comments (#1645)
  NTV-561: Update dependencies  (#1646)
  WEB-566: [Android] UI for flagged comment (#1643)
  NTV-560: Updated gems (#1644)
  PAY-1716: Update stripe SDK (#1642)
  NTV-556 :  Migrate Creator Dashboard viewmodels classes to Kotlin (#1639)
  WEB-532 : [Android] Canceled backer: Remove "show comment" link from comment tombstones (#1641)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants