-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards/sprints: add search items field
Items can be searched by id or title.
- Loading branch information
Showing
8 changed files
with
136 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
part of board_detail; | ||
|
||
class _Actions extends StatelessWidget { | ||
const _Actions({required this.ctrl}); | ||
|
||
final _BoardDetailController ctrl; | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Flexible( | ||
child: DevOpsAnimatedSearchField( | ||
isSearching: ctrl.isSearching, | ||
onChanged: ctrl._searchWorkItem, | ||
onResetSearch: ctrl.resetSearch, | ||
hint: 'Search by id or title', | ||
margin: const EdgeInsets.only(left: 56, right: 16), | ||
child: Row( | ||
mainAxisSize: MainAxisSize.min, | ||
children: [ | ||
SearchButton( | ||
isSearching: ctrl.isSearching, | ||
), | ||
IconButton( | ||
icon: const Icon(DevOpsIcons.plus), | ||
onPressed: ctrl.addNewItem, | ||
iconSize: 24, | ||
), | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
lib/src/screens/sprint_detail/components_sprint_detail.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
part of sprint_detail; | ||
|
||
class _Actions extends StatelessWidget { | ||
const _Actions({required this.ctrl}); | ||
|
||
final _SprintDetailController ctrl; | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Flexible( | ||
child: DevOpsAnimatedSearchField( | ||
isSearching: ctrl.isSearching, | ||
onChanged: ctrl._searchWorkItem, | ||
onResetSearch: ctrl.resetSearch, | ||
hint: 'Search by id or title', | ||
margin: const EdgeInsets.only(left: 56, right: 16), | ||
child: Row( | ||
mainAxisSize: MainAxisSize.min, | ||
children: [ | ||
SearchButton( | ||
isSearching: ctrl.isSearching, | ||
), | ||
IconButton( | ||
icon: const Icon(DevOpsIcons.plus), | ||
onPressed: ctrl.addNewItem, | ||
iconSize: 24, | ||
), | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters