Page MenuHomePhabricator

D6457.id22178.diff
No OneTemporary

D6457.id22178.diff

diff --git a/web/redux/action-types.js b/web/redux/action-types.js
--- a/web/redux/action-types.js
+++ b/web/redux/action-types.js
@@ -4,3 +4,5 @@
export const updateWindowDimensionsActionType = 'UPDATE_WINDOW_DIMENSIONS';
export const updateWindowActiveActionType = 'UPDATE_WINDOW_ACTIVE';
export const setDeviceIDActionType = 'SET_DEVICE_ID';
+export const updateCalendarCommunityFilter = 'UPDATE_CALENDAR_COMMUNITY_FILTER';
+export const clearCalendarCommunityFilter = 'CLEAR_CALENDAR_COMMUNITY_FILTER';
diff --git a/web/redux/redux-setup.js b/web/redux/redux-setup.js
--- a/web/redux/redux-setup.js
+++ b/web/redux/redux-setup.js
@@ -44,6 +44,10 @@
import { getVisibility } from './visibility';
export type WindowDimensions = { width: number, height: number };
+export type CalendarCommunityFilter = {
+ +threadIDs: $ReadOnlyArray<string>,
+};
+
export type AppState = {
navInfo: NavInfo,
deviceID: ?string,
@@ -57,6 +61,7 @@
updatesCurrentAsOf: number,
loadingStatuses: { [key: string]: { [idx: number]: LoadingStatus } },
calendarFilters: $ReadOnlyArray<CalendarFilter>,
+ communityFilter: ?CalendarCommunityFilter,
urlPrefix: string,
windowDimensions: WindowDimensions,
cookie?: void,

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 10:34 PM (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683583
Default Alt Text
D6457.id22178.diff (1 KB)

Event Timeline