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

[FEATURE] Implement "Muted" and "Unread" notifications #177

Open
dobromirdobrev opened this issue Oct 24, 2022 · 0 comments · Fixed by #182
Open

[FEATURE] Implement "Muted" and "Unread" notifications #177

dobromirdobrev opened this issue Oct 24, 2022 · 0 comments · Fixed by #182
Assignees

Comments

@dobromirdobrev
Copy link
Contributor

This is related to rokwire/illinois-app#2472 .

@dobromirdobrev dobromirdobrev self-assigned this Oct 24, 2022
dobromirdobrev added a commit that referenced this issue Oct 24, 2022
…setting message as read and retrieving the count of the unread messages [#177]
dobromirdobrev added a commit that referenced this issue Oct 26, 2022
mihail-varbanov pushed a commit that referenced this issue Oct 26, 2022
* develop:
  Update CHANGELOG.md [#177]
  Load and cache unread inbox messages [#177]
  InboxMessage does not implement Favorite interface [#177]
  Acknowledge "muted" and "unread" json fields. Introduce new APIs for setting message as read and retrieving the count of the unread messages [#177]
yoonlees pushed a commit that referenced this issue Dec 22, 2022
* more survey model cleanup [#161]

* refactor RuleSet to RuleEngine, more survey, rules cleanup [#161]

* rules, surveys model cleanup [#161]

* update survey question type models [#161]

* Update firebase_messaging plugin to the latest version. It handles the latest updates regarding notifications permissions in Android 13 [rokwire/illinois-app/2446]

* Update CHANGELOG.md [rokwire/illinois-app/#2446]

* fix model errors, refactor quiz -> survey [#161]

* more quiz -> survey refactoring, some ui build error cleanup [#161]

* finish cleaning up build errors [#161]

* add any and all comparison operators [#161]

* Added Questionnaire Answers section in Auth2UserProfile [#174],

* Updated CHANGELOG.md [#174].

* Added clearAllQuestionnaireAnswers to Auth2UserPrefs [#174].

* bug fixes, start adding more rule actions, default key fields to surveys [#161]

* bug fixes, add title field to survey, do not get surevy data keys from json [#161]

* Acknowledge "muted" and "unread" json fields. Introduce new APIs for setting message as read and retrieving the count of the unread messages [#177]

* InboxMessage does not implement Favorite interface [#177]

* bug fixes, implement new actions, add load survey function to polls service [#161]

* Defined ResearchProjectsContentType enumeration [#178].

* Added loadResearchProjects API in Groups, dummy implementation for now [#178].

* bug fixes, ui updates

* add survey_panel

* Load and cache unread inbox messages [#177]

* Update CHANGELOG.md [#177]

* Store research questionnaire answers in account profile [#181].

* revert flex_ui testing change

* bug fixes, refactor SurveyWidgets -> SurveyWidget [#161]

* fix buttonAction onTap bug

* Added optional language parameter to Localization.getStringEx [#178].

* Added filter parameters to Groups.loadResearchProjects [#178].

* add moreInfo, resultRules to Survey, uncomment survey_panel [#161]

* bug fixes, implement alert action, refactor survey and rule models [#161]

* Cleaned up group model.

* Added MapUtils.from helper [#178].

* Added research fields to group model [#178].

* Groups.loadResearchProjects prepared for upcoming backend update [#178].

* save progress on screener history (untested)

* fix survey response history widgets

* cleanup, bug fixes

* add result data to survey json

* fix merge issues, improve styling

* reorganize survey widget functions, pop survey panels before showing alerts [#161]

* bug fixes

* fix result data, clean up styles,

* fix alert handling, restructure functionality

* display survey response summary

* symptom screener flexUI

* add scroll pager, use scroll pager for survey response history

* add checkbox/toggle true false survey data

* update changelog

* restructure multiple choice scoring

* handle scroll pager state change, fix scroll pager widget

* Fixed various warnings [#161].

* Introduce ModalImageHolder and update ModalImagePanel

* remove debug Toast messages

* Acknowledge new update of `GET api/v2/groups [#178].

* Updated Groups search API [#178].

* bug fixes

* remove unnecessary comments

* create local notifications service [#179]

* implement pending notifications list [#179]

* refactor actions to be able to perform them on notification [#179]

* Fixed ID initialization of Member.fromJson [#178].

* Fixed search groups URL [#178].

* Updated CHANGELOG.md [#178].

* use hashcode for local notification ids, remove panel and service imports from utils [#179]

* finish implementing relative schedule type for local_notify action [#179]

* Log OIDC login response to debug console.

* Do not try to load unread messages count if not logged in.

* Do not try to load research projects if not logged in.

* Added Autj2Account.isResearchGroupAdmin [rokwire/illinois-app#2499].

* ModalImageHolder: add ability to open custom image when child can't be Image

* bug fixes

* check if notification launched app for background, fix canContinue and evaluate bugs [#179]

* fix rounded button InkWell shape

* update changelog

* add polls survey-alerts API call, start defining SurveyAlert model [#188]

* LocalNotifications.initService fail is not fatal exception [#179].

* LocalNotifications .initService does not depend on other services [#179].

* Do not request any permissions when initializing FlutterLocalNotificationsPlugin for iOS, they are requested separately in onboarding [#179].

* Added more available filters to Groups.loadGroups API [#178].

* float continue button below surveys, fix survey padding, login prompt

* bug fixes

* fix time format,

* do string interpolation on fields inside maps and lists [#188]

* remove unnecessary comments, update changelog

* remove exceptions for load survey

* Removed LocationUtils class, use Geolocation for calculating location distance [rokwire/illinois-app#2516].

* add getProperty method to Auth2 service, fix survey scoring [#188]

* use payload to set survey responses on local notification app launch [#188]

* Acknowledged mtdColor in Styles [rokwire/illinois-app#2516].

* add question count to survey continue button

* fix local notification payload data resolve [#188]

* fix notify action timestamps

* Added CollectionUtils.length helper [rokwire/illinois-app#2526]

* Group.researchGroup field renamed to researchProject [#178].

* Acknowledge group member's notifications preferences. Update group member  [#198]

* Update CHANGELOG.md [#198]

* add tab bar to survey panel

* Hook Notifications BB message model changes[#2530]

* reorganize rule dependencies for service property getters

* Added researchConfirmation flag to Groups [#202].

* Fixed unused import warning [#188].

* Fixed exceptions handling in AppBundle methods.

* researchDescription renamed to researchConsentDetails [#204].

* Research confirmation flag updated to research consent statement string [#204].

* Updated CHANGELOG.md [#204].

* add header to SectionSlantHeader, add gradientColorPrimary, update default survey onComplete [#206]

* start adding custom radio button widget [#206]

* Filter open resource projects not to include projects where the current user is member, disable paging until this gets resolved on the backend [rokwire/illinois-app#2540].

* Omit null title/value in VerticalTitleValueSection [rokwire/illinois-app#2542].

* finish implementing custom radio button [#206]

* add percentage calculation to stats, improve horizontal multiple choice widget [#206]

* - Added API for loading target audience count in Groups service [#2544].

* Acknowledged 'exclude_my_groups' parameter for loading open research projects [rokwire/illinois-app#2540].

* fix radio button ink response, disable continue button during save request to avoid duplicates [#206]

* update changelog

* Removed UserRole.resident [#2547]

* Notifications: implement "Mark all as read" [#2570]

* modify set_result action to add to resultData map [#206]

* allow override of children alignment in SectionSlantHeader [#206]

* Added ListUtils.reversed and SetUtils.toggle helpers [#204].

* add storage save assessment results map [#206]

* Fixed unused warning [#206].

* Fixed SectionSlantHeader [#206].

* Store user's choice on if the appointments should be displayed [# rokwire/illinois-app/2606]

* Set "appointmentsCanDisplay" setting to be "true" by default. Make the storage key public.

* return SurveyResponse on save action [#210]

* Add additional group settings [#2619]

* support text style font family refs

* update changelog

* use text style from JSON

* update changelog

* revert default survey onComplete behavior [#210]

* fix SectionSlantHeader, add survey question divider lines [#211]

* fix SectionSlantHeader bugs

* add showPanel button action, remove question divider lines [#211]

* update changelog

* fix survey issues

* SectionSlantHeader cosmetic updates, make source code more readable [#211].

* make GroupSettings fields not final

* Added Explore.exploreLocationDescription interface [rokwire/illinois-app#2633].

* check mounted when calling setState on SurveyWidget [#219]

* ExploreLocation.fromJSON renamed to fromJson, added misc helpers to ExploreLocation [#220].

* Updated CHANGELOG.md [#220].

* add offlineWidget to survey panel and survey widget [#219]

* Fixed crash in header bar widget [rokwire/illinois-app/#2654]

* Do not pass image url to ModelImageHolder - show already build image widget [#223]

* Update CHANGELOG.md [#223]

* fix privacy level saving, fix privacy styles

* update changelog

* get unsatisfied rules for entry in flex ui

* update changelog

* Remove "appointmentsCanDisplay" from plugin storage - store it in the app.

* Make make_image_holder to work with local file urls

* Fix missing close button from ModalImagePanel[#227]

* introduce Surveys BB

* flex_ui bug fixes, add bodyWidget to ActionsMessage [#229]

* Make Surveys class standalone, not a subclass of Service as it does not use Service interfaces [#230].

* acknowledge group.member.netId

* check required privacy level for sign in when missing privacy rule [#229]

* update changelog

* group: remove default values creation from model (Move it to the ext)

* Fixed Groups.notifyGroupCreated notification param [rokwire/illinois-app#2683].

* add default rules to flex_ui [#229]

* Removed 'rules" parameter from buildContent API; do not cache default rules [#229].

* Acknowledge the new fields "mute" and "read" for InboxMessage [rokwire/illinois-app/2778]

* Hide "Vote" button after user selectes all options in a poll [rokwire/illinois-app/2776]

* fix accessibility issues on surveys

* Removed _changedSemanticsValue getter, use the designated one for this: _semanticsValue [#234].

* Undo removal of _changedSemanticsValue getter [#234].

* Fix the check if a user can vote in a poll.

* Fire local notification when message is read [rokwire/illinois-app/#2833]

* Read messages count from a proper json field [rokwire/illinois-app/#2833]

* Updated CHANGELOG.md

Co-authored-by: Ryan Oberlander <[email protected]>
Co-authored-by: Dobromir Dobrev <[email protected]>
Co-authored-by: Mihail Varbanov <[email protected]>
Co-authored-by: Stephen Hurwit <[email protected]>
Co-authored-by: Todor Bachvarov <[email protected]>
Co-authored-by: Stephen Hurwit <[email protected]>
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 a pull request may close this issue.

1 participant