Commit 15e0742
authored
Batch edit for multiple trees (#6196)
* Enable trees in queries
* Use query construct code from #4929
* Update unit test
* Remove param_count
* Display tree name in query error
* Update TreeRankQuery to fix implicit ORs
- see: #6196 (comment)
* Allow removing last row in Batch Edit
* Make a missing rank info dialog which proceeds to dataset creation
* Augment tree queries with missing ranks for batch edit
* Lint code with ESLint and Prettier
Triggered by 65f7d21 on branch refs/heads/issue-6127
* Adjust apply_batch_edit_pack for multiple trees
* Add a discipline type in tests
* Un-enforce TreeRankRecord in upload plan
* Add loading action to missing ranks dialog
* Move table name to same line in missing fields dialog
* Handle case when rank name has spaces
* Add a close button to missing ranks dialog
* Fix frontend missing field calculation
* Fix frontend to many tree error
* Lint code with ESLint and Prettier
Triggered by 9407376 on branch refs/heads/issue-6127
* Restrict to manys only for tree fields
* Fix multiple rank in row error
* Fix navigator
* Fix tests
* Group missing ranks by tree
* Lint code with ESLint and Prettier
Triggered by 7f2149d on branch refs/heads/issue-6127
* Pass filtered treedef ids to the backend
- Adds checkboxes to tree names in missing ranks dialog
- Splits the main batch edit file into 4 smaller files
* Lint code with ESLint and Prettier
Triggered by 1c29ec9 on branch refs/heads/issue-6127
* Filter trees used when rewriting batch edit dataset
* Fix tests
* Use TreeRankRecord in upload plan
* Remove unused string
* Fix visual order
- For multiple trees, columns will be grouped by tree first
* Revert "Fix visual order"
This reverts commit a8a2ad6.
* Flag to-many in tree only queries
* Lint code with ESLint and Prettier
Triggered by f36521c on branch refs/heads/issue-6127
* Enable nested to-many in Workbench (#6216)
* Enable nested to-many in Workbench
* Update test
* Add upload plan changes
* Update tests
* Lint code with ESLint and Prettier
Triggered by 82033cd on branch refs/heads/issue-2331
* Fix tests
* Lint code with ESLint and Prettier
Triggered by f0822bf on branch refs/heads/issue-2331
* Lint code with ESLint and Prettier
Triggered by f27581b on branch refs/heads/issue-2331
* Lint code with ESLint and Prettier
Triggered by cc1f85b on branch refs/heads/issue-6127
* Check for lowercase tree table names when rewriting tree rank row plan
* Handle None rank
* Fix tree column order
* Fix tests
* Revert back to sort columns1 parent eb294ec commit 15e0742
24 files changed
Lines changed: 1385 additions & 735 deletions
File tree
- specifyweb
- frontend/js_src/lib
- components
- BatchEdit
- WbPlanView
- __tests__
- WorkBench
- localization
- tests/fixtures
- specify
- tests
- stored_queries
- tests
- static
- workbench/upload
- tests
Lines changed: 124 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
0 commit comments