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

Fix #877: Lowfi FAQSingleActivity #878

Merged
merged 6 commits into from
Mar 27, 2020
Merged

Fix #877: Lowfi FAQSingleActivity #878

merged 6 commits into from
Mar 27, 2020

Conversation

rt4914
Copy link
Contributor

@rt4914 rt4914 commented Mar 25, 2020

Explanation

Fixes: #877

Mock: https://xd.adobe.com/view/e8aa4198-3940-47f9-514a-f41cc54457f6-9e9b/screen/195a7967-e7f0-4f62-a99c-8fac560e41d8/HL-FAQ-Question-Opened-current-

This PR does not deal with the correct data. The correct data will be added in #850

Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
  • The PR follows the style guide.
  • The PR does not contain any unnecessary auto-generated code from Android Studio.
  • The PR is made from a branch that's not called "develop".
  • The PR is made from a branch that is up-to-date with "develop".
  • The PR's branch is based on "develop" and not on any other branch.
  • The PR is assigned to an appropriate reviewer in both the Assignees and the Reviewers sections.

@rt4914 rt4914 changed the title Lowfi FAQSingleActivity Fix #877: Lowfi FAQSingleActivity Mar 25, 2020
Copy link
Contributor

@nikitamarysolomanpvt nikitamarysolomanpvt left a comment

Choose a reason for hiding this comment

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

@rt4914 Please rename FAQ to FAQs/FAQList if its focusing on more than one. for example FAQActivity,FAQFragment, Test classes, layouts, also in comments.. Please assign me back after that.

app/src/main/java/org/oppia/app/help/faq/FAQActivity.kt Outdated Show resolved Hide resolved
@@ -21,10 +21,10 @@ class FAQViewModel @Inject constructor(
private fun getRecyclerViewItemList(): ArrayList<FAQItemViewModel> {
val faqHeaderViewModel = FAQHeaderViewModel()
arrayList.add(faqHeaderViewModel)

val questions: Array<String> = activity.resources.getStringArray(R.array.faq_questions)
Copy link
Contributor

Choose a reason for hiding this comment

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

faq means its question then why we need faq_question, also faqs would be better if more than one in count.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

An FAQ is not just a question it is Question + Answer. And therefore faq_question and faq_answer

Copy link
Contributor

@nikitamarysolomanpvt nikitamarysolomanpvt Mar 27, 2020

Choose a reason for hiding this comment

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

Of-cause so that you may keep it faq and faq_answer or question and answer..

Copy link
Contributor

@nikitamarysolomanpvt nikitamarysolomanpvt left a comment

Choose a reason for hiding this comment

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

LGTM

@rt4914 rt4914 merged commit 56908dd into develop Mar 27, 2020
@rt4914 rt4914 deleted the lowfi-faq-single branch March 27, 2020 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Single Page FAQ
2 participants