-
Notifications
You must be signed in to change notification settings - Fork 1
Add tabbed product detail UI with new fragment and updated resources #849
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
base: master
Are you sure you want to change the base?
Changes from all commits
a831925
67abdc9
b9f2149
8964116
7379c40
1e4f724
a28235f
16a41f8
049f6e7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ | |
| import in.testpress.samples.R; | ||
| import in.testpress.samples.core.TestpressCoreSampleActivity; | ||
| import in.testpress.store.TestpressStore; | ||
| import in.testpress.store.ui.ProductDetailFragmentV2; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainVerify the usage of this imported class. The 🏁 Script executed: #!/bin/bash
# Check if ProductDetailFragmentV2 is used anywhere in the NavigationDrawerActivity
rg -A 3 -B 3 "ProductDetailFragmentV2" samples/src/main/java/in/testpress/samples/store/NavigationDrawerActivity.java
# Check for usage in other files that might be extended from or related to this activity
rg "ProductDetailFragmentV2.*NavigationDrawerActivity" --include "*.java" --include "*.kt"Length of output: 989 Remove unused import of The import of • File: samples/src/main/java/in/testpress/samples/store/NavigationDrawerActivity.java |
||
| import in.testpress.store.ui.ProductListFragmentV2; | ||
|
|
||
| import static in.testpress.samples.core.TestpressCoreSampleActivity.AUTHENTICATE_REQUEST_CODE; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
URL endpoint update to demo environment.
The institute URL has been updated from sandbox to demo environment. This change appears intentional and aligned with the hardcoded credentials update.
Verify that other parts of the application that may be using the sandbox URL have also been updated accordingly:
🏁 Script executed:
Length of output: 9767
Remaining sandbox URLs in tests need updating
We’ve verified that while the sample activity now points to the demo endpoint, numerous test fixtures and test classes still reference sandbox.testpress.in. These should be updated to the demo URL (or made configurable) to keep environments consistent:
• store/src/test/resources/products_list.json
• core/src/test/resources/discussions.json
• course/src/test/resources/content_attempts.json
• exam/src/test/java/in/testpress/exam/ui/AttemptActivityTest.java
• exam/src/androidTest/java/in/testpress/exam/ui/ReviewStatsActivityTest.java
• exam/src/androidTest/java/in/testpress/exam/ui/ShareToUnlockActivityTest.kt
• course/src/test/java/in/testpress/course/network/CourseNetworkTest.kt
Please replace all remaining sandbox.testpress.in references with the demo endpoint or refactor to use environment variables.