-
Notifications
You must be signed in to change notification settings - Fork 56
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
PAINTROID-490 : Search bar on Landing Page #47
base: develop
Are you sure you want to change the base?
Conversation
@dmdbilal Hey! Please also add some unit/widget/integration tests. Cheers :) |
@Lenkomotive Can you help with this? I think it was added in your last ticket? |
I think that's because the current version doesn't support extending the |
@bhav-khurana thats correct! @dmdbilal As @bhav-khurana pointed out, the implementation of |
@Lenkomotive Now it's running without any errors. |
@Lenkomotive Added widget test. |
Please add a link to the ticket in your PR description |
@juliajulie95 Added the link to the ticket in the PR description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot to change. Pls look at it. You cannot just copy code. This makes the whole project unmaintainable
actions: const [MainOverflowMenu()], | ||
actions: [ | ||
IconButton( | ||
icon: const Icon(Icons.search_rounded, color: Colors.white), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use custom colors we have in light theme. i think: lightColorTheme.onSurface is white color
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is duplicated code? it already exists in landing page screen. you can move that code in the component library and use it in both screen packages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated code
Future<List<Project>> _getProjects() async => | ||
database.projectDAO.getProjects(); | ||
|
||
Future<bool> _loadProject(IOHandler ioHandler, Project project) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated functions
); | ||
} | ||
|
||
Future<void> _openProject(Project? project, IOHandler ioHandler) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah this is pretty much all duplicated. you need to modularize it if it is used in multiple places
package_info_plus: ^4.0.1 | ||
filesize: ^2.0.1 | ||
|
||
# Internal packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all these internal packages are needed?
riverpod_annotation: ^2.1.1 | ||
freezed_annotation: ^2.4.1 | ||
|
||
intl: ^0.18.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is definetly not needed right?
New Features and Enhancements
Screenshots
Checklist