- Major Performance boost reducing uncessasry board renders

- Move Orientation Toggle to Board Settings -> Display
- Delete Card Settings, replaced with Board Settings

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-05-30 16:36:55 -04:00
parent a569c1f4f9
commit d85768b2ac
4 changed files with 267 additions and 138 deletions

View File

@@ -1,4 +1,5 @@
import { groupBy } from "lodash";
import fakeData from "./testData/board600.json";
const sortByParentId = (arr) => {
// return arr.reduce((accumulator, currentValue) => {
@@ -38,6 +39,10 @@ const sortByParentId = (arr) => {
return sortedList;
};
export const createFakeBoardData = () => {
return fakeData;
};
export const createBoardData = (AllStatuses, Jobs, filter) => {
const { search, employeeId } = filter;
const lanes = AllStatuses.map((s) => {