Commit 9dde7d7
authored
Merge pull request: feat(localization): global exception handling restructuring and localization support
- Standardized exceptions across Auth, LocalDatabase, Platform, and RestClient layers.
- Implemented dynamic localization for all error codes and notification channels.
- Refactored directory structures and updated imports across multiple feature packages.
- Updated unit and integration tests to verify localized error string keys.285 files changed
Lines changed: 10917 additions & 6002 deletions
File tree
- .github/workflows
- android
- assets/lang
- coverage
- docs/design/database/E-R Model
- lib/src
- core
- adapters
- data_sources/remote_books_data_source
- database
- errors
- auth_exception
- book_exception
- local_database_exception
- platform_exception
- rest_client_exception
- storage_exception
- helpers
- error_code
- auth_error_code
- local_database_error_code
- platform_error_code
- rest_client_error_code
- storage_error_code
- notification_channel
- models
- repositories
- auth_repository
- author_repository
- book_authors_repository
- book_categories_repository
- book_on_case_repository
- bookcase_repository
- books_repository
- category_repository
- loan_repository
- reading_repository
- remote_books_repository
- user_hour_time_repository
- user_page_reading_time_repository
- user_theme_repository
- rest_client
- services
- app_services
- app_version_service
- contacts_service
- launcher_service
- notifications_service
- play_alarm_sound_service
- show_dialog_service
- time_picker_dialog_service.dart
- auth_service
- auth_strategy
- book_service
- bookcase_service
- storage_services
- storage
- utils
- input_formatter
- verifier
- features
- about
- bloc
- views
- auth
- bloc
- views
- book_detail
- bloc
- views
- widgets
- book_description
- book_pages_reading_time
- bloc
- widgets
- book_on_bookcase_detail
- bloc
- views
- widgets
- bookcase_books_insertion
- bloc
- views
- widgets
- bookcase_detail
- bloc
- views
- widgets
- bookcase_description_widget
- bookcase_detail_loaded_state_widget
- bookcase_insertion
- bloc
- views
- bookcase_tab_view/views/pages
- bookcase
- bloc
- views
- widgets/bookcase_loaded_state_widget
- books_picker/views
- widgets
- book_on_bookcase_picker
- bloc
- views
- book_selector_widget
- bookcase_picker
- bloc
- views
- widgets/bookcase_picker_loaded_state_widget
- separate_books_picker
- bloc
- views
- contacts_picker
- bloc
- views
- widgets
- home
- views
- widgets
- animated_search_bar
- book_loaded_state_widget
- loan_detail
- bloc
- views
- widgets
- loan_insertion
- bloc
- views
- widgets
- loan
- bloc
- views
- widgets
- loan_loaded_state_widget
- loan_widget
- my_books
- bloc
- views
- notifications
- bloc
- views
- widgets
- on_boarding
- pages
- views
- profile
- bloc
- views
- widgets/user_information_row
- bloc
- programming_reading
- bloc
- views
- widgets
- reading_page_time_calculator/views
- reading_page_timer
- bloc
- views
- widgets
- readings_detail
- bloc
- views
- readings_insertion
- bloc
- views
- readings_timer
- bloc
- views
- readings
- bloc
- views
- widgets
- root/views
- settings/views/widgets
- time_picker/views
- widgets
- test/src
- core
- data_sources/remote_book_data_source
- database
- helpers/locale_decimal_format
- models
- repositories
- auth_repository
- author_repository
- book_authors_repository
- book_categories_repository
- book_on_case_repository
- bookcase_repository
- books_repository
- category_repository
- loan_repository
- reading_repository
- remote_books_repository
- user_hour_time_repository
- user_page_reading_time_repository
- user_theme_repository
- services
- auth_service
- book_service
- bookcase_service
- loan_services
- reading_services
- features
- about/bloc
- auth/bloc
- book_detail
- bloc
- views
- widgets/book_pages_reading_time/bloc
- book_on_bookcase_detail/bloc
- bookcase_books_insertion/bloc
- bookcase_detail/bloc
- bookcase_insertion
- bloc
- views
- bookcase
- bloc
- views
- books_picker/views/widgets
- book_on_bookcase_picker/bloc
- bookcase_picker/bloc
- separate_books_picker/bloc
- contacts_picker/bloc
- home/views
- loan_detail/bloc
- loan_insertion/bloc
- loan/bloc
- my_books/bloc
- notifications/bloc
- profile
- bloc
- views/widgets/user_information_row/bloc
- programming_reading/bloc
- qr_code_scanner/views
- reading_page_timer/bloc
- readings_detail/bloc
- readings_insertion/bloc
- readings_timer/bloc
- readings/bloc
- mocks/json
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | | - | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| 160 | + | |
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| |||
178 | 183 | | |
179 | 184 | | |
180 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
181 | 189 | | |
182 | 190 | | |
183 | 191 | | |
| |||
243 | 251 | | |
244 | 252 | | |
245 | 253 | | |
246 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
247 | 284 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | | - | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | | - | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| 160 | + | |
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| |||
178 | 183 | | |
179 | 184 | | |
180 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
181 | 189 | | |
182 | 190 | | |
183 | 191 | | |
| |||
243 | 251 | | |
244 | 252 | | |
245 | 253 | | |
246 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
247 | 284 | | |
0 commit comments