Skip to content

Add information icon action Fiixes #2055 2.9.0: the 'i' icon in nearby doesn't do anything #2057

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

Merged

Conversation

neslihanturan
Copy link
Collaborator

Description (required)

Fixes #2055 2.9.0: the 'i' icon in nearby doesn't do anything

What changes did you make and why?
On some devices, ie. API 5.1.1, popup window's showAsDropDown() method doesn't work. Since we use alert dialog for showing information in app in general (as @maskaravivek noted) I decided to use Alert Dialog instead.

And unused codes are removed accordingly.

Tests performed (required)

Tested on prodDebug API 26

translatewiki and others added 10 commits November 8, 2018 09:54
* Bug fix issue commons-app#1826
Changes made :
-Certain category names used to show suffixed with strings prefixed with pipe '|'. Removed everything after the pipe. As per the discussion on the thread, its safe to remove everything after the pipe, including the pipe

* review suggested changes
*Code formatting
*Extracted out the index of pipe in a variable
*Added issue link in comments
* Remove libraries section from README

* Add wiki link to "libraries used" to README
@codecov-io
Copy link

codecov-io commented Dec 1, 2018

Codecov Report

Merging #2057 into 2.9-release will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@              Coverage Diff               @@
##           2.9-release   #2057      +/-   ##
==============================================
+ Coverage         4.07%   4.07%   +<.01%     
==============================================
  Files              224     224              
  Lines            11329   11327       -2     
  Branches          1046    1046              
==============================================
  Hits               462     462              
+ Misses           10833   10831       -2     
  Partials            34      34
Impacted Files Coverage Δ
.../main/java/fr/free/nrw/commons/utils/ViewUtil.java 0% <ø> (ø) ⬆️
...r/free/nrw/commons/contributions/MainActivity.java 0% <0%> (ø) ⬆️

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 568f807...1664045. Read the comment docs.

@neslihanturan
Copy link
Collaborator Author

Since this is approved by both of you, can someone please merge this? I don't prefer to merge my own PR.

@maskaravivek maskaravivek merged commit 615c0be into commons-app:2.9-release Dec 17, 2018
neslihanturan pushed a commit that referenced this pull request Dec 19, 2018
* Fix memory leak due to wikidata edit listener (#2048)

* Fix bookmark crash fix (#2047)

* Fix bookmark crash fix

* Fix check for bookmark creator

* Bug fix #2042 (#2056)

* Bug fix #2042
* Added a snack with retry when api in AA fails
* Increased connection timeouts in okhttpclient builder

* added missing string resource

* Bugfix/duplicate categories (#2080)

* Increased timeout to 60 seconds

* Bug fix #1550
* filter duplicate categories

* Fix crash because of inactive fragment UI (#2046)

* Fix crash because of inactive fragment UI

* Add java docs

* Add information icon action Fiixes #2055 2.9.0: the 'i' icon in nearby doesn't do anything (#2057)

* Localisation updates from https://translatewiki.net.

* Remove unused mediawiki api dependency (#1991)

* Categories with pipe suffix (#1873)

* Bug fix issue #1826
Changes made :
-Certain category names used to show suffixed with strings prefixed with pipe '|'. Removed everything after the pipe. As per the discussion on the thread, its safe to remove everything after the pipe, including the pipe

* review suggested changes
*Code formatting
*Extracted out the index of pipe in a variable
*Added issue link in comments

* Remove libraries section from README (#1988)

* Remove libraries section from README

* Add wiki link to "libraries used" to README

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Use alert dialog instead of popup window, for nearby information

* Revert irrelevant changes, sorry
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.

6 participants