Commit Graph

288 Commits

Author SHA1 Message Date
OkaykOrhmn 2d00d239be 22-02-1403 / Rhmn / changes: notification Fix & Mentions Create no.1 2024-05-11 17:41:44 +03:30
Amir Hossein Mousavi 562c006eb6 Update dependencies and code changes for version 3.1.4 2024-05-07 08:24:30 +03:30
Amir Hossein Mousavi 19126bab9b Remove didvan text and divider from MetalCard; add spacing in _NewStockState 2024-04-18 11:21:59 +03:30
MohammadTaha Basiri bbcea4c04d Change from `StateHandler<NewStatisticState>`'s `state` to use `context.watch<NewStatisticState>()` instead of `context.read<NewStatisticState>()` in `_NewStatisticState 2024-04-18 10:46:51 +03:30
mehrdad78 b0c215acd3 never mind! 2024-04-16 16:06:31 +03:30
MohammadTaha Basiri d69fa7b174 Change from watching NewStatisticState to reading NewStatisticState in _NewStatisticState 2024-04-16 10:40:29 +03:30
MohammadTaha Basiri 062556f2e4 Remove unnecessary imports and logs, Change ListView padding 2024-04-16 10:36:59 +03:30
MohammadTaha Basiri d5a929dfcc Remove unnecessary imports and logs 2024-04-16 10:32:37 +03:30
MohammadTaha Basiri dba3668c4c "Update SearchPage itemBuilder to load more results and fix Checkbox layout"
The SearchPage's itemBuilder has been updated to load more results as the user scrolls down. It now checks if the current index is a multiple of
2024-04-15 22:38:05 +03:30
MohammadTaha Basiri f749dbaf0e Update User model to allow null values in username, email, and phoneNumber; adjust EditProfile view accordingly
The User model has been updated to allow null values in the username, email, and phoneNumber fields. The corresponding constructor has been updated
2024-04-15 22:30:41 +03:30
Amir Hossein Mousavi bebdd280fd add mark button to card 2024-04-15 16:51:07 +03:30
Amir Hossein Mousavi 9ef214be69 fix some visual issues 2024-04-15 16:50:15 +03:30
MohammadTaha Basiri 4c46d7fabb Update NewStock and EditProfile classes:
- In NewStock, update the enableEmptyState property to check for additional empty states.
- In EditProfile, update the bottom property of Positioned widget to consider the keyboard height.
2024-04-15 00:44:43 +03:30
MohammadTaha Basiri f780a306bf Update dependencies and fix image cropping UI for iOS in edit profile view
* Upgrade packages to their latest versions
* Fix image cropping UI for iOS in edit profile view by providing localized titles and buttons
* Update `pubspec
2024-04-14 23:58:12 +03:30
Amir Hossein Mousavi 366f270a8e fix some isuues 2024-04-14 17:02:53 +03:30
Amir Hossein Mousavi dd04590128 fix some isuues 2024-04-14 00:56:18 +03:30
mehrdad78 dfe506bb01 some changes 2024-04-13 21:21:57 +03:30
Amir Hossein Mousavi d3252e931f fixing some issues 2024-04-13 01:32:17 +03:30
mehrdad78 e39a507954 80*80 image 2024-04-12 23:29:19 +03:30
mehrdad78 eadfa391fd some little changes 2024-04-12 23:28:15 +03:30
Amir Hossein Mousavi 4b5dfe5e38 update some icons and assets 2024-04-12 21:01:34 +03:30
Amir Hossein Mousavi 6fb3c070d6 pref: add const to tag list 2024-04-12 17:41:34 +03:30
Amir Hossein Mousavi 048e42600a feat: add new icons 2024-04-12 17:29:39 +03:30
Amir Hossein Mousavi 7f275c6b4e fix: change infography asset 2024-04-12 17:28:48 +03:30
mehrdad78 4b3d7fb160 add infography item to main page 2024-04-11 20:39:14 +03:30
MohammadTaha Basiri f12cf98fd9 Add enableBookmark parameter to MultitypeOverview and use it in Bookmarks and FilteredBookmarks
The diff adds an `enableBookmark` parameter to the `MultitypeOverview` widget and uses it in the `_BookmarksState` and `_FilteredBookmarksState` to conditionally render the `BookmarkButton`. This allows for more flexibility in rendering the overview widget.
2024-04-01 20:11:01 +03:30
MohammadTaha Basiri 213e000aee Update to message box and logo app bar
- In message\_box.dart, added a reset to the form key after sending a message.
- In logo\_app\_bar.dart, added a .then() to the Navigator.pushNamed() to call the init() method after navigating to the direct list.
2024-04-01 20:05:53 +03:30
MohammadTaha Basiri 0b9e57e654 Update then statement in StatMainCard's onPressed callback
The onPressed callback of StatMainCard's RaisedButton now has a then statement with a more explicit syntax. The getStatistic method of the state object is still being called after the user taps the button.
2024-04-01 19:52:44 +03:30
MohammadTaha Basiri 5ff143add0 Update NewStatistic and StatMainCard to use new Statistic model and add marking functionality
- Refactored NewStatistic to use the new Statistic model.
- Updated StatMainCard to accept the new Statistic model and added marking functionality using UserProvider.
- Added .then() to onTap function in StatMainCard to update the state after marking a statistic.
- Added .then() to onChanged function in StatMainCard to update the state after marking a statistic.
- Added .then() to onTap function in StatHeader to update the state after marking a statistic.
- Added .then() to onChanged function in StatHeader to update the state after marking a statistic.
2024-04-01 19:51:19 +03:30
MohammadTaha Basiri 7ecf074bb8 Update new statistic and stats general state; clear old content before adding new
In `new_statistic.dart`, updated the onTap function for a GestureDetector to clear old content before adding new content to the list.

In `new_statistics_state.dart`, added a line to clear the contents list before adding new content to it.

In `stat_cats_general_state.dart`, added a few lines to clear the contents list before adding new content to it.
2024-04-01 19:34:59 +03:30
MohammadTaha Basiri 6740479395 Update new statistic view with theme change listener and new statistic categories
- Add listener for theme change in NewStatisticState
- Move statistic categories to NewStatisticState and update StatMenuItemType to use Assets.dart
- Update NewStatisticCategories to use statCat from NewStatisticState
- Add refresh method in NewStatisticState to update statCat list
- Call refresh method in initState of _NewStatisticState to update statCat list on theme change
2024-04-01 19:20:16 +03:30
MohammadTaha Basiri 39ef54e52d Infography content model property 'marked' changed to be mutable, and related UI updates
* In `infography_content.dart`, the `marked` property of `Content` is changed from `final` to a mutable `bool`.
* In `infography_screen.dart`, the `onMarkChanged` callback in `InfographyItem` is updated to accept an additional `bool shouldUpdate` parameter, and the callback is called with the new signature in `InfographyScreenState`.
* In `infography_item.dart`, the `onMarkChanged` callback in `InfographyTag` is updated to accept an additional `bool shouldUpdate` parameter.
* In `infography_tag.dart`, the `onPressed` callback in `InfographyTag` is updated to pass the `onMarkChanged` callback with the new signature to the `HashtagScreen`.
2024-04-01 19:01:46 +03:30
MohammadTaha Basiri 574151f0d8 "Change method for marking infographies in UserProvider from changeStatisticMark to changeItemMark"
This commit updates the method used in UserProvider for marking infographies from changeStatisticMark to changeItemMark.
2024-04-01 18:47:25 +03:30
MohammadTaha Basiri 8c4d2bdaee Change compileSdkVersion to 34 in android/app/build.gradle
Update infography\_item.dart by removing import statement for infography\_content.dart

These changes were made to the files android/app/build.gradle and lib/views/home/main/widgets/infography\_item.dart.
2024-04-01 18:41:36 +03:30
mehrdad78 5f9cb5db3f Navigation from infography to Hashtag 2024-04-01 18:39:34 +03:30
MohammadTaha Basiri 08c6d514f8 Update MultitypeOverview to return early for infographies
The changes include adding a return statement for infographies in the onTap callback of the DidvanCard widget in the MultitypeOverview class. This will prevent the code from executing further when the item type is infography.
2024-04-01 17:15:14 +03:30
MohammadTaha Basiri 3aa39c82cd "Adjusted heights and widths of various widgets in radar and categories grid"
This commit adjusts the heights and widths of various widgets in the `Radar` and `CategoriesGrid` components. Specifically, it changes the height of the `SizedBox` in `Radar` from 320 to 300, the top padding of `CategoriesRow1` from 212 to 192, and the width of each `CategoryItem` in `CategoryItem` from `ds.width / 3` to `(ds.width - 40) / 4`. Additionally, it updates the font weight of the label in `CategoryItem`.
2024-04-01 17:09:22 +03:30
MohammadTaha Basiri ecc549e124 Update general item widget to use Dart's built-in date time formatting
The changes include:

* Remove the dependency on `date_time` package
* Update the code to use Dart's built-in `DateTime` class for formatting dates
* Update the code to use `toPersianDateStr` extension method for formatting dates as persian
* The changes are only in the `_MainPageGeneralItemState` class and specifically in the `getSubtitle` method.
2024-04-01 16:55:06 +03:30
MohammadTaha Basiri 42e199e672 Add 'Infographics' option to bookmarks menu and divider
This diff adds a new option for 'Infographics' in the bookmarks menu, along with a divider to separate it from the other options. The option is assigned the category ID of 7.
2024-04-01 16:46:35 +03:30
MohammadTaha Basiri 0173a5240c "Add infography type and bookmark button in MultitypeOverview"
This commit adds a new type 'infography' in the OverviewData class and assigns it an integer value of 7. It also includes a bookmark button in the MultitypeOverview widget for the new type and all other types. The bookmark button is imported from the bookmark\_button.dart file. The commit also moves the caption section to a separate row and adjusts the flex properties of the containers.
2024-04-01 16:43:57 +03:30
MohammadTaha Basiri e606555234 Update username input screen and edit profile screen with new text
The username input screen now includes a new text explaining the requirements for a username. The text is displayed below the username input field.

The edit profile screen has also been updated to include the same text below the username input field. The text is displayed only if the username field is not empty.

Additionally, the SizedBox widget has been replaced with a Padding widget in the username input screen for better customization.
2024-04-01 16:23:57 +03:30
MohammadTaha Basiri 73c7d49c90 Update dependencies and remove unused imports
* Updated dependencies to their latest versions
* Removed unused imports in various files
* Changed textScaleFactor to TextScaler.linear in some files
* Fixed some formatting issues

No functional changes.
2024-04-01 15:44:28 +03:30
mehrdad78 79b60f945c Add new data and stock 2024-04-01 15:29:28 +03:30
mehrdad78 ba20b25ab0 Add Infography Screen 2024-03-22 12:31:13 +03:30
Amir Hossein Mousavi 445b37bc91 fixing some issues 2024-02-28 00:44:47 +03:30
MohammadTaha Basiri fe735e65a8 bug fix 2023-10-12 21:35:14 +03:30
Amir Hossein Mousavi 043f03f9e5 webView link 2023-10-12 18:01:21 +03:30
MohammadTaha Basiri eef1acc601 fix radars issue 2023-10-12 16:22:28 +03:30
MohammadTaha Basiri 944409c69d bug fixes 2023-10-12 15:59:38 +03:30
MohammadTaha Basiri 153db82742 Merge branch 'master' of https://gitlab.com/Didvan/didvan-app 2023-10-12 13:53:57 +03:30
MohammadTaha Basiri 8291857dac search back button 2023-10-12 13:53:52 +03:30
Amir Hossein Mousavi 49b08fd054 bug fixes 2023-10-12 11:59:50 +03:30
MohammadTaha Basiri db4b1f8e00 push 2023-10-11 23:42:38 +03:30
MohammadTaha Basiri a5ac5b8c82 some changes 2023-10-11 22:35:32 +03:30
MohammadTaha Basiri 6bd7c870ea some changes 2023-10-11 22:20:58 +03:30
MohammadTaha Basiri 058ffbef0d some changes 2023-10-11 04:24:10 +03:30
MohammadTaha Basiri b5ee5887c6 some changes 2023-10-11 03:32:18 +03:30
MohammadTaha Basiri 694529cf07 some changes 2023-10-10 18:02:48 +03:30
MohammadTaha Basiri e18138aa8d backup! 2023-10-08 12:43:43 +03:30
MohammadTaha Basiri 19c2b54f19 refactor structure 2023-10-08 02:52:26 +03:30
MohammadTaha Basiri 1fe0e8def5 home page v1 2023-10-06 18:52:06 +03:30
MohammadTaha Basiri 0349a8939b Merge remote-tracking branch 'origin' 2023-10-06 03:26:01 +03:30
MohammadTaha Basiri 4e036ad2c5 backup! 2023-10-06 03:22:50 +03:30
Amir Hossein Mousavi bb7f683389 add bug report section to news 2023-09-18 08:04:40 +03:30
Amir Hossein Mousavi 5bd556e691 Fixed bugs in font changes 2023-09-05 16:53:52 +03:30
Amir Hossein Mousavi 4922f517ad fixed bugs in the comments section 2023-09-05 16:40:20 +03:30
MohammadTaha Basiri c94f043f3f release 2.6.2 build 2024 2023-09-01 20:18:10 +03:30
MohammadTaha Basiri 128c73069c flutter version upgrade 2023-09-01 04:17:08 +03:30
MohammadTaha Basiri c3c34c5ab1 bug fixes 2023-09-01 03:23:35 +03:30
MohammadTaha Basiri ba36307cee bug fixes 2023-09-01 00:53:41 +03:30
Amir Hossein Mousavi 3e0aa0d8ab change the width of images 2023-08-30 00:06:24 +03:30
Amir Hossein Mousavi 3a0501a14a enable risk radar button 2023-08-30 00:01:27 +03:30
MohammadTaha Basiri 58385e40cc version upgrades 2023-05-17 10:40:19 +03:30
MohammadTaha Basiri 2118a0291d V2.6.0 Build 24 2023-04-22 16:49:35 +03:30
MohammadTaha Basiri 4dc5470fdb resiolve warnings 2023-03-18 18:57:22 +03:30
MohammadTaha Basiri cbfebd0981 bug fix 2022-12-09 22:18:29 +03:30
MohammadTaha Basiri 5d70e19811 studio edits 2022-12-09 00:19:06 +03:30
MohammadTaha Basiri ebd2b4ec51 new logo design 2022-12-09 00:18:54 +03:30
MohammadTaha Basiri 256b8db0ad bug fixes 2022-12-08 01:15:11 +03:30
MohammadTaha Basiri 8f0b95ae81 new logo 2022-12-08 00:41:50 +03:30
MohammadTaha Basiri b1ce815c66 bug fixes + radar podcasts 2022-12-03 09:26:47 +03:30
MohammadTaha Basiri a0dd33b3c4 version upgraded on ui 2022-07-18 15:42:27 +04:30
MohammadTaha Basiri a414bd19ae fcm deep linking & bug fixes (v 2.2.5 build 21) 2022-07-18 15:36:31 +04:30
MohammadTaha Basiri 053f8d233b v2.2.2 build 20 2022-06-20 16:08:34 +04:30
MohammadTaha Basiri a7bbcd4eaa v2.1.1 2022-06-10 11:38:15 +04:30
MohammadTaha Basiri 22c6a0c771 v2.2.0 2022-06-08 17:28:55 +04:30
MohammadTaha Basiri d1bd45c825 bug fixes + comments status 2022-06-06 14:58:28 +04:30
MohammadTaha Basiri 3e17f6da48 web push notification bug fixed 2022-05-20 13:42:11 +04:30
MohammadTaha Basiri f841c12f7a flutter 3 changes applied 2022-05-17 16:11:42 +04:30
MohammadTaha Basiri d9c930c494 responsive web version 2022-05-01 20:11:58 +04:30
MohammadTaha Basiri 41be81e532 version 2.1.0 build 17 2022-04-30 21:53:26 +04:30
MohammadTaha Basiri 93bac3a349 Dev 2022-04-28 13:48:32 +00:00
MohammadTaha Basiri 9d6961e790 callout dialog size fixed 2022-04-24 17:30:48 +04:30
MohammadTaha Basiri 1efb779675 bug fixes 2022-04-23 15:21:29 +04:30
MohammadTaha Basiri 2611aed96f bug fix 2022-04-22 19:18:09 +04:30
MohammadTaha Basiri 8c40b10dac Dev 2022-04-22 11:34:28 +00:00
MohammadTaha Basiri b23d9e5f98 bug fixes 2022-04-08 15:45:39 +04:30
MohammadTaha Basiri 9773a514c3 code cleaning 2022-04-06 14:16:36 +04:30
MohammadTaha Basiri ae560b90a0 new audio player configured 2022-04-06 01:33:26 +04:30
MohammadTaha Basiri 6d55a3cf52 new audio player package basic implementaion 2022-04-05 22:30:39 +04:30
MohammadTaha Basiri 2836b6f335 bug fixes 2022-04-05 13:52:21 +04:30
MohammadTaha Basiri 7f615280ac bug fixes 2022-04-05 01:23:23 +04:30
MohammadTaha Basiri a7c0fcf6f0 new video player complete version 2022-04-04 18:16:03 +04:30
MohammadTaha Basiri 00f108710a new video player basic version 2022-04-04 14:16:21 +04:30
MohammadTaha Basiri 48387b0b79 bnb shadow offset fixed 2022-04-04 00:05:30 +04:30
MohammadTaha Basiri 17cd060ffc code cleaning 2022-04-03 23:25:33 +04:30
MohammadTaha Basiri 939dd9b358 bug fix 2022-04-03 03:22:53 +04:30
MohammadTaha Basiri 7f0d0689f8 bug fixes 2022-04-02 22:17:30 +04:30
MohammadTaha Basiri b343541200 bug fixes 2022-04-02 17:06:54 +04:30
MohammadTaha Basiri 56a885a6ee bug fixes 2022-04-02 16:40:51 +04:30
MohammadTaha Basiri 8666a6a740 bug fixes 2022-04-02 15:44:02 +04:30
MohammadTaha Basiri f0bd19c030 ready for v1.5 final release 2022-04-02 00:45:52 +04:30
MohammadTaha Basiri c911698855 profile image compress quality increased 2022-04-01 18:05:37 +04:30
MohammadTaha Basiri a287496a91 duration widget alignment corrention 2022-04-01 17:58:44 +04:30
MohammadTaha Basiri 64a0fca55d simpler image loader! 2022-04-01 16:58:20 +04:30
MohammadTaha Basiri 8c988412d2 studio description html parser added 2022-04-01 16:58:05 +04:30
MohammadTaha Basiri 56f8b38693 studio error handlign + bug fixes 2022-03-31 13:53:36 +04:30
MohammadTaha Basiri 91d8469d19 bug fixes 2022-03-31 01:58:51 +04:30
MohammadTaha Basiri c8d40adec3 comments bug fixed 2022-03-31 00:55:36 +04:30
MohammadTaha Basiri 3f31e76108 file renaminggs 2022-03-31 00:26:47 +04:30
MohammadTaha Basiri 169b207d9f D1APP-89 tracking api connected 2022-03-31 00:25:01 +04:30
MohammadTaha Basiri eaec7340db silence interval bug on previews versions fixed 2022-03-31 00:09:13 +04:30
MohammadTaha Basiri 01d0312310 version upgrade 2022-03-31 00:00:55 +04:30
MohammadTaha Basiri 74b0630328 silence interval now works 2022-03-30 22:16:00 +04:30
MohammadTaha Basiri 67c583bc7e bug fixes 2022-03-30 21:24:48 +04:30
MohammadTaha Basiri 4df58d093a bug fixes 2022-03-30 15:36:31 +04:30
MohammadTaha Basiri 873c1f6692 bug fixes 2022-03-30 03:37:38 +04:30
MohammadTaha Basiri a128684f27 bug fixes 2022-03-29 16:28:47 +04:30
MohammadTaha Basiri 9369dffc03 offline podcasts + code cleaning + bug fixes 2022-03-29 15:14:50 +04:30
MohammadTaha Basiri 658d74b9ed asc and desc added to studio api 2022-03-29 12:07:56 +04:30
MohammadTaha Basiri 1d401b3ba0 design updates + bug fixes 2022-03-29 11:58:12 +04:30
MohammadTaha Basiri 0866856645 bug fixes 2022-03-26 01:17:11 +04:30
MohammadTaha Basiri d906c07a42 hashtags pagination bug fixed 2022-03-25 22:36:52 +04:30
MohammadTaha Basiri d9890d6a9d bug fixes 2022-03-25 22:27:19 +04:30
MohammadTaha Basiri 24fee2221a code cleaning + bug fixes 2022-03-25 22:25:25 +04:30
MohammadTaha Basiri d869f54338 D1APP-99 studio 2022-03-25 19:23:37 +04:30
MohammadTaha Basiri 5dd6c4205f D1APP-99 studio (beta 2) 2022-03-23 13:58:58 +04:30
MohammadTaha Basiri 249d318ff8 back to dev! 2022-03-19 17:22:37 +03:30
MohammadTaha Basiri 3d424f8766 v1.2.0 buiild 1 2022-03-19 17:20:31 +03:30
MohammadTaha Basiri 622434d546 contents text align fixed 2022-03-19 17:17:02 +03:30
MohammadTaha Basiri e1ea7630f5 D1APP-99 studio progress 2022-03-19 14:37:54 +03:30
MohammadTaha Basiri 628ebbe271 D1APP-99 studio progress 2022-03-17 15:35:15 +03:30
MohammadTaha Basiri 4ccd50b683 component updates + restructuring 2022-03-17 15:17:11 +03:30
MohammadTaha Basiri a17f6f5ba5 bug fixes 2022-03-17 15:16:29 +03:30
MohammadTaha Basiri ed6f16cd65 new overviews + restructuring 2022-03-17 15:15:56 +03:30
MohammadTaha Basiri ddc707bbe9 D1APP-99 studio updates 2022-03-16 11:08:05 +03:30
MohammadTaha Basiri 9c096bcd0c bug fixes 2022-03-16 11:06:55 +03:30
MohammadTaha Basiri 0ce465e3cb comments bug fixed 2022-03-15 12:42:51 +03:30
MohammadTaha Basiri aba3d69dab bookmarks search now works 2022-03-14 15:10:39 +03:30
MohammadTaha Basiri d0a4c6ea0a bug fixes + code cleaning 2022-03-12 19:29:48 +03:30