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

Remove announcement error dialog #1360

Merged
merged 3 commits into from
Jul 11, 2023
Merged

Conversation

Eldar2021
Copy link
Member

@Eldar2021 Eldar2021 commented Jul 10, 2023

The error occurred because https://encointer.github.io/feed/dev/{cid/global}/{de/fr/ru}/announcements.json is missing from our feed repo.

@Eldar2021 Eldar2021 added A1-bugfix PR fixes a bug B1-medium Elevates a release containing this PR to "medium priority" C0-breaksnothing PR does not introduce any breaking changes labels Jul 10, 2023
@Eldar2021 Eldar2021 self-assigned this Jul 10, 2023
Copy link
Member

@clangenb clangenb left a comment

Choose a reason for hiding this comment

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

Nice. This can even remove some code. :)

@clangenb
Copy link
Member

I will merge this, but there is a follow-up issue, to properly handle the app languages. :)

@clangenb clangenb merged commit 380eb93 into master Jul 11, 2023
14 of 16 checks passed
@Eldar2021 Eldar2021 deleted the el/announcement-error-dialog branch July 12, 2023 01:59
clangenb added a commit that referenced this pull request Oct 3, 2023
* Bump Flutter v3.7.12 (#1144)

* upgraded Flutter version

* ./flutterw upgrade

* Replace js-ss58 encoding with the dart version and derive addresses from pubKey on the fly (#1073)

* [NetworkSelectPage] remove usage of `pubKeyAddressMap`

* [AccountSelectList] remove `addressOfAccount` usage and minor renaming.

* [AddressInputField] remove `addressOfAccount` usage and minor renaming.

* [Fmt] remove `addressOfAccountUsages` and delete method.

* compute address in some places instead of using the cached one

* remove the account store's `pubKeyAddress` map and the webApi's `encodeAddresses`

* [AccountStore] remove `getNetworkAddress` and replace its usages with `Fmt.ss58Encode`

* [Fmt] remove obsolete import of store.

* [AccountStore] regenerate file

* [JS] remove `account.encodeAddress`

* organize imports

* [substrate_api] null-check before initializing accounts.

* [accountStore] make `currentAddress` nullable as it unfortunately should be now.

* Revert "[accountStore] make `currentAddress` nullable as it unfortunately should be now."

This reverts commit ae16822f3daff0e4a26023d3d2731296b6ce24ee.

* [accountStore] restore `currentAddress` behaviour from before change.

* fix transfer from contact detail page

* handle contacts based on pubKey instead of address

* fix linter warning

* [local_storage] rename variable

* fix linter warning

* Remove ss58-prefix override and use the network-specific prefix for address display (#1111)

* remove obsolete `networkSs58Map` and don't return the addresses for the different networks, when initializing the keys anymore.

* remove overriding the network prefix on dart and JS-side

* [encointer-api] `getAggregatedAccountData` does now use th pubKey instead of the address.

* fix fmt

* [meetup] fix the icon of self.

* [accountApi] rename `decodeAddresses` to `addressesToPubKeys` and simplify code.

* [scan_claim_qr_code] fix meetup with non-42-prefixed addresses.

* fmt

* [encointerApi] get the next phase timestamp once before subscribing, otherwise the value will be empty in the store for a long time.

* [encointerApi] correctly fix getting the next phase

* [ceremony_step2_scan2] rename `getCurrentAccountIndex` -> `meetupIndexOfAccount` and refactor a bit.

* Create package `ew_http` for HTTP REQUEST (#1175)

* created ew_http package with vgv cli

* added exceptions

* added get method

* added getList method

* tested get and getList methods

* added get method

* refactor test

* added exceptions

* rename test model

* write readme

* [launch.json] distinguished configuration for Android and iOS (#1167)

* az/launch.json configuration for android and ios

* deleted empty lines

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Fixed app crash on Android API < 26 (#1165)

* Fixed crashing bug on older androids
smaller than API 26

* comments are added

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Change language in integration test (#1155)

* refactoring change language method

* set app settings to integration test

* bump flutter sdk

* fix dart ui error

* refactoring main dart

* uncommented real app tests

* added change language test

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Unit test 'Preferences storage test' for  ew-storage (#1140)

* started to do unit test for Prefernces Storage

* last changes

* test get bool

* finished test for setDouble, SetInt, setStringList and clear

* Test for delete

* added verify function to tests

* removed unused import

* unit test for preferences_storage

* renamed the test titles

---------

Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* send bugreport to email instead of trello (#1194)

* Display transaction history (#1176)

* added repository provider

* added nullable to ew http

* wrapp main app with repository provider

* change

* change Transaction model by backend

* add ewhttp to TransferHistoryStore

* rebuild TransferHistoryStore

* set real endpoint

* delete mock transaction history data

* added test link

* refactoring code

* added empty transaction view and error view

* added documantation to transfer history model

* set start and end time to getTransactionHistoryUrl

* refactor getTransactionHistoryUrl

* fix trabsaltion by commet

* added Retry translations

* Integration `EwHttp` (#1177)

* integrated EwHttp to IpfsApi

* dleted unused SubscanApi and fix tests

* integration EwHttp to getMeetupTimeOverride

* use EwHttp instead FeedRepo

* added const to Api constructor

* deleted http from app pubspec

* fix file name

* delete unused g file

* change rename file htt_overrides

* fix Api.create parameters

* try get name

* added getNameFromContacts to Transaction

* rename TransferHistoryViewStore

* deleted FetchStatus initial

* Show mock announcements on homepage with developer options (#1163)

* started creating announcement page

* announcement go on

* announcements on the homePage with mockData

* changed announcementMockData

* display announcements when devMode is enabled

* added func to shareIcon and favoriteIcon

* Favorite Icon can be tapped only once

* test

* isFavorite dynamic

* tested announcements from feed

* refactored AnnouncementView

* imports

* used mobx instead of setState to change heartIcon

* [community_icon] set default value for nullable constructor arg

* fix IOS integration tests

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>
Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>

* Send Receive-QR code to printer (#1188)

* first commit to test

* QR code preview and printabality added

* business logic moved out the UI

* melos method to build apk for android added

* settings.json autoReveal set back to false

* fixing analyze related issues

* added localization

* analyze related fix

* Update app/lib/utils/translations/translations_assets.dart

French fixed

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Update app/lib/utils/translations/translations_assets.dart

French fixed

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Update app/lib/utils/translations/translations_assets.dart

French fixed

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* fixed typo and localized file related codes

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Take screenshots for every language in integration test (#1204)

* refactoring change language method

* set app settings to integration test

* bump flutter sdk

* fix dart ui error

* refactoring main dart

* uncommented real app tests

* added change language test

* for test

* gave erro call functions

* refactor some intehration test

* gave error start meetup

* fix dev scan qr test

* try refactoring real app test

* try refactor real app test

* format code

* remove addDelay

* refactor account

* renaming vars

* move screenshots to screenshots_name

* move screenshots to screenshots_name

* fix typo

* check screenshots

* added screenshot-for-all-locales command

* added timeout

* added existsSync

* deleted shouldTakeScreenshot parameter

* pull origin master

* create scrollToPanelEnd

* try fix scroll to panel controller after meetup

* try fix scroll

* remove screenshot all locales commands

* try fix takeScreenshot

* fix account export error

* create helper expoert file

* rename take screen shots

* try refactor driver locales

* try fix melos command

* added melos spesific version ti install melos sh file

* Local OS biometric(Pin code) authentication API (#990)

* added local auth package

* replace pushAndRemoveUntil to pushNamedAndRemoveUntil

* create splash view store

* create login cocepts

* added login view store logic

* refactoring code

* fix integration test

* added translations

* fix test styles

* fix test

* refactor code

* added localizedReason to translations

* added documantation comments for methods

* added await to pushNamedAndRemoveUntil

* added await to pushNamedAndRemoveUntil when call useLocalAuth

* tested localizations for IOS

* changes names by comment

* changes names by comment

* create authenticationEnabled in AppSettingd

* added condition for authenticationEnabled

* fix typo authinticate -> authenticate

* authenticationEnabled changed to enableBiometricAuth

* added secure storage to AccountStore

* added passowrd ask logic

* refactor login view

* deleted actions check pin code

* fix grid view count

* deleted action keyword from check pin code

* feractoring login module

* change file name app service

* fix password input dialog

* deleted biometricError

* add translations biometric authentication

* bump local auth v

* tested on IOS

* deleted spaces in MainActivity java file

* rename password input dialog file

* fix name pinError and translations

* rename isBiometricAuthenticationEnabled

* fix Log typo

* rename setIsBiometricAuthenticationEnabled

* rename getIsBiometricAuthenticationEnabled

* rename pinCode

* fix transalation localizedReason

* deleted required for CircleButton onPressed parameter

* deleted unused MainActivity java

* create checkCachedPin function in login store

* ask pin code brefore enable/disable biometric auth

* unused FlutterFragmentActivity java code

* refactoring login store

* format code

* added canPop ro password input dialog

* rename getLocaleName

* fix fr pinError translation

* test on IOS and android

* change flutter_inappwebview version

* restructure (integration-) test files (#1225)

* try refactoring scan page integration test

* try refactor mock qr scan page

* deleted test_driter/app&&app_test files

* try rename real app to app (fix helper folder name)

* try rename real app to app (fix app folder)

* try rename real app to app (fix app test file)

* fix melos commands

* try remove mock in lib folder

* try refactor app config

* format import

* deleted unused mock chain data

* fix Iphone 8 plus test

* Try fix build runner error in unit test (#1226)

* try fix buil runner error in unit test

* fix documantation

* added condition to PaymentConfirmationPage animate check reset (#1227)

* Gathering: Suggest postponing sending claims only if the device is offline (#1182)

* small ux changes,on the 3rd step of the ceremony remove Finish Button  and add a [X] in the appBar

* added checkInternetConnection() method depending on results left one button

* added text traslation for offlline Message in en, de, fr, ru

* Update app/lib/utils/translations/translations_encointer.dart

* Update app/lib/utils/translations/translations_encointer.dart

* Update app/lib/utils/translations/translations_encointer.dart

* small commit in translation

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* mock back end for announcements (#1180)

* started creating announcement page

* announcement go on

* announcements on the homePage with mockData

* changed announcementMockData

* display announcements when devMode is enabled

* added func to shareIcon and favoriteIcon

* Favorite Icon can be tapped only once

* test

* isFavorite dynamic

* tested announcements from feed

* refactored AnnouncementView

* imports

* used mobx instead of setState to change heartIcon

* az/Mock back end announcements

* Fixed formatting errors

* Fixing formattings

* Fixing build runner error

* Fixed error handling

* Fixing null-safety related codes on UI

* Fixing timeout error in integration test

* after code review changes made

* Fixed melos analyze-check failure

* [assets/index] remove unused imports

---------

Co-authored-by: Janara Sourbayeva <janara2610@gmail.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Implement and integrate dart native ss58-decode (#1219)

* [utils/format] add documentation for `blake2WithSs58Pre`

* [utils/format] add working implementation of ss58Decode

* [utils/format] add documentation

* [utils/format] fix test names

* [utils/format] fix fmt

* [utils/format] add const constructor for `Ss58DecodeResult`

* [utils/format] fix flutter analyze

* Replace JS ss58-decode calls with the JS version

* [JS/service/account] remove the `addressDecode` and its corresponding dependencies

* [scan_claim_qr_code] make `onScan` sync

* add tests for failed decoding

* add tests for failed encoding

* [format_tests] fix duplicate comment

* Run CI in multiple languages for the print screens upon tag creation (#1228)

* try get screenshot for multi language from CI

* added node actions

* rename files

* set permission

* try fix multi panguage screenshot ci test sh file

* fix decription

* remove release integration test ios

* try fix condition ios integration test action

* just for test

* Apply custom Community Theme (#1164)

* added gbd color for test

* created theme structure

* changed method to get

* added material color fild to app settings store

* fix all colors

* added gbd color

* primaryGradient

* create seed color system

* fix gradient color

* fix expoert account color

* fix RoundedButton color

* fixed meetup buttom color

* deleted unused colors

* change colorscheme system

* add changeTheme method to app settings store

* change theme success

* commented change tmene method body

* rebuid generated files

* added todos

* Use dev feed when app in developer mode (#1237)

* tested feed dev

* fix by comment

* TX History UX: move it to main page and change transaction tile design (#1241)

* moved Transaction History Page to the home page, new design of the TransferHistory page

* updated transactionCard, added sent and received status

* added translation for sent and received status, they are localized now, moved required arguments to the top

* try fix CI test 01

* Did some refactoring with Janara

---------

Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>

* Integration tests with devmode qr codes (#1212)

* first commit, not done yet

* Integration test devmode QR scanning

* merged 'master' to 'qr scan test dev mode'
fixed: scroll error while testing

* invoice.dart logic changed

* qr test added to real_app test and now is done there

* changed namings of tests

* fixed integration test failure

* fixed unit test code analyze failure

* changed logic from devmode to isIntegrationTest,
made changes regarding keys

* fixed scroll error

* changed spelling error

* fixed scroll error

* changed test descriptions

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [app_service] fix typo: Deutch -> Deutsch (#1252)

* Create online checker service (#1240)

* created ConnectivityStore

* deleted checkInternetConnection in CeremonyStep3Finish

* tested on IOS

* Remove obsolete account password dialog (#1250)

* Try deleted unused AccountPasswordDialog

* try fix neming

* smalee logic navigation

* try fix small logic AnnouncementView

* refactored by comment

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [Announcements] generic fetching based on cid, introduce error handling, make announcements production (#1244)

* created Either class

* integrated Either to EwHttp class

* tested fold method call right or left functions

* try integrated EwHttp to AnnouncementStore

* AnnouncementStore connect to getEncointerFeedLink

* deleted unused code

* deleted unused encointerFeedAnn

* added documantation for Either Right Left

* try refactor code

* try fix error

* tested dev-mode=false situation

* Fix softwrap in Tx-History button (#1251)

* [assets] fix tx-history label softwrap by changing the terminology

* [assets] fix receive softwrap in french by using better terminology

* [assets] extract `ActionButton` widget to remove redundant code

* [assets] fix: use icon field in ActionButton widget

* [assets/index] fmt

* try fix integration test

---------

Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>

* v1.10.0

* Migrate to Material 3 (#1245)

* try Migrate to Material 3 (01)

* try fix Iphone 8 plus CI test

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Bump Flutter v3.10.3 & Dart SDK >=3.0.1 <4.0.0" (#1259)

* bump flutter&&dart versions

* impeller enable for IOS

* fix depracated callback_dispatcher test

* Delete BazaarSearch widget

* bump test version

* Try fix melos error

* Migrate to dart 3 Part 2 (refactoring `switch case`)  (#1260)

* change melos version

* migrated switch case to dart 3

* v1.10.0

* migrate swithc case in ew_http to dart 3

* tested on IOS & Android

* Migrate to Material 3 (#1245)

* try Migrate to Material 3 (01)

* try fix Iphone 8 plus CI test

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* refactored by comments

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* integration test for vouchers (#1238)

* temporarily made changes

* temporary changes

* 01:03 +13: All tests passed

* popup fixed by eldiyar

* popup error fixed by Eldiyar

* changed logic from devmode
to isIntegrationTest

* no test failure locally

* merged to 'master'

* fixing ci android test fail

* fixing ci android integration test failure

* dialog would not close because of screenshot

* fixing melos analyze check failure

* back to original settings on android integration test
yml file

* after code review changes made

* some refactoring made,
analyze fixed

* naming changed

* moved name under a correct group

---------

Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>

* reInit webApi with webview and nodes if failed (#1262)

* reInit webApi with webview and nodes if failed
if user closes and reopens the app

* after code review changes made
organized imports

* fixed melos format-check failure

* Bazaar - Create UI for main page of Bazaar (#1224)

* first commit of Bazaar main page

* added translation

* added textColor for highlight and neubeileu, highlight on the top

* deleted comment

* changed communityChoose to more informal format, and moved required argument on top

* deleted single_business model

* changed BazaarPage to BazaarMain

* @JsonValue to snake_case

* deleted CustomElevatedButton()

* Try fix Bazaar( overflow errors) (#1263)

* try fix 01

* Test on iPhone 14 pro max

* Tested on Pizex 4

* changed icon

---------

Co-authored-by: Eldiiar Almazbek <76556278+Eldar2021@users.noreply.github.com>

* Bump dependencies (#1266)

* bump with flutter pub upgrade

* fix deprecated error

* Tested on IOS

* deleted unused comments

* try fix BusinessesOnMap

* tested on Android

* Bump dependencies packages

* detected old packages

* added todo for old packages

* downgrade flutter_inappwebview

* try fix ios test

* downgrade flutter_inappwebview

* fix todos by comment

* Localization l10n (#1264)

* carete l10n feature

* added home translations

* added account translations

* added Assets translations

* added bazaar translations

* added encointer translations

* Added profile translations

* added transaction translations

* deleted repeated words

* commented encointer translations

* fix all lint error

* try fix some dictitionary

* try fix varibles arb

* rename dic -> l10n

* format arb files

* deleted unused old translations

* deleted unused warnings json file

* rename translation -> l10n

* refactoring code

* deleted validateAccount

* fix by comment

* try fix unit test

* try fix pdf Cyrillic alphabet

* Typo On Transfers Screen (#1291)

* fixed

* deleted unused file

* Write test for Bazaar's main page mock (#1277)

* tested BusinessesStore

* pulled origin master

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Bug: Send Button doesn't work, if Address is not in the address book. (#1276)

* try fix 01

* added unknownAccount translations

* [assets-page] fix button layout that accidentally unfixed (#1299)

* [tx-payment-confirmation-page] show address and label and don't format label as address (#1298)

* [tx-payment-confirmation-page] show address and label and don't format label as address.

* [payment-overview] fix fmt

* Tx History: Fix naming of Community Issued Income (#1296)

* tested on IOS and Android transfer-view

* change localizations

* change unknown contact -> unknown

* change icon color

* UI Bug v1.10.0: Autofitting of Transfers Screen for small devices doesn't work (#1304)

* tried to fix fitting of TRansfersPage on small devices

* fixed store

* Add explainer for the end of the tx history (#1308)

* Listview pagination

* added translations

* TransactionsList deleted unused

* [I10n] better naming for transaction end text

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* added fetch annoncements form feed/dev/de, changed title style in announcmentCard from titleLarge to titleMedium (#1313)

* Implement flow to enable biometrics (#1307)

* tested on IOS & Android

* remove sign in button

* refactoring login store

* Translations showToggleBiometricAuthAlert's words

* added biometricAuthEnableDisableDescription translations

* fixed CI test

* fixed translations by comment

* Bug Community Messages: Sorting of Messages is upside down (#1314)

* announcements are sorted by the publishDate

* strictly chronological, even it mixes global and community announcements

* Fix: Initialize the locale with system language (#1323)

* truncate numbers in transfer history to 4 decimals (#1321)

* long small number shortened

* merged with master, fixed analyze fails

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* tx history: icons should be the same colour as the numbers (#1328)

* Fix Ceremony Cycle Progress Bar (#1325)

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Only ask for authentication in certain cases (#1309)

* tested on IOS & Android

* remove sign in button

* refactoring login store

* Translations showToggleBiometricAuthAlert's words

* added biometricAuthEnableDisableDescription translations

* fixed CI test

* try remove login view

* remove AppAlert showInput dialog

* call LoginDialog ask pin

* deleted unused commnats

* app ask pin when delete account from account manage page

* fixed translations by comment

* refactored askPin

* rename file

* try refactor profile index

* try fix get agragate account data

* remove ask pin from confirm payment

* try refactor LoginDialog

* added verifyAuthTitle

* Fixed CI test

* Formatted code

* rename askPin

* fixed translations by comment

* added switchBiometricAuth

* [Tx-History] fix showing contact names (#1326)

* Try fix transfer history contact names

* renamed knownAccounts method

* Loading community messages inconsistently fixed (#1322)

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Fix: Notification icon does not render in production (#1327)

* try fic notification icon

* deleted test code

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Collect contacts automatically from invoices data (scan) (#1333)

* added contect when scan invoce data

* Fix CI tests

* rename con by comment

* tested Manas added to contact

* fix scanning invoice qr code from `TransferPage` (#1338)

* add RefreshIndicator to `TransferHistoryView` (#1324)

* added RefreshIndicator to TransferHistoryView

* added transferHistoryTop

* v1.10.1

* [Bazaar] Create UI of a single business page (#1303)

* created Single Business, its stores, widgets

* added svg

* navigation from BazaarMain to SingleBusinessView

* added dic to mapButton, deleted comments from BusinessDetailPage, sorted imports

* fixed model, store and navigation

* added translation, added xtra parameters in model and widgets

* did fixes by PR comments

* deleted unused assets

* fixes by PR comments

* Add flutter native splash (#1345)

* added splash image and flutter native splash package

* tested on IOS

* remove flutter_native_splash

* remove test codes

* [Bazaar] Create UI of a single business page (#1303)

* created Single Business, its stores, widgets

* added svg

* navigation from BazaarMain to SingleBusinessView

* added dic to mapButton, deleted comments from BusinessDetailPage, sorted imports

* fixed model, store and navigation

* added translation, added xtra parameters in model and widgets

* did fixes by PR comments

* deleted unused assets

* fixes by PR comments

---------

Co-authored-by: Zhanara <91150590+SourbaevaJanaraJ@users.noreply.github.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Refine GBD community colors (#1336)

* added GBD colors

* change iconColor by cid

* uodated AppsetingsStore

* fixed colors

* deleted unnecessary coma

* made the color transition smoother

* can change Theme when devMode is disabled

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Add screenshots of transfer history in CI (#1340)

* take screenshots of tx history in CI

* [Bazaar] Create UI of a single business page (#1303)

* created Single Business, its stores, widgets

* added svg

* navigation from BazaarMain to SingleBusinessView

* added dic to mapButton, deleted comments from BusinessDetailPage, sorted imports

* fixed model, store and navigation

* added translation, added xtra parameters in model and widgets

* did fixes by PR comments

* deleted unused assets

* fixes by PR comments

---------

Co-authored-by: Zhanara <91150590+SourbaevaJanaraJ@users.noreply.github.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Remove redundant `send attestation` button if they were already sent at the end of the meetup (#1329)

* impoved submit flow

* meetupCompleted property in EncointerStore

* check is done within the showSubmitClaimsButton computed

* Show encointer logo instead community logo if announcement is global (#1350)

* [Bazaar] Create UI of a single business page (#1303)

* created Single Business, its stores, widgets

* added svg

* navigation from BazaarMain to SingleBusinessView

* added dic to mapButton, deleted comments from BusinessDetailPage, sorted imports

* fixed model, store and navigation

* added translation, added xtra parameters in model and widgets

* did fixes by PR comments

* deleted unused assets

* fixes by PR comments

* show encointer logo instead community logo if announcements come from global

---------

Co-authored-by: Zhanara <91150590+SourbaevaJanaraJ@users.noreply.github.com>

* [Bazaar] fix businesses padding (#1359)

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Remove announcement error dialog (#1360)

* remove announcement error dialog

* added languagecode to global announcements

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Remove old package animated_check and implement it ourselves (#1370)

* Preview PDF overflows in Ru language (#1363)

* little fix on receive page

* changed shareText and preview in Ru for shorter one

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [Bazaar]  add back end to bazaar mainpage (#1265)

* first commit of Bazaar main page

* added translation

* added textColor for highlight and neubeileu, highlight on the top

* deleted comment

* changed communityChoose to more informal format, and moved required argument on top

* testing bazaar back end, not finished

* deleted single_business model

* changed BazaarPage to BazaarMain

* not finished, returning data has to be changed

* @JsonValue to snake_case

* deleted CustomElevatedButton()

* try fix 01

* Sort not done yet

* filter by categories done

* fixed some errors

* fixed analyze check fails

* added comment regarding EdisonPaula

* after code review changes made

* fixed dropdown menu ui

* unit test failures fixed, which closes 1331

* [mock_bazaar_data] fix remaining unicode error.

* [transfer_history_view] fix merge error

* [businesses_store] fix typo

---------

Co-authored-by: Janara Sourbayeva <janara2610@gmail.com>
Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Add back end to single business page (#1330)

* Not finished yet

* fix rebase error

* fix typos

* fix unit tests

* fix analyzer error

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Bazaar - Write test of a single business page mock (#1368)

* test for single business page

* added mock data for single business in test and it's export

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Test for a single business page back end (#1367)

* not finished

* single test

* unit test for single business back end

* utf8 convert added

* analyze fails fixed

* [mock_bazaar_data] fix rebase errors

* [business_utils] better comment

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* try fetch English announcements if the app language's are not available (#1369)

* fixed announcements 404 error

* [announcement_store] add comment

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [mock_single_business_data] fix unit tests

* Fix: Announcement share as deep link (#1362)

* fixed announcement share

* [announcement_card] fix double `/`

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Asks enabling biometric authentication although I already enabled it previously (#1361)

* remove biometricAuthStateKey from AppService

* Fixed CI test

* Fixed typo

* [login_service] migrate biometricAuthState to new version

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [transfer_history] fix display names of contacts created pre-1.9.1 (#1376)

* [transfer_history] fix matching old contacts

* [transfer_history] fix address icon and add tap to copy

* [transfer_history] use pubKey in address icon.

* [transfer_history] fix comment

* [ios/appcenter-post-clone.sh] disable cocoapod version check

* v1.10.2

* remove total like count Bazaar (#1385)

* adjust `scannedAttendeesCount` according to device settings (#1386)

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Try fix gathering scanner bug (#1382)

* try fix scanner bug

* Added comment to MobileScanner detectionTimeoutMs

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [EncointerMap] properly constrain max zoom (#1398)

* Shorten & center text of claim pending income button (#1399)

* shorten pending community income button text

* change text alignment to centered for pending community income

* More robust transfer history (#1395)

* [transfer_history] remove unnecessary address decoding

* [transfer_history] catch exceptions in address decoding.

* [transaction_list] don't create known accounts list for every tx card.

* [transfer_history_view_store] properly handle unset values.

* [transaction_card] catch decoding error

* [transfer_history] add target to log

* fmt

* v1.10.3

* update bazaar business store unit tests to match business logic (#1413)

* Fix: `TransferPage` animation controller error (#1387)

* fix transfer animation error

* fix animate diasable on integration test

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Fix displaying contacts in `AddressInputField` (#1397)

* renamed contactListAll to allStoredAddresses

* changed Addresses to Accounts

* [QrScanService] fix typo

* [settings] remove obsolete `allStoredAccounts` and add `@computed` to knownAccounts

* [transferPage] fix getting contacts in drowdown

* [settingsStore] `knownAccounts` is now a computed to prevent redundant invocations

* [QrScanService] better variable naming

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Ensure the whole QR-code is displayed on receive page (#1419)

* deleted qrScanHint which was too long, and changed labelText of the EncointerTextFormField

* deleted invoiceAmount translation

* add unit tests for `Transaction` model (#1394)

* Possible UI bug fixed, model unit test added

* [transaction_card] revert change for adding `N/A` if symbol == null.

* fix trailing whitespace

* [models/transfer_history_test] fix names

* [models/transfer_history_test] improve unit tests

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Changed registering information text for newbies (#1415)

* Changed Endorsement Hint for Newbies

* fix french translation

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Fix bazaar page cid null (#1384)

* try fix bazaar when cid null

* fixing melos conflicts

* Revert "fixing melos conflicts"

This reverts commit b50ea367f865879a42b09d246c1dde6651a4aa4a.

* minor translations improvements

* better error message in case no community was chosen.

---------

Co-authored-by: azackmatoff <ackmatoff@gmail.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Remove the old bazaar stuff (#1424)

* deleted old bazaar folders and files

* deleted unused translations

* Contact list: make the whole `ListTile` clickable instead of just arrow icon button (#1423)

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Added onError property to `submitTx` (#1414)

* added onError property to submitTx

* try fix to by comment

* tested

* [PaymentConfirmationPage] remove payment error unknown as the dialog shows already the detailed error.

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Set and use all the `TextStyles` inside `Theme` (#1364)

* added TextStyles

* added TextStyles

* changed typography display which is too huge to different fonts

* set TextStyles inside Theme

* textstyle fixes in payment overview

* deleted comments

* fmt

* changes in ContactDetailPage, TransferPage, EmptyBusiness, Ru translation

* hardcoded fontsize =19 on profile page

* AccountSharePage

* reapVoucherPage, AccountSharePage

* Fixed some text styles (#1400)

* [EncointerMap] properly constrain max zoom (#1398)

* Shorten & center text of claim pending income button (#1399)

* shorten pending community income button text

* change text alignment to centered for pending community income

* More robust transfer history (#1395)

* [transfer_history] remove unnecessary address decoding

* [transfer_history] catch exceptions in address decoding.

* [transaction_list] don't create known accounts list for every tx card.

* [transfer_history_view_store] properly handle unset values.

* [transaction_card] catch decoding error

* [transfer_history] add target to log

* fmt

* v1.10.3

* fixed some text styles

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>
Co-authored-by: Janara Sourbayeva <janara2610@gmail.com>

* fixes by PR comments

* fix merge error

* Minor fixes

* fix import order

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>
Co-authored-by: Eldiiar Almazbek <76556278+Eldar2021@users.noreply.github.com>

* TransferPage: avoid opening qr-scanner when clicking on the empty spaces next to the scanner icon (#1428)

* Fix TransferPage qr-scan icon area

* fixed CI test

* Remove obsolete `contact_list_page` (#1430)

* deleted ContactListPage

* remove obsolete translations

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Extract widget keys to a separate package for re-use in tests (#1431)

* Consistent keys for integration testing

* cleaned the pubspec yaml file for package

* fixing unit test failure

* testing to fix flutter conflict

* fixing melos conflicts

* fix warnings in test-keys

* [ew-test-keys] remove trailing newlines

* [ew-test-keys] relax linter

* [ew-test-keys] rename zero001 to testPIN

* [ew-test-keys] update readme

* [ew-test-keys] remove unnecessary project files

* [ew-test-keys] ignore warnings for lines longer than 80 characters

* [ew-test-keys] add mock test to satisfy melos

---------

Co-authored-by: azackmatoff <ackmatoff@gmail.com>

* Replace the dominant `Start Gathering` button if the meetup has been completed with a smaller `Restart Gathering` button (#1433)

* restart small link-like button instead of big button Start Gathering

* changed ru translation

* [encointerStore] fix typo in `showRestartCeremonyButton`

* [CeremonyBox] add dedicated key for restart button

* [CeremonyBox] minor design optimizations

* [CeremonyBox] Restart Button: change textStyle to bodyMedium

* fix fmt

* [ceremony_test] fix test by changing expected key: startMeetup -> restartMeetup

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [transfer_history] make address copyable and update layout to prevent render overflows (#1427)

* copyAndNotify method in transaction

* moved timestamp to the top

* [transactionCard] minor refactoring for better readability

* [transaction_card] extract `incomingIcon` and `outgoingIcon`

* [transaction_card] fix trailing whitespace in transaction amount

* [transaction_card] properly align transfer amount at bottom of the card

* [transfer_history] truncate number to 2 decimals

* [transfer_history] fmt

* [transfer_history] remove bottom padding

* [transaction_card] fix massive padding by replacing icon button

* Revert "[transfer_history] truncate number to 2 decimals"

This reverts commit c7c2d79c017af3339e4babb9374bd9b34b020565.

* [transfer_history] fmt

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Fix bazaar decoding errors (#1426)

* commented mock data

* EwHttp use utf8.decode(response.bodyBytes) instead response.body

* Remove unused code

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Fix: balance can't be fetched after changing account (#1439)

* Try fix freezing balance

* refactored a bit

* fixed _getAnnouncements error

* reverted 2623d890bb9e591dd6df6893cb7a1c3397a4efae

* reverted 532720e38414eb4a5f001a9ac2a1067416ef9ab0

* removed unused translations (#1440)

* removed unused translations

* revert renaming of `page-encointer`

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [Bazaar] Remove white background from Lion Icon (#1436)

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* Ask for authentication the first time the private key is needed and when deleting/exporting accounts (#1432)

* implement Ask authentification dleteing account and transfer

* try remove settings cachedPin

* try implement app ask auth

* remove comment code

* remove comment code 02

* Better translations for the generic password input dialog

* russian translation

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>
Co-authored-by: Janara Sourbayeva <janara2610@gmail.com>

* v1.10.4

* [AccountManagePage] show correct balance for non-current accounts (#1442)

* [AccountManagePage] fix: show correct balance for non-current accounts

* [AccountManagePage] fmt

* Fix missing translations and translation typos (#1443)

* Add missing translations in french and russian and generate a file with the missing translations if any

* [l10n] fix typos

* [gitignore] fix doc

* [l10n] add linebreak to file end

* [GHA] check missing translations in CI

* [GHA] fix flutter not found error

* bump JS deps to polkadot v0.9.42 (#1344)

* bump deps

* half of tests working

* remove unnecessary stuff

* remove more unndcessary stuff

* fix broken tests

* revert weird changes

* [GHA] upload js binary at the end of the workflow

* [GHA] fix js-binary path

* [GHA] upload js in JS-ci for faster upload times

* [GHA] minor cleanup

* [GHA] run integration tests also against the new node

* [scripts] print docker tag in scripts

* [GHA] fix multiple docker tags in matrix.

* [scripts] fix command to run the new encointer node

* [GHA] remove running the old encointer node because it has an incompatible CLI

* [GHA] better comment

* [JS] update fee dependent integration test for new docker image

* [GHA] also add docker tag do JS CI

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* v1.10.5

* Fix display of QR-code for big font sizes and small screens (#1455)

* [meetup] remove all widget paddings favoring on big padding

* [meetup] remove more unnecessary widgets

* [meetup] fix add const to progress bar

* [qr_code_image_view] remove unnecessary settings

* [qr_code_image_view] allow passing size to `QrCodeImage`

* [meetup] make QrCode page scrollable and fix widget size issue.

* [QrCodeView] remove obsolete QrCodeImage with button

* [meetup] fix QrCodeSizie issue for good.

* [receive_page] better display of qr-code

* [receive_page] remove unnecessary nested column

* [receive_page] remove another unnecessary nested column

* [receive_page] put overarching padding at correct place

* v1.10.6

* Fix potential encoding errors for EncointerBalances and catch ALL errors while sending extrinsics (#1483)

* [JS] extract `stringNumberToEncointerBalanceU8` and unit test it

* [JS] update bn to v5 and fix apply updates

* [JS] change naming of test

* [JS/service/account] add minor debugging info. Can't send extrinsics from the app currently...

* [JS] catch all tx errors and display them to the user instead of the forever spinning wheel.

* [JS] fix error: getting invalid character on null tip

* [JS] fix transfers again

* [JS] rename `stringNumberToEncointerU8` to `stringNumberToEncointerBalanceU8a`

* [JS] add documentation to `stringNumberToEncointerBalanceU8a`

* [EncointerApi] fix parsing of Name in CidName (#1482)

* [EncointerApi] fix parsing of Name in CidNames

* fmt

* [CidName] parsing handle correctly utf8 encoded strings

* v1.10.7

* Bump flutter to v3.13.0 (#1462)

* bump flutter v3.13.0

* Fix linter warning

* bump dependencies and fix decrecated codes

* Tested on IOS and Android

* write todos

* [GHA] switch to MacOs 13 to fix impeller issue

* Revert "[GHA] switch to MacOs 13 to fix impeller issue"

This reverts commit 8362bebf52f919e7ef9d2697e389f35c5cb3e816.

---------

Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>

* [JS] yarn dedupe (#1487)

* [GHA] use macos-13 runner image and update IOS Simulators (#1488)

* [GHA/ios_integration_test] use macos-13 runner image

* [GHA/ios_integration_test] fix: use 16.4 runtime for ipad simulator creation

* [GHA] install colima

* [GHA/ios] add documentation about screenshot specification

* [GHA/ios] update simulators: switch to newest iPad simulator, create old IPhone 8 Plus simulator if it is no longer available.

* [GHA/ios] fix Iphone 14 Max simulator name

* [scripts/ios] use first device that matches device ID

* [scripts/ios] downgrade IOS to from 17.0 to 16.4 because the simulator startup fails otherwise.

* [scripts/ios] Remove IOS runtime version from specifications as 16.4 is not always available

* [scripts/ios] Be flexible with the runtime during simulator creation

* bump node in CI and install scripts to 18.14.2 (#1490)

* [JS] Bump webpack and optimize webpack dependencies (#1491)

* [JS] bump webpack

* [JS] yarn dedupe

* [JS] remove unused thread loader

* [JS] major bump webpack-cli, remove unused webpack-cli/init, remove webpack-cli/info, which is not intended for installation

* [BalancesInfo] properly handle absent `frozenFee` in fromJson (#1492)

* Support LoCoFlex (#1481)

* [models] add `announcementSigner` and `rules` to `CommunityMetadata`

* [JS] add new `CommunityMetadata` types

* [models] `CommunityRules` uppercase enum variants.

* [models/community_metadata] add booleans for the `CommunityRules` enum variants

* [ceremonyBox] Omit hours in ceremony data label if the community is locoLight

* [ceremonyBox] Consider community rules in countdown display

* [ceremonyBox] fmt

* [models] fix metadata deserialization tests

* [JS] update `CommunityRules`: `LoCoLight` -> `LoCoFlex`

* [dart] update `CommunityRules`: `LocoLight` -> `LoCoFlex`

* [MeetupLocationPage] pass complete meetup information to constructor

* [MeetupLocationPage] display different message if the community is LoCoFlex

* [EncointerMap] change default size

* [CeremonyBox] fix changes that should not have been committed.

* [MeetupLocationView] change param name: width/height -> maxWidth/maxHeight

* [EncointerMap] fix choosing community text

* [JS] update @encointer and remove obsolete type definitions

* [i10n] consistent terminology for french

* [models/community_metadata] better doc-comment

* [community_store_test] fmt

* [i10n] chang translation: meetupLocation -> Gathering Point

* [meetup_location_view] add gathering index to app bar title

* [meetup_location_view] fmt

* Add faucet feature (developer mode only) (#1446)

* [JS] Add JS code for getting all faucets and add integration tests with Gesell.

* [JS] add reputation commitment check

* [profile/account_manage_page] replace expanded widget with spacer

* Revert "[profile/account_manage_page] replace expanded widget with spacer"

This reverts commit adc0d20c83fdba8994e76cc3e3a58ec5ee780190.

* [profile/account_manage_page] remove unnecessary `SingleChildScrollView`

* [profile/account_manage_page] remove unnecessary `Column`

* [profile/account_manage_page] re-introduce expanded because it is needed with many items

* [profile/account_manage_page] add draft of Kusama Faucet list tile

* [profile/account_manage_page] add Kusama Icon

* [profile/account_manage_page] minor cleanup

* [profile/account_manage_page] minor cleanup 2

* [models] add faucet model and unit test for parsing

* [GHA] upload js binary at the end of the workflow

* [GHA] fix js-binary path

* [GHA] upload js binary asap

* [models/faucet] fix comment

* [JS] export faucet methods

* [GHA] upload js in JS-ci for faster upload times

* [models/faucet] make whitelist nullable

* [models/faucet] Decode hex into utf8

* [utils/format] simplify hexToBytes

* [profile/account_manage_page] successfully get all faucets

* [utils/format] fix hexToBytes

* [utils/format] extract `FaucetListTile` and display all faucets from the network

* [profile/account_manage_page] check if the current account can drip a faucet.

* [profile/account_manage_page] add methods for dripping the faucet (untested)

* [assets] remove obsolete field `bonded` of balances info

* [profile/assets] `getNativeBalance`

* [tx] fix: add correct notification body to faucet drip tx

* [GHA] minor cleanup

* fix translation mixup

* fmt

* change whitelist logic: if whitelist is Null this means all cid's are allowed to drip

* [AccountManagePage] simplify `CommunityIcon`

* [AccountManagePage] show reputation and native balance of managed account instead of current account

* [AccountManagePage] show message that only the currently active account can use the faucet services

* [JS] log more info about reputation commitment

* [GHA/android_integration_tests] bump setup-android to v3

* [GHA/android_integration_tests] try using api level 30 now.

* Revert "[GHA/android_integration_tests] bump setup-android to v3"

This reverts commit 2eed8b3cf4eeb094d5a870f039911ea9bf8c672b.

* Revert "[GHA/android_integration_tests] try using api level 30 now."

This reverts commit 103fa0318294eaf6c77e07d478f880b5ab10307a.

* [account_manage_page] extract `FaucetListTile` to separate file

* [JS/faucet] use JSON.stringify to print log cid

* [JS] fix `hasCommittedFor` function

* [JS] skip has `hasCommittedFor` positive test as it needs a setup

* [faucet] drip one claim at a time

* [faucet] only show benefits with dev-options

* fmt

* [JS] fix doc typos

---------

Co-authored-by: Alain Brenzikofer <alain@integritee.network>

* [JS] remove unused inquirer dev-dep (#1498)

* Bump JS dependencies (#1502)

* [JS] minor bump all dependencies

* [JS] major bump eslint-plugin-jest and prettier

* [JS] major bump regenerator-runtime

* [JS] resolve tslib to 2.6.2

* Fix some community-specific handling for non Leu/Gbd communities (#1501)

* Fix displaying community specific announcements for non Leu/GBD communities

* fmt

* [transaction_history] fix community name of issuance for non GBD/LEU communities

* [transaction_card] fix unused import

* [AnnouncementsStore] fix infinite recursion upon 404 error when getting community announcements

* [AnnouncementsStore] fix potential infinite recursion in global announcements if the feed is down

* [AnnouncementStore] remove unnecessary async

* [AnnouncementView] fetch new announcements when the cid changes (#1505)

* [AnnouncementView] fetch new announcements when the cid changes

* [AnnouncementView] fix warning about usage of context of unmounted widget

* v1.11.0

---------

Co-authored-by: Zhanara <91150590+SourbaevaJanaraJ@users.noreply.github.com>
Co-authored-by: Eldiiar Almazbek <76556278+Eldar2021@users.noreply.github.com>
Co-authored-by: AZ Ackmatoff <ackmatoff@gmail.com>
Co-authored-by: Eldar2021 <eldiiaralmazbekov@gmail.com>
Co-authored-by: Janara Sourbayeva <janara2610@gmail.com>
Co-authored-by: pifragile <pigu@bluewin.ch>
Co-authored-by: Alain Brenzikofer <alain@integritee.network>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A1-bugfix PR fixes a bug B1-medium Elevates a release containing this PR to "medium priority" C0-breaksnothing PR does not introduce any breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v1.10.1-beta complains about an announcement error whenever I go to the home page
3 participants