Commit Graph

170 Commits

Author SHA1 Message Date
OkaykOrhmn 8cad1eb1c0 Rhmn -- create ai in didvan -- 03/06/1403 2024-08-24 12:10:37 +03:30
OkaykOrhmn 8b88463efe Rhmn -- 27/05/1403 -- fix notification firebase, 2024-08-17 10:46:03 +03:30
Amir Hossein Mousavi c87859d46e v 3.2.1 2024-06-29 14:28:16 +03:30
Amir Hossein Mousavi fa0bfd8746 v3.2.0 2024-05-28 08:29:00 +03:30
Amir Hossein Mousavi f9745a792a Complete mention section 2024-05-23 20:00:31 +03:30
Amir Hossein Mousavi 4c369c8588 Add mention view 2024-05-23 08:16:30 +03:30
OkaykOrhmn 8c18242d2e 02-02-1403 / Rhmn / release Android version:3.2.0 . 2024-05-22 16:34:31 +03:30
OkaykOrhmn c6e07bbb2e 01-02-1403 / Rhmn / release test 2. 2024-05-21 10:07:44 +03:30
OkaykOrhmn 26e9acc178 31-02-1403 / Rhmn / fix 2024-05-20 08:56:53 +03:30
OkaykOrhmn e609feab7b 29-02-1403 / Rhmn / Widget Android Created. 2024-05-18 17:59:23 +03:30
OkaykOrhmn d4afdeb688 26-02-1403 / Rhmn / Backup before Home-Widget. 2024-05-15 10:37:28 +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
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
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 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 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 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 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 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 944409c69d bug fixes 2023-10-12 15:59:38 +03:30
Amir Hossein Mousavi 49b08fd054 bug fixes 2023-10-12 11:59:50 +03:30