Skip to content

Version 5.1.0

Latest
Compare
Choose a tag to compare
@sivaraam sivaraam released this 03 Nov 18:45
· 82 commits to main since this release

What's Changed

  • Enhanced upload queue management in the Commons app for smoother, sequential processing, clearer progress tracking, prevention of stuck or duplicate uploads. As part of this improvement, the "Limited Connection mode" has been removed. This was contributed by @kanahia1 via GSoC in #5752
  • Added an option in "Nearby" feature enabling users to provide feedback on Wikidata items. Users can report if an item doesn’t exist, is at a different location, or has other issues, with submissions tagged for easy tracking and updates. Contributed by @kanahia1 via GSoC in #5740
  • Improved the "Nearby" feature by splitting the query into two parts for faster loading and better performance, especially in areas with dense amount of places. This update also resolves issues with pins overlapping place names by @kanahia1 in #5731
  • Upgraded AGP and target/compile SDK to 34 and make necessary adjustments to the app such as adding "Partial Access" support. Also includes some minor refactoring, and replacement of deprecated circular progress bars. This was contributed by @rohit9625 in #5790
  • Fixed an issue where editing depictions removed all other structured data from images. Now, only depictions are updated, preserving other associated data by @rohit9625 in #5741
  • Fixed an UI issue where the 'Subcategories' and 'Parent Categories' tabs appeared blank in the Category Details screen. Resolved by optimizing view binding handling in the parent fragments. This was contributed by @thesarangal in #5830
  • Fixed *map centering in the image upload flow to use GPS EXIF tag location from pictures and ensured "Show in map app" accurately reflects this location. This was contributed by @Jason-Whitmore in #5767
  • Fixed navigation after uploading via Nearby by directing users to the Uploads activity instead of returning to Nearby, preventing confusion about needing to upload again by @whe128 in #5874

Bug fixes and various changes

  • Improved the "Nearby" feature to fetch labels based on the user's preferred language instead of defaulting to English by @ChristoJobyAntony in #5858
  • Added a legend to the "Nearby" feature indicating pin statuses: red for items without pictures, green for those with pictures, and grey for items being checked. A floating action button now allows users to toggle the legend's visibility. This was contributed by @hannagnourt in #5881
  • Fixed an issue where the "Nominate for deletion" option is shown to logged out users, preventing app errors and crashes by @djbloop in #5773
  • Updated the regex pattern that filters categories with an year in it to also filter the 2020s by @mnalis in #5761
  • Fix an issue where past depictions were not shown as suggestions, despite being saved correctly by @rohit9625 in #5792
  • Fixed an issue in custom image picker where exiting the media preview showed only the first image and cleared selections. Now, previously selected images are restored correctly after exiting the preview. This was contributed by @LachlanMajor in #5866
  • Fixed an issue in custom image picker where scrolling behavior did not maintain position after exiting fullscreen preview, ensuring users remain at the same point in their image roll unless actioned images are filtered. This was contributed by @lzhan0121 in #5880
  • Fixed Nearby map not showing new pins on map move by removing the 2000m scroll threshold and adding an 800ms debounce for smoother pin updates when the map is moved. Queued searches are now canceled on fragment destruction by @tristan81 in #5843
  • Revised author information retrieval to emphasize the custom author name from the metadata instead of the default registered username by @lzh12311 in #5860
  • Enhanced notification classification to properly identify "email" type notifications and prompting users to check their e-mail inbox when such notifications are clicked. This was contributed by @ErenratZeng in #5865
  • Resolved a bug in the language chooser that incorrectly greyed-out previously selected languages, ensuring only the current language is non-selectable during image upload by @cambo14 in #5883
  • Resolved pin color update issue in "Nearby" feature where the pin colour failed to be updated after a successful image upload by @ChristoJobyAntony in #5864
  • Improve the messages about being in a different place by @amire80 in #5764
  • wikidata-feedback: avoid sentence lego by @sivaraam in #5775
  • Remove unnecessary double quotes from a message by @amire80 in #5777
  • Rename "View user page" menu as "View user profile" by @sivaraam in #5771
  • Localization: fix incorrect Unicode for space after bullet points in French language by @rohit9625 in #5824
  • Added date and time to Feedback by @ujjwal2900 in #5797
  • Permission GET_ACCOUNTS required only upto Android 5.1 by @parneet-guraya in #5863

Various refactorings

  • Removed duplicate code in addMarkersToMap method by @ujjwal2900 in #5783
  • Added mockk as a dependency to support mocking Kotlin objects, ensuring compatibility when converting Java files to Kotlin and preventing test failures due to unsupported static mocks by powermock. This change helps maintain robust testing as the codebase evolves by @parneet-guraya in #5887
  • Updated the app to use the new result API, replacing deprecated methods for handling activity results related to file picking, voice input, and image editing, improving code maintainability and reliability by @parneet-guraya in #5875
  • Fix failing unit test case and replace deprecated progress bar with a Material progress bar by @rohit9625 in #5795
  • CI failing, fix test by @parneet-guraya in #5893
  • CommonsApplication migrate to kotlin & some lint fixes by @parneet-guraya in #5879
  • Partial fixes for errors and warnings reported by ./gradlew lint by @baijun6 in #5885
  • Refactor FilePicker.java intent result handling by @parneet-guraya in #5851
  • Fixed 119 minor Kotlin styling issues using ktLint and manual adjustments for compliance with standard rules, including naming, imports, and formatting by @tristan81 in #5833
  • Updating jraska/livedata-testing for GSoC by @nicolas-raoul in #5785
  • (fixes #3464) Replace assert() usages with assertThat() by @u7683345 in #5861

New Contributors

Full Changelog: v5.0.2...v5.1.0