Commit Graph

262 Commits (jebba)

Author SHA1 Message Date
Rick Carlino 8b15c7fecd Merge branch 'staging' of github.com:FarmBot/Farmbot-Web-App into folders 2019-12-11 08:03:28 -06:00
gabrielburnworth c08b9f4682 reorganize point panels folder 2019-12-10 12:09:52 -08:00
gabrielburnworth 240f86c7c1 update map actions 2019-12-10 12:08:54 -08:00
Rick Carlino 92869beb32 Remove all `let` exports in favor of `const` exports. 2019-12-10 13:53:20 -06:00
gabrielburnworth 8eb348202a designer state cleanup 2019-12-05 12:53:31 -08:00
gabrielburnworth 97a9ee8d57 add saved gardens panel 2019-11-27 12:11:45 -08:00
Gabriel Burnworth 98a9eb539b
Update panel_header.tsx 2019-11-25 10:42:34 -08:00
gabrielburnworth 6305e41e8f fix group edit mode actions 2019-11-22 11:57:22 -08:00
gabrielburnworth a821afd290 add restriction and new exit to plant edit mode 2019-11-21 14:30:42 -08:00
gabrielburnworth 0a4db75572 update point panels 2019-11-20 11:48:55 -08:00
gabrielburnworth 4eb8ac28a8 add new panel color 2019-11-20 11:48:14 -08:00
gabrielburnworth 27214fa0a4 clean up test output 2019-11-19 10:34:11 -08:00
gabrielburnworth 8f626c2833 remove css zoom usage 2019-11-19 10:22:52 -08:00
Rick Carlino 839928a1fe Linter fixes 2019-11-19 11:24:09 -06:00
Rick Carlino 5ccdc30654 AddPlant no longer has a done button. Remove tests for said button. 2019-11-19 10:02:39 -06:00
Rick Carlino 19c7ef2f36 createCB tests 2019-11-19 09:31:04 -06:00
Rick Carlino 22f90b08fa <PlantGrid/> tests, part II 2019-11-19 08:58:22 -06:00
Rick Carlino 60fc32fd7e <PlantGrid/> tests, part I 2019-11-19 08:25:03 -06:00
Rick Carlino dbb330efcf stashGrid tests 2019-11-18 17:57:03 -06:00
Rick Carlino 354e51b265 saveGrid tests 2019-11-18 17:34:36 -06:00
Rick Carlino efb2eeab00 InputCell tests 2019-11-18 15:52:53 -06:00
Rick Carlino 9c0bbc3f81 Tests for generateGrid 2019-11-18 14:20:46 -06:00
Rick Carlino ad5b8cca37 mapStateToProps tests. 2019-11-18 13:38:23 -06:00
Rick Carlino 7b8cfe9f4b overflowX: none 2019-11-15 16:43:25 -06:00
Rick Carlino 8127f5e529 overflowY: scroll 2019-11-15 16:32:08 -06:00
Rick Carlino 80f20cf7f4 Add styles to horizontal rule 2019-11-15 16:23:30 -06:00
Rick Carlino 0518f7e40e Use `name` as `plant.name` instead of `openfarm_slug` 2019-11-15 16:20:06 -06:00
Rick Carlino be854a047b Allow scrolling of grid planting panel 2019-11-15 16:07:04 -06:00
Rick Carlino 652b5e1358 openfarm_slug the variable, not the string 2019-11-15 15:59:52 -06:00
Rick Carlino f86182f46a Confirm save on exit via back button 2019-11-15 15:55:22 -06:00
Rick Carlino 8a903b7463 Swap numPlantsV and spacingH 2019-11-15 15:16:15 -06:00
Rick Carlino 9c83b01e4a Swap numPlantsV and spacingH 2019-11-15 15:14:46 -06:00
Rick Carlino 97bad3c217 Remove DONE button 2019-11-15 14:58:44 -06:00
Rick Carlino 232dccaf5d Grid icons match users xy_swap setting 2019-11-15 13:36:59 -06:00
Rick Carlino 1d14585ccb Dont clear form values when user clicks "CANCEL" 2019-11-15 12:41:10 -06:00
Rick Carlino 5b809926ad Swap the position of the SAVE and CLEAR buttons. Change CLEAR to CANCEL. 2019-11-15 12:34:48 -06:00
Rick Carlino 7f00a1fe6e Add "Grid and Row" header 2019-11-15 11:53:10 -06:00
Rick Carlino 313b129e7f Style the button. NEXT: Test and ship 2019-11-15 10:51:23 -06:00
Rick Carlino 0a2c9a7b74 Input boxes are ✔️. NEXT: Buttons, tests. 2019-11-15 10:39:22 -06:00
Rick Carlino 8661241fd8 Extract grid inputs to <GridInput/> 2019-11-15 08:30:13 -06:00
Rick Carlino 47942fb9c8 Limit grids to 100 for now. 2019-11-15 07:45:22 -06:00
Rick Carlino 55ed669de7 preview and clear works (grid planting) 2019-11-14 15:36:04 -06:00
Rick Carlino 0240da91db It initializes a grid. NEXT: Save the plant to API 2019-11-14 11:49:30 -06:00
Rick Carlino 784ddda2aa initPlantGrid() is ready for use. 2019-11-14 10:32:28 -06:00
Rick Carlino d979ee6381 Implementation and tests for vectorGrid() helper. 2019-11-14 09:59:25 -06:00
Rick Carlino 12b6d1918d Stub out Preview/Save/Clear buttons 2019-11-13 15:39:32 -06:00
Rick Carlino 5f90caa19a Add `dispatch` to props. Change "apply" to "preview" 2019-11-13 14:59:56 -06:00
Rick Carlino ea0aebcdc9 Stub out HTML form controls. TODO: Add `dirty` flag, undo button 2019-11-13 14:18:17 -06:00
gabrielburnworth 6bd32c243c update points panels 2019-11-07 11:17:50 -08:00
gabrielburnworth 8215abc978 update saved gardens panel 2019-11-06 09:01:05 -08:00
gabrielburnworth c4025dab40 release channel UI update and cleanup 2019-11-01 14:25:39 -07:00
gabrielburnworth 71bb473a1a add sort comparison UI 2019-10-30 11:25:29 -07:00
AscendFB 448a97c199 double plant indicator 2019-10-29 11:59:19 +01:00
gabrielburnworth a757b3be13 panel color cleanup 2019-10-25 08:33:33 -07:00
AscendFB d4b07cca61 add light panel for plant selection 2019-10-25 12:37:44 +02:00
AscendFB 6fd340f12b Merge changes 2019-10-25 12:28:58 +02:00
AscendFB 6f620d174e #1525 some fixes 2019-10-25 12:05:18 +02:00
AscendFB 2f331f0f9d Try to keep 'selected' in a defined state 2019-10-23 12:15:53 +02:00
AscendFB d80309f129
Merge branch 'staging' into cosmetic-fixes 2019-10-23 12:00:22 +02:00
Rick Carlino 08f7e7373c
Merge branch 'staging' into cosmetic-fixes 2019-10-22 11:52:59 -05:00
Rick Carlino fd5ce8084a
Merge branch 'staging' into css_stuff 2019-10-22 11:47:24 -05:00
gabrielburnworth 5d76123682 misc fixes 2019-10-22 09:03:00 -07:00
Rick Carlino ba8f326502 Fix failing test. 2019-10-22 10:36:34 -05:00
Rick Carlino b473884621 Fix groups panel button, probably 2019-10-22 09:28:27 -05:00
Rick Carlino 29ecee243c
Merge branch 'staging' into cosmetic-fixes 2019-10-22 08:25:18 -05:00
Rick Carlino fed514c2e3 Linter fixes 2019-10-21 14:47:01 -05:00
Rick Carlino bfa2f2fd38 Test coverage increases 2019-10-21 14:37:16 -05:00
AscendFB 1bed755e88 Add dark-blue button css, so existing "light"blue buttons will remain as they were 2019-10-20 16:01:12 +02:00
AscendFB 8f593ea098 Merge branch 'cosmetic-fixes' of https://github.com/AscendFB/Farmbot-Web-App into cosmetic-fixes 2019-10-20 13:04:13 +02:00
AscendFB 49bbee536e
Merge pull request #11 from FarmBot/staging
Merge changes
2019-10-20 12:53:46 +02:00
AscendFB 71eda445df More changes mostly to #1426, also resolved #1385 2019-10-20 11:57:13 +02:00
Rick Carlino 8d83215bd9 Add new FBOS informational_setting fields, hide some links, expose others. 2019-10-13 15:48:11 -05:00
AscendFB 5bfa90e53d Issues #1406 , #1495 , #1411 , #1426 2019-10-13 18:41:29 +02:00
Rick Carlino 98baa520e9 Remove tests that were testing presence of nav items (pre-icon nav stuff) 2019-10-10 13:46:40 -05:00
Rick Carlino 2792281043 [UNSTABLE] More feature flag removals 2019-10-10 12:43:44 -05:00
Rick Carlino a460e6e0c0 [UNSTABLE] More feature flag removals 2019-10-10 12:32:58 -05:00
Rick Carlino fd8cddf051 Tests / refactor of <PointGroupItem/> 2019-10-10 11:38:19 -05:00
Rick Carlino 2f5dd155c1 Dead code removal. 2019-10-10 09:34:06 -05:00
Rick Carlino 26a98f486a Add new feature flags 2019-10-09 16:04:23 -05:00
Rick Carlino c1c2bbf250 Fix failing test 2019-10-09 14:49:02 -05:00
Rick Carlino 344cb2582a [UNSTABLE] Formatting. Begin migration off of FIND HOME ON BOOT 2019-10-09 14:26:40 -05:00
Rick Carlino 7a86a1aab3 Add performance to group detail page, probably. 2019-10-09 13:34:38 -05:00
Rick Carlino 49e7f85746 CSS Updates 2019-10-09 07:55:30 -05:00
gabrielburnworth 8d3c537332 group fixes and additions 2019-10-08 12:32:15 -07:00
Rick Carlino b6da1752a1 Linter error 2019-10-08 14:06:17 -05:00
Rick Carlino 7dc7409a15 More tests for point group components 2019-10-08 13:56:03 -05:00
Rick Carlino 43c8108e3c Dead code removal. 2019-10-08 12:46:04 -05:00
Rick Carlino 77aa69977f Type errors 2019-10-08 10:19:51 -05:00
Rick Carlino 86497b5187 Debug removal 2019-10-08 10:08:52 -05:00
Rick Carlino a475c38fc9 Final changes before adding tests 2019-10-08 09:52:03 -05:00
Rick Carlino fe52fedaf5 Fix failing tests related to point group auto_sync 2019-10-07 16:09:36 -05:00
Rick Carlino f09b1eba87 Use point_group_id instead of resource_id. Fix typos. 2019-10-03 14:06:36 -05:00
Rick Carlino 42d931ad3e Delete PointGroupItems before deleting points CC: @connorRigby 2019-10-03 13:52:00 -05:00
Rick Carlino 30b895b4d4 Redirect user to pointGroupDetail after creating group 2019-10-03 11:20:13 -05:00
Rick Carlino 13f1ac2225 WIP 2019-10-03 10:43:51 -05:00
Rick Carlino 20ce166d46 WIP 2019-10-01 16:05:42 -05:00
Rick Carlino 0d67345d8d BUG: PointGroup#update does not accept sort_type, part II 2019-10-01 15:26:12 -05:00
Rick Carlino e52e7c8169 BUG: PointGroup#update does not accept sort_type 2019-10-01 15:16:38 -05:00
Rick Carlino a2154a10e1 <FBSelect/> for sort order 2019-10-01 15:02:29 -05:00
Rick Carlino 144fa34e29 Deploy ability to set `sort_type` while I work on the Real VersionTM 2019-10-01 11:53:11 -05:00