Skip to content

feat: Set up Info screens for explore-dash (NMA-1004) - #807

Merged
HashEngineering merged 9 commits into
feature-explore-dashfrom
feature-info-screens
Nov 10, 2021
Merged

HashEngineering merged 9 commits into
feature-explore-dashfrom
feature-info-screens

Conversation

@ClaudeHangui

@ClaudeHangui ClaudeHangui commented Nov 9, 2021 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

  • Display information about the explore-dash feature: As per a discussion with Brian, for this iteration, we shall not collapse the dialog in the "i" icon, rather simply slide-down the dialog when the user closes it

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • [ x] I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

- show info screens on top of merchant search result
- ensure screen displayed automatically ONCE
- open the info screen when clicking on the "i" icon
@ClaudeHangui
ClaudeHangui changed the base branch from master to explore-dash November 9, 2021 14:35

@Syn-McJ Syn-McJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great, TextViews can use some styling though.

/>
</dialog>

<dialog

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's brilliant, I didn't even think you can navigate to a bottom dialog.

app:layout_constraintTop_toBottomOf="@id/buy_card_header_label"
android:gravity="left|center"
android:text="@string/buy_card_desc_text"
android:fontFamily="@font/montserrat_regular"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please consider using text styles from the common module. I've created some styles that adhere to our typography design system so that we have it unified across the app eventually. This text should be Body2 style. Not all styles are implemented, so add yours as needed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed on last push. Please check it out

@Syn-McJ
Syn-McJ self-requested a review November 9, 2021 16:26

@Syn-McJ Syn-McJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

TextView styles, see above

Comment thread features/exploredash/build.gradle Outdated
versionCode 1
versionName "1.0"

vectorDrawables.useSupportLibrary = true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why do we need this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the explore-dash branch still works on sdk = 19 yes ?!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We're updating everything on 23, I think my physical-search PR has this change. You can bump it up and I think we should dump support lib

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

vector drawable support removed from gradle and upgrade of sdk done in latest push

@Syn-McJ
Syn-McJ self-requested a review November 9, 2021 17:01

@Syn-McJ Syn-McJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great!

…screens

# Conflicts:
#	common/src/main/res/values/colors.xml
#	features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/SearchFragment.kt
#	features/exploredash/src/main/res/layout/fragment_search.xml
- remove unused imports from SearchFragment.kt file

@HashEngineering HashEngineering left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good.

@Syn-McJ
Syn-McJ changed the base branch from explore-dash to feature-explore-dash November 10, 2021 08:20
@HashEngineering
HashEngineering merged commit 99396a7 into feature-explore-dash Nov 10, 2021
@ClaudeHangui ClaudeHangui changed the title NMA-1004: Set up Info screens for explore-dash feat: Set up Info screens for explore-dash (NMA-1004) Nov 19, 2021
@ClaudeHangui
ClaudeHangui deleted the feature-info-screens branch November 19, 2021 13:35
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.

3 participants