-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes the inventory server UPDATE route to conform to our HTTP API standards. It sends back a JSON object instead of an array, allowing both the create() and update() routes to pass the uuid back to the central list state and use the grid to scroll to the updated record. This commit contains much performance refactoring. 1. Makes the <select>s use track by in the ActionForm. 2. Uses <translate> directive instead of filter 3. Uses a loading indicator on the bhLoadingButton A few of the issues in #738 have been addressed.
- Loading branch information
Jonathan Niles
committed
Jan 4, 2017
1 parent
3d33087
commit d0e532f
Showing
9 changed files
with
88 additions
and
98 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
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,22 +1,20 @@ | ||
<!-- breadcrumb header --> | ||
<bh-breadcrumb | ||
path ="InventoryCtrl.bcPaths" | ||
button ="InventoryCtrl.bcButtons" | ||
print ="InventoryCtrl.buttonPrint" | ||
path ="InventoryCtrl.bcPaths" | ||
button ="InventoryCtrl.bcButtons" | ||
print ="InventoryCtrl.buttonPrint" | ||
> | ||
</bh-breadcrumb> | ||
|
||
<!-- grid content --> | ||
<div class="flex-content"> | ||
<div class="container-fluid"> | ||
|
||
<!-- inventory list of items --> | ||
<div id="inventoryListGrid" | ||
<div | ||
id="inventoryListGrid" | ||
class="grid-full-height" | ||
ui-grid="InventoryCtrl.gridOptions" | ||
ui-grid-auto-resize | ||
ui-grid-resize-columns | ||
ui-grid-grouping> | ||
ui-grid-resize-columns> | ||
</div> | ||
</div> | ||
</div> |
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
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