mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 17:25:02 +03:00
feat: Add board activity log
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
|
||||
import EntryActionTypes from '../constants/EntryActionTypes';
|
||||
|
||||
const fetchActivitiesInCurrentBoard = () => ({
|
||||
type: EntryActionTypes.ACTIVITIES_IN_CURRENT_BOARD_FETCH,
|
||||
payload: {},
|
||||
});
|
||||
|
||||
const fetchActivitiesInCurrentCard = () => ({
|
||||
type: EntryActionTypes.ACTIVITIES_IN_CURRENT_CARD_FETCH,
|
||||
payload: {},
|
||||
@@ -18,6 +23,7 @@ const handleActivityCreate = (activity) => ({
|
||||
});
|
||||
|
||||
export default {
|
||||
fetchActivitiesInCurrentBoard,
|
||||
fetchActivitiesInCurrentCard,
|
||||
handleActivityCreate,
|
||||
};
|
||||
|
||||
@@ -47,6 +47,13 @@ const openBoardSettingsModal = (boardId) => ({
|
||||
},
|
||||
});
|
||||
|
||||
const openBoardActivitiesModal = () => ({
|
||||
type: EntryActionTypes.MODAL_OPEN,
|
||||
payload: {
|
||||
type: ModalTypes.BOARD_ACTIVITIES,
|
||||
},
|
||||
});
|
||||
|
||||
const closeModal = () => ({
|
||||
type: EntryActionTypes.MODAL_CLOSE,
|
||||
payload: {},
|
||||
@@ -58,5 +65,6 @@ export default {
|
||||
openAddProjectModal,
|
||||
openProjectSettingsModal,
|
||||
openBoardSettingsModal,
|
||||
openBoardActivitiesModal,
|
||||
closeModal,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user