sghi_core 0.3.133 sghi_core: ^0.3.133 copied to clipboard
A set of reusable components used in myCareHub and myCareHub Professional
CHANGELOG #
0.3.133 #
-
chore(content): restore author to content model
- restore authorName to content model
- bump version to 0.3.133
0.3.132 #
-
chore: optimize data classes
- move afya_moja_core classes to the general library structure
0.3.131 #
-
refactor(state-management): add default values to freezed classes
- Added @Default annotations for constant values in freezed classes.
- Optimized initial factory methods to ensure consistency and readability.
- Ensured non-nullable fields are initialized with appropriate default values.
0.3.130 #
-
refactor(data models): improve data models and migrate them appropriately
- refactor all data models to provide appropriate default values
- migrate all communities models into an entities folder
0.3.129 #
-
feat: unify communities data models
- rename similar named classes e.g user to m_user for uniqueness
0.3.128 #
-
feat: restore SimpleCall and name it MediaClient
- restore SimpleCall class implementation
- rename it to MediaClient
- remove all other unused methods
-
feat: remove unused queries and query utils
-
feat: retire auth server API client
-
refactor: move all utils to helpers in afya_moja_core
-
refactor: remove unused event bus and event bus helper
- remove event bus helper
- update mocks and test utils
-
feat: refactor GraphQL Client
- remove simplecall implementation
- add request headers based on the type of the client being used
- update tests and mocks to match new implementation
0.3.127 #
- feat: add supported localization
0.3.126 #
- chore: add necessary user fields
0.3.125 #
- chore: carousel slider
0.3.124 #
- upgrade: refactor user model
0.3.123 #
- chore: refactor content details close icon
0.3.122 #
- chore: upgrade packages
0.3.121 #
- feat: add terms and privacy policy endpoints
0.3.120 #
- chore: update contact model
0.3.119 #
- feat: add set pin endpoint
0.3.118 #
- chore: make base context nullable
0.3.117 #
- feat: add date picker validator param
0.3.116 #
- refactor: update relationship enum
0.3.115 #
- chore: refactor relationship enum
0.3.114 #
- chore: set custom headers in the custom graphql client
0.3.113 #
- chore: set initialValue on phoneInput
0.3.112 #
- chore: add query headers
0.3.111 #
- feat: add custom endpoint parameter to graphQL query client
0.3.110 #
- feat: add custom headers to graphql client
0.3.109 #
- chore: refactor relationshipToJson
0.3.108 #
- feat: add custom outlined button
0.3.107 #
- feat: relationship helpers
0.3.106 #
- feat: add relationship types
0.3.105 #
- feat: notifications shimmers
0.3.104 #
- chore: refactor app colors
0.3.103 #
- chore: remove dummy data
0.3.102 #
- chore: migrate room list shimmer
- renamed custom buttons
0.3.101 #
- feat: add autofill hints to custom text fields
0.3.100 #
- feat: add custom shimmer widget
0.3.99 #
- feat: add app variant & app environment extension
0.3.98 #
- chore: add Uzazi Salama variant
0.3.97 #
- chore: remove unknowns
0.3.96 #
- chore: merge duplicate files
0.3.95 #
- feat: add Health ID to user profile model
0.3.94 #
- feat: add FAQs item
0.3.93 #
- chore: merge themes, spaces, enums
0.3.92 #
- refactor: refactor genders to Male, Female, Other and Prefer Not to Say
0.3.91 #
- feat: add a text theme for consistency:
- Contains standard font sizes
- Contains standard font weight
- Contains a default text theme
0.3.90 #
- chore: remove unused dependencies and migrate dev dependencies
0.3.89 #
- feat: add lowercase text formatter
0.3.88 #
- feat: introduce a custom navigator observer
0.3.87 #
- refactor: widget keys and strings
0.3.86 #
- chore: fix services widgets
0.3.85 #
- chore: fix custom chips
0.3.84 #
- chore: cache network images
0.3.83 #
- refactor: removal of feed for old Be.Well app
0.3.82 #
- feat: add gender identities
0.3.81 #
- feat: add email validator helper
0.3.80 #
- chore: upgrade all dependencies
0.3.79 #
- chore: bump up camera version
0.3.78 #
- refactor: media queries
0.3.77 #
- chore: center create pin page description
0.3.76 #
- chore: refactor search facility item tappable
0.3.75 #
- feat: improve the
AppConfig
:- add
operator ==
andhashCode
methods - add comments
- add
AppConfig
Tests - rename the
app_context_test.dart
toapp_config_test.dart
- add
0.3.74 #
- chore: rename app contexts and improve comments
0.3.73 #
- refactor: app context reconstruction
0.3.72 #
- chore: add option for text alignment on onboarding header
0.3.71 #
- chore: upgrade CI flutter version to 3.19.3
0.3.70 #
- chore: bump up redux version
0.3.69 #
- feat: improve CI/CD setup
0.3.68 #
- fix: fix checkbox component
0.3.67 #
- chore: upgrade to Flutter 3.19.2
0.3.66 #
- feat: add autofill hints
0.3.65 #
- feat: add Empower app context
0.3.64 #
- feat: add MyCareHubSIL app context
0.3.63 #
- feat: add callRESTAPIWithQueryParams method
0.3.62 #
- feat: add getSentryEnvironment method
0.3.61 #
- feat: add content endpoint
0.3.60 #
- fix: media server url
0.3.59 #
- feat: map day of week
0.3.58 #
- chore: refactor facility identifier
0.3.57 #
- chore: add mycarehub app contexts
0.3.56 #
- chore: refactor time picker
0.3.55 #
- chore: add pinTextStyle to PinCodeTextField
0.3.54 #
- chore: improve PINInputField shadow
0.3.53 #
- refactor: time picker styling
0.3.52 #
- fix: PINInputField border width
0.3.51 #
- refactor: time picker widget
0.3.50 #
- refactor: add more configuration properties to PINInputField
0.3.49 #
- chore: add callback to custom chip
0.3.48 #
- chore: refactor facility item widget
0.3.47 #
- chore: remove filter bottom sheet
0.3.46 #
- fix: facility item
0.3.45 #
- feat: add nearby facility services
0.3.44 #
- refactor: business hours payload
0.3.43 #
- refactor: SearchFacilityItem spacing
0.3.42 #
- refactor: ignore toJson for BusinessHour and FacilityService
0.3.41 #
- refactor: service identifier to list of service identifiers
0.3.40 #
- refactor: refactor facility identifier enum
0.3.39 #
- chore: add services and business hours to facility payload
0.3.38 #
- chore: remove facility identifier from facility payload
0.3.37 #
- chore: remove services from facility items
0.3.36 #
- feat: add callback for facility filters
0.3.35 #
- refactor: refactor facility data class
0.3.34 #
- fix: incorrect country code mapping
0.3.33 #
- refactor: custom chip items
0.3.32 #
- chore: add onPressedCallbacks
0.3.31 #
- chore: update terms and conditions default URL
0.3.30 #
- refactor: search facility item
0.3.29 #
- refactor: custom chip
0.3.28 #
- refactor: filter bottom sheet
0.3.27 #
- feat: add facility filter bottom sheet
0.3.26 #
- feat: add search facility items
0.3.25 #
- feat: add custom graphQL client
0.3.24 #
- chore: refactor appwrapper
0.3.23 #
- chore: refactor chatAPI
0.3.22 #
- feat: add generic zero state widget
0.3.21 #
- feat: add bodyFields to authServer client
0.3.20 #
- chore: improve pdf viewer UI
0.3.19 #
- fix: typo in program on ClientProfile
0.3.18 #
- chore: add program to client profile
0.3.17 #
- chore: add pdf view page
0.3.16 #
- feat: validate form on user interaction
0.3.15 #
- feat: include Accept type when making REST API calls
0.3.14 #
- chore: upgrade flutter version to 3.13.1
0.3.13 #
- feat: add authServer API client
0.3.12 #
- chore: improve code documentation
0.3.11 #
- chore: upgrade packages
0.3.10 #
- chore: improve pub score
0.3.9 #
- chore: fix onboarding scaffold
0.3.8 #
- chore: fix user data class
0.3.7 #
- chore: fix notification filter enum
0.3.6 #
- fix: restore flagged messages endpoint
0.3.5 #
- fix: remove password when updating admin status
- remove platform declarations in pubspec
- remove password fields when promoting to moderator
0.3.4 #
- chore: add documentation
- add documentation for communities API
- Add supported platforms
0.3.3 #
- chore: setup upgrade deployment
0.3.2 #
- chore: fix deployment with correct credentials path
0.3.1 #
- chore: fix deployment with new credentials path
0.3.0 #
-
chore: upgrade to FLutter 3.10.6
- Add new docker image for new Flutter version
- Remove stream_chat_flutter implementation
- Simplify PIN validator
- Add other upgrade specific changes
Breaking change:
- You will need to pass a
ChewieVideoPlayer
instance when implementing theContentDetailWidget
0.2.53 #
- chore: remove content items share button
0.2.52 #
- feat: sort rooms by recent activity
0.2.51 #
- feat: fix feed rendering
- refactor code for simplicity
- refactor access of list items to cater for nullables
- extract shared widgets
0.2.50 #
- chore: update ClientType enum
0.2.49 #
- fix: ios date picker
0.2.48 #
- chore: add appbar to onboarding scaffold
0.2.47 #
- fix: client types
0.2.46 #
- chore: harmonize user and ClientProfile data classes
0.2.45 #
- feat: fix remove from group membership update
0.2.44 #
-
feat: communities improvements
- sort events before processing them
- apply redactions before combining room events
- add redaction logic to room messages
- add exhaustive tests for the processRoomUpdates function
breaking changes:
- organizeEventTimeline has changed to sortEvents
- The message object now has 'redacts' key
- The message content object now has 'redactedBecause'
- The processMembership API design has changed
0.2.43 #
- chore: change wrong login credentials message
0.2.42 #
- chore: change dismiss icon color
0.2.41 #
- chore: update matrix HomeServer URL
0.2.40 #
- chore: update ManagedClient data classes
0.2.39 #
- feat: add sync room
0.2.38 #
- feat: extract components
- extract badge widget
- extract room user data class
0.2.37 #
- feat: refactor communities implementation
- extract CHAT APIs methods
- create community_utils
- extract shared data classes like SyncResponse
0.2.36 #
- fix: change caregiver type enum
0.2.35 #
- fix: change caregiver type enum
0.2.34 #
-
fix: promote to moderator
Breaking changes:
- The fetchRoomPowerLevels API will return a RoomPowerLevel instead of a Map
0.2.33 #
- chore: update engagement endpoint
0.2.32 #
-
refactor: chat API
- change joinRoom API to return response
Breaking changes:
- The joinRoom API will return a Response instead of a Map
0.2.31 #
-
refactor: chat API
- add limit to search group members API
- add required params in sign in and return Response instead of Map
Breaking changes:
- The createRoom API will return a Response instead of a Map
- The signIn API now requires a username and a password and it will return a Response instead of a Map
0.2.30 #
- fix: message report endpoints
0.2.29 #
- feat: add message reports
- add new DELETE method type
- add new endpoints for viewing message reports
- add chat API documentation
0.2.28 #
- feat: update banned members endpoint
0.2.27 #
- feat: add moderation to communities
0.2.26 #
- chore: add the Identifier data class and IdentifierType enum
0.2.25 #
- feat: communities upgrades
- add image_picker, mime, and permission_handler to handle image uploads
- add send media image and promote to moderator to chat API
- update chat API endpoints
- add select photo from gallery
- remove unused properties from room object
- add media upload client to IGraphQLClient
0.2.24 #
- chore: add focusNode to MyAfyaHubPhoneInput
0.2.23 #
- chore: rename caregiverType enum content
0.2.22 #
- fix: fix feed nudge background icon issue
0.2.21 #
- fix: matrix sendMessage Method
0.2.20 #
- chore: add sign in send message actions' logic to ChatAPI
0.2.19 #
- fix: fix pub lint issues
0.2.18 #
- feat: add ChatAPI to communities
0.2.17 #
- feat: add chat states to communities
0.2.16 #
- feat: add communities data classes
0.2.15 #
- chore: update user data class
0.2.14 #
- chore: update feed item avatar
0.2.13 #
- chore: update user banner ui
0.2.12 #
- feat: add gender dynamic avatar
0.2.11 #
- chore: add minLines property to CustomTextField
0.2.10 #
- chore: update asset file path
0.2.9 #
- chore: update contact serialization
0.2.8 #
- chore: refactor ManagedClients data class
0.2.7 #
- chore: update UserData and Document data classes
0.2.6 #
- refactor: refactor data models
0.2.5 #
- feat: make collections modifiable
0.2.4 #
- chore: add listOrganisationsEndpoint to BaseContext
0.2.3 #
- fix: i_flutter_graphql_client variables
0.2.2 #
- chore: update code gen
0.2.1 #
- chore: add afya moja package
0.2.0 #
- chore: update packages and flutter version to 3.3.8
0.1.4 #
- chore: update packages to fix breaking changes
0.1.3 #
- fix: upgrade photo_view package for compatibility with mycarehub
0.1.2 #
- fix: downgrade flutter_html package to fix breaking change