From 26745f2e62935a9e767dd5f007df859b1b046546 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 21 Jan 2020 10:52:40 -0800 Subject: [PATCH] Refactor jobs detail page to use container. Refresh detail cards on note add. --- bodyshop_translations.babel | 107 +++++++++++++++++- .../job-detail-cards.component.jsx | 36 ++++-- .../job-detail-cards.styles.scss | 5 - .../jobs-list/jobs-list.component.jsx | 3 +- .../jobs-list/jobs-list.styles.scss | 4 - .../note-add-modal.component.jsx | 10 +- client/src/graphql/apollo-error-handling.js | 12 +- client/src/graphql/notes.queries.js | 2 +- client/src/index.css | 1 + .../jobs-detail.page.container.jsx | 31 +++++ .../pages/jobs-detail/jobs-detail.page.jsx | 50 ++++---- client/src/pages/manage/manage.page.jsx | 8 +- .../src/pages/manage/manage.page.styles.scss | 1 + client/src/translations/en_us/common.json | 5 + client/src/translations/es/common.json | 5 + client/src/translations/fr/common.json | 5 + 16 files changed, 220 insertions(+), 65 deletions(-) delete mode 100644 client/src/components/jobs-list/jobs-list.styles.scss create mode 100644 client/src/pages/jobs-detail/jobs-detail.page.container.jsx create mode 100644 client/src/pages/manage/manage.page.styles.scss diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 5a81d8485..9336a0826 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -1,4 +1,4 @@ - +