From 0df61a2701dba1c3274cb4c43fbae2b277b296d6 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Mon, 10 Aug 2020 11:59:12 -0700 Subject: [PATCH] Fixed up scheduling logic using UTC dates instead of local dates. Updated scheduling header. Fixed month view not showing. BOD-179 --- .vscode/launch.json | 17 ++++---- .../chat-message-list.component.jsx | 21 ++++----- ...production-board-kanban-card.component.jsx | 2 +- .../production-board-kanban.container.jsx | 6 +-- .../production-list-table.container.jsx | 6 +-- .../schedule-block-day.component.jsx | 8 +--- .../schedule-calendar-header.component.js | 43 +++++++++++-------- .../schedule-calendar.styles.scss | 8 ++++ .../scoreboard-last-days.component.jsx | 4 +- client/src/graphql/jobs.queries.js | 2 +- .../redux/application/application.sagas.js | 23 +++++----- server/scheduling/scheduling-job.js | 8 ++-- 12 files changed, 75 insertions(+), 73 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 857567401..d210fc9d2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,19 +1,20 @@ { "version": "0.2.0", "configurations": [ + { + "name": "Attach to Chrome", + "port": 9222, + "request": "attach", + "type": "pwa-chrome", + "webRoot": "${workspaceFolder}/client/src" + }, + { "name": "Chrome", "type": "chrome", "request": "launch", "url": "http://localhost:3000", - "webRoot": "${workspaceRoot}/src" - }, - { - "name": "Yarn Dev Server", - "type": "node", - "request": "launch", - "runtimeExecutable": "yarn", - "runtimeArgs": ["dev"] + "webRoot": "${workspaceRoot}/client/src" } ] } diff --git a/client/src/components/chat-messages-list/chat-message-list.component.jsx b/client/src/components/chat-messages-list/chat-message-list.component.jsx index 2f08657fa..c46daaf4e 100644 --- a/client/src/components/chat-messages-list/chat-message-list.component.jsx +++ b/client/src/components/chat-messages-list/chat-message-list.component.jsx @@ -1,6 +1,6 @@ import Icon from "@ant-design/icons"; import React, { useEffect, useRef } from "react"; -import { FaCheck, FaCheckDouble } from "react-icons/fa"; +import { MdDone, MdDoneAll } from "react-icons/md"; import { AutoSizer, CellMeasurer, @@ -38,8 +38,9 @@ export default function ChatMessageListComponent({ messages }) { style={style} className={`${ messages[index].isoutbound ? "mine messages" : "yours messages" - }`}> -