export const DEPILE = 'DEPILE';

export const depile = pile => ({
  type: DEPILE,
  payload: { pile }
});

export const SET_ANIMATION = 'SET_ANIMATION';

export const setAnimation = animation => ({
  type: SET_ANIMATION,
  payload: { animation: !!animation }
});

export const SET_ARRANGE_METRICS = 'SET_ARRANGE_METRICS';

export const setArrangeMetrics = arrangeMetrics => ({
  type: SET_ARRANGE_METRICS,
  payload: { arrangeMetrics }
});

export const SET_CELL_SIZE = 'SET_CELL_SIZE';

export const setCellSize = cellSize => ({
  type: SET_CELL_SIZE,
  payload: { cellSize }
});

export const SET_COVER_DISP_MODE = 'SET_COVER_DISP_MODE';

export const setCoverDispMode = allPilesDisplayMode => ({
  type: SET_COVER_DISP_MODE,
  payload: { allPilesDisplayMode }
});

export const SET_PILE_MODE = 'SET_PILE_MODE';

export const setPileMode = (mode, pile) => ({
  type: SET_PILE_MODE,
  payload: { mode, pile }
});

export const SET_SHOW_SPECIAL_CELLS = 'SET_SHOW_SPECIAL_CELLS';

export const setShowSpecialCells = showSpecialCells => ({
  type: SET_SHOW_SPECIAL_CELLS,
  payload: { showSpecialCells }
});

export const UPDATE_FGM_CONFIG = 'UPDATE_FGM_CONFIG';

export const updateConfig = config => ({
  type: UPDATE_FGM_CONFIG,
  payload: { config }
});

@@ -1,20 +1,159 @@
+export const PILE = 'PILE';%0A%0Aexport const pile = (sourcePiles, targetPile) =%3E (%7B%0A  type: PILE,%0A  payload: %7B sourcePiles, targetPile %7D%0A%7D);%0A%0A
 export const DEPILE 
@@ -805,31 +805,25 @@
 pMode = 
-allPiles
+cover
 Disp
-lay
 Mode =%3E 
@@ -871,23 +871,17 @@
 : %7B 
-allPiles
+cover
 Disp
-lay
 Mode

Add pile action. Fix cover display mode action.