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

NTV-207: Project overview first PR #1420

Merged
merged 31 commits into from Oct 8, 2021
Merged

Conversation

Arkariang
Copy link
Contributor

@Arkariang Arkariang commented Oct 7, 2021

📲 What

  • Re-use what we could from the old ProjecViewHolder & ProjectViewModel and xml counterparts
  • ViewModel and test migrated to kotlin for the overview.
  • Some refactoring around Intents & activies, migrated all the logic to Extensions
    *** ⚠️ on next PR more refactoring on ProjectPage the TODO will guide those.

👀 See

ProjectOverview.mp4

| | |

📋 QA

  • You can see project data on the project overview fragment
  • You can navigate to Comments screen
  • You can navigate to Updates screen
  • You can navigate to Creator Bio screen
  • You can navigate to Creator dashboard screen

Story 📖

NTV-207

hadia and others added 29 commits September 29, 2021 17:40
- kotlin
…tin/NTV-207-project-overview

* 'master' of github.com:kickstarter/android-oss:
  NTV-211:Environmental Commitments Implementation (#1418)
…tin/NTV-207-project-overview

* 'master' of github.com:kickstarter/android-oss:
  NTV-235:Ask a question (#1419)
@codecov
Copy link

codecov bot commented Oct 7, 2021

Codecov Report

Merging #1420 (669bec2) into master (e553c8d) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1420      +/-   ##
============================================
+ Coverage     72.24%   72.27%   +0.03%     
- Complexity      738      739       +1     
============================================
  Files           211      211              
  Lines          6085     6085              
  Branches        391      391              
============================================
+ Hits           4396     4398       +2     
+ Misses         1551     1549       -2     
  Partials        138      138              
Impacted Files Coverage Δ
.../src/main/java/com/kickstarter/models/Project.java 63.49% <0.00%> (+3.17%) ⬆️

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 e553c8d...669bec2. Read the comment docs.

@Arkariang Arkariang marked this pull request as ready for review October 7, 2021 23:01
- avatar on friends list
* @param projectAndData
* @param comment -> to open the comments activity to a specific thread
*/
fun Intent.getRootCommentsActivityIntent(
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@@ -702,68 +718,6 @@ class ProjectPageActivity :
overridePendingTransition(R.anim.slide_in_right, R.anim.fade_out_slide_out_left)
}

private fun startCreatorBioWebViewActivity(project: Project) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👏🏽 👏🏽 👏🏽

Copy link
Contributor

@leighdouglas leighdouglas left a comment

Choose a reason for hiding this comment

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

This looks so great! Awesome! Just have to fix that failing test but this looks great 🚀

@Arkariang Arkariang merged commit 12c2ae5 into master Oct 8, 2021
@Arkariang Arkariang deleted the imartin/NTV-207-project-overview branch October 8, 2021 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants