.eslintcache 41.8 KB
Newer Older
1
[{"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\index.js":"1","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\config.js":"2","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\changePassword\\ChangePassword.js":"3","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\removeAccount\\RemoveAccount.js":"4","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\updateUserData\\UserDataInfo.js":"5","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\App.js":"6","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\reportForm\\ReportForm.js":"7","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\Messages\\Messages.js":"8","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\account\\Account.js":"9","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\home\\Home.js":"10","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\login\\Login.js":"11","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\Navbar.js":"12","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectOverview\\ProjectOverview.js":"13","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\team\\teamOverview\\TeamOverview.js":"14","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectInfo\\ProjectInfo.js":"15","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\team\\teamInfo\\TeamInfo.js":"16","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\util\\useMessages.js":"17","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\removeAccount\\confirmRemoveAccountModal\\ConfirmRemoveAccountModal.js":"18","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\reportForm\\assign\\Assign.js":"19","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\home\\updates\\Updates.js":"20","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\login\\signUp\\SignUp.js":"21","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\login\\passwordReset\\PasswordForgotModal.js":"22","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\navLinks\\NavLinks.js":"23","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\logo\\Logo.js":"24","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\searchbar\\Searchbar.js":"25","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\dropdownMenu\\NavbarDropdownMenu.js":"26","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectInfo\\activityChart\\ActivityChart.js":"27","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectInfo\\activitiesDisplay\\ActivitiesDisplay.js":"28","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\updateUserData\\updateUserDataModal\\UpdateUserDataModal.js":"29","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\messageModal\\MessageModal.js":"30"},{"size":285,"mtime":1628516023915,"results":"31","hashOfConfig":"32"},{"size":679,"mtime":1630597978614,"results":"33","hashOfConfig":"32"},{"size":4973,"mtime":1631042738195,"results":"34","hashOfConfig":"32"},{"size":1193,"mtime":1630598628940,"results":"35","hashOfConfig":"32"},{"size":2269,"mtime":1631042847591,"results":"36","hashOfConfig":"32"},{"size":2100,"mtime":1630597947062,"results":"37","hashOfConfig":"32"},{"size":3953,"mtime":1631043371472,"results":"38","hashOfConfig":"32"},{"size":626,"mtime":1630590171605,"results":"39","hashOfConfig":"32"},{"size":649,"mtime":1631042872487,"results":"40","hashOfConfig":"32"},{"size":1279,"mtime":1630590114274,"results":"41","hashOfConfig":"32"},{"size":2381,"mtime":1631043055808,"results":"42","hashOfConfig":"32"},{"size":896,"mtime":1630915239644,"results":"43","hashOfConfig":"32"},{"size":3660,"mtime":1630590207983,"results":"44","hashOfConfig":"32"},{"size":2694,"mtime":1630590244248,"results":"45","hashOfConfig":"32"},{"size":1068,"mtime":1630590183157,"results":"46","hashOfConfig":"32"},{"size":2374,"mtime":1630590235192,"results":"47","hashOfConfig":"32"},{"size":1489,"mtime":1630590258335,"results":"48","hashOfConfig":"32"},{"size":1944,"mtime":1631042824088,"results":"49","hashOfConfig":"32"},{"size":3264,"mtime":1630590221535,"results":"50","hashOfConfig":"32"},{"size":2334,"mtime":1630590120023,"results":"51","hashOfConfig":"32"},{"size":5559,"mtime":1631043336967,"results":"52","hashOfConfig":"32"},{"size":3623,"mtime":1630598820339,"results":"53","hashOfConfig":"32"},{"size":697,"mtime":1630590050913,"results":"54","hashOfConfig":"32"},{"size":548,"mtime":1630590043135,"results":"55","hashOfConfig":"32"},{"size":470,"mtime":1630590058062,"results":"56","hashOfConfig":"32"},{"size":3533,"mtime":1631042935906,"results":"57","hashOfConfig":"32"},{"size":3570,"mtime":1630590189058,"results":"58","hashOfConfig":"32"},{"size":2096,"mtime":1630590196227,"results":"59","hashOfConfig":"32"},{"size":3292,"mtime":1631042471927,"results":"60","hashOfConfig":"32"},{"size":460,"mtime":1630915093745,"results":"61","hashOfConfig":"32"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},"iyhzrm",{"filePath":"65","messages":"66","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"67","usedDeprecatedRules":"64"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"88","messages":"89","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"90","usedDeprecatedRules":"64"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"93","usedDeprecatedRules":"64"},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"98","usedDeprecatedRules":"64"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"101","usedDeprecatedRules":"64"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"106","usedDeprecatedRules":"64"},{"filePath":"107","messages":"108","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"109","usedDeprecatedRules":"64"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"114","usedDeprecatedRules":"64"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"119","usedDeprecatedRules":"64"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"122","messages":"123","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"128","usedDeprecatedRules":"64"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\index.js",[],["133","134"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\config.js",["135"],"export default {\r\n  oidc: {\r\n    clientId: '0oa1f4zfeiiZPB6DF5d7',\r\n    issuer: 'https://dev-91882654.okta.com/oauth2/default',\r\n    redirectUri: window.location.origin + '/login/callback',\r\n    scopes: ['openid', 'profile', 'email'],\r\n    pkce: true\r\n  },\r\n  serviceAPI: {\r\n    messagesURL: 'http://localhost:3030/api/messages',\r\n    createNewUserURL: 'http://localhost:3030/api/create-user',\r\n    forgotPasswordURL: 'http://localhost:3030/api/recover-user-password',\r\n    removeAccountURL: 'http://localhost:3030/api/remove-user',\r\n    updateUserDataURL: 'http://localhost:3030/api/update-user-data',\r\n    changePasswordURL: 'http://localhost:3030/api/change-password'\r\n  }\r\n};","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\changePassword\\ChangePassword.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\removeAccount\\RemoveAccount.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\updateUserData\\UserDataInfo.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\App.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\reportForm\\ReportForm.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\Messages\\Messages.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\account\\Account.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\home\\Home.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\login\\Login.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\Navbar.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectOverview\\ProjectOverview.js",["136","137"],"import React, { useState } from 'react'\r\nimport { NavLink } from \"react-router-dom\";\r\nimport \"./ProjectOverview.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nconst ProjectOverview = () => {\r\n  const personalProjects = [\r\n    { id: \"MyApp\", type: \"personal\" },\r\n    { id: \"MyOtherApp\", type: \"personal\" }\r\n  ]\r\n\r\n  const sharedProjects = [\r\n    { id: \"ReactApp\", type: \"shared\", teams: [{ name: \"Henriks Meme Machine\" }, { name: \"Teskeholdet\" }] },\r\n    { id: \"Very big ReactApp\", type: \"shared\", teams: [{ name: \"Aubergine\" }] }\r\n  ]\r\n\r\n  const [sharedProjectsButtonState, setSharedProjectsButtonState] = useState(true);\r\n  const [personalProjectsButtonState, setPersonalProjectsButtonState] = useState(false);\r\n\r\n  const SharedProjectsButtonActive = () => {\r\n    setSharedProjectsButtonState(true);\r\n    setPersonalProjectsButtonState(false);\r\n  };\r\n\r\n  const PersonalProjectsButtonActive = () => {\r\n    setSharedProjectsButtonState(false);\r\n    setPersonalProjectsButtonState(true);\r\n  };\r\n\r\n  const ProjectsDisplay = (projects) => {\r\n    return (\r\n      <div className=\"projectlist\">\r\n        <ul>\r\n          {projects.map((elements, index) => (\r\n            <li>\r\n              <div className=\"project-entry\">\r\n                <div className=\"project-team-name\">\r\n                  <NavLink to={`/${projects[index].id}`}>{projects[index].id}&nbsp;\r\n                    <FontAwesomeIcon className=\"icon\" icon=\"chevron-right\"></FontAwesomeIcon>\r\n                  </NavLink>\r\n                </div>\r\n                <div className=\"project-status-info-container\">\r\n                  <div className=\"new-issues-info\">\r\n                    <FontAwesomeIcon className=\"icon\" icon=\"bug\"></FontAwesomeIcon>\r\n                    <p>0</p>\r\n                    <span className=\"tooltip-text\">Total issues</span>\r\n                  </div>\r\n                  <div className=\"issues-solved-info\">\r\n                    <FontAwesomeIcon className=\"icon\" icon=\"check\"></FontAwesomeIcon>\r\n                    <p>0</p>\r\n                    <span className=\"tooltip-text\">Issues solved</span>\r\n                  </div>\r\n                  <div className=\"last-updated-info\">\r\n                    <p>Last updated: &nbsp;1 day ago</p>\r\n                  </div>\r\n                </div>\r\n              </div>\r\n            </li>\r\n          ))}\r\n        </ul>\r\n      </div>\r\n    )\r\n  }\r\n\r\n  return (\r\n    <div className=\"page-content-container\">\r\n      <div className=\"content-header\">\r\n        <h2 className=\"projectlist-title\">Your Projects</h2>\r\n        <button className=\"create-new-project-button\">\r\n          New Project\r\n        </button>\r\n      </div>\r\n      <div className=\"project-sort-menu-container\">\r\n        <div className=\"personal-shared-projects-container\">\r\n          <a className={sharedProjectsButtonState ? \"activeUnderlined\" : \"inactive\"} onClick={SharedProjectsButtonActive}>Shared Projects</a>\r\n          <a className={personalProjectsButtonState ? \"activeUnderlined\" : \"inactive\"} onClick={PersonalProjectsButtonActive}>Personal Projects</a>\r\n        </div>\r\n        <div className=\"project-sort-select-container\">\r\n          <p>Sort by:</p>\r\n          <select>\r\n            <option>Last updated</option>\r\n            <option>Last created</option>\r\n            <option>Name</option>\r\n            <option>Name descending</option>\r\n            <option>Oldest created</option>\r\n            <option>Oldest updated</option>\r\n          </select>\r\n        </div>\r\n      </div>\r\n      {sharedProjectsButtonState ? ProjectsDisplay(sharedProjects) : ProjectsDisplay(personalProjects)}\r\n    </div >\r\n  )\r\n}\r\n\r\nexport default ProjectOverview","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\team\\teamOverview\\TeamOverview.js",["138","139"],"import React from 'react'\r\nimport { NavLink } from 'react-router-dom'\r\nimport \"./TeamOverview.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nconst TeamOverview = () => {\r\n\r\n  const personalProjects = [\r\n    { id: \"MyApp\", type: \"personal\" },\r\n    { id: \"MyOtherApp\", type: \"personal\" }\r\n  ]\r\n\r\n  const sharedProjects = [\r\n    { id: \"ReactApp\", type: \"shared\", teams: [{ name: \"Henriks Meme Machine\" }, { name: \"Teskeholdet\" }] },\r\n    { id: \"Very big ReactApp\", type: \"shared\", teams: [{ name: \"Aubergine\" }] }\r\n  ]\r\n\r\n  return (\r\n    <div className=\"page-content-container\">\r\n      <div className=\"content-header\">\r\n        <h2 className=\"teamlist-title\">Teams</h2>\r\n        <div className=\"buttons-container\">\r\n          <button className=\"join-team-button\">\r\n            Join Team\r\n          </button>\r\n          <button className=\"create-new-team-button\">\r\n            New team\r\n          </button>\r\n        </div>\r\n      </div>\r\n      <div className=\"teamlist\">\r\n        <ul>\r\n          <li>\r\n            <div className=\"team-entry\">\r\n              <div className=\"image-team-name\">\r\n                <NavLink to=\"/HenriksMemeMachine\" className=\"team-image-container\">\r\n                  <FontAwesomeIcon className=\"team-icon\" icon=\"dice-d6\"></FontAwesomeIcon>\r\n                </NavLink>\r\n                <NavLink to=\"/HenriksMemeMachine\">Henriks meme machine - ReactApp&nbsp;\r\n                  <FontAwesomeIcon className=\"icon\" icon=\"chevron-right\"></FontAwesomeIcon>\r\n                </NavLink>\r\n              </div>\r\n              <div className=\"team-status-info-container\">\r\n                <div className=\"new-messages-info\">\r\n                  <FontAwesomeIcon className=\"icon\" icon=\"envelope\"></FontAwesomeIcon>\r\n                  <p>0</p>\r\n                  <span className=\"tooltip-text\">New messages</span>\r\n                </div>\r\n                <div className=\"projects-maintained-info\">\r\n                  <FontAwesomeIcon className=\"icon\" icon=\"project-diagram\"></FontAwesomeIcon>\r\n                  <p>0</p>\r\n                  <span className=\"tooltip-text\">Projects maintained</span>\r\n                </div>\r\n                <div className=\"team-members-info\">\r\n                  <FontAwesomeIcon className=\"icon\" icon=\"users\"></FontAwesomeIcon>\r\n                  <p>0</p>\r\n                  <span className=\"tooltip-text\">Team members</span>\r\n                </div>\r\n                <div className=\"last-updated-info\">\r\n                  <p>Date created: &nbsp;21/ 07/ 2021</p>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </li>\r\n        </ul>\r\n      </div>\r\n    </div >\r\n  )\r\n}\r\n\r\nexport default TeamOverview","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectInfo\\ProjectInfo.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\team\\teamInfo\\TeamInfo.js",["140"],"import React, { useRef, useState, useEffect } from 'react'\r\nimport \"./TeamInfo.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\n\r\nconst TeamInfo = () => {\r\n  const dropdownRef = useRef(null);\r\n  const [isActive, setIsActive] = useState(false);\r\n  const onClick = () => setIsActive(!isActive);\r\n\r\n  useEffect(() => {\r\n    const pageClickEvent = (e) => {\r\n      if (dropdownRef.current !== null && !dropdownRef.current.contains(e.target)) {\r\n        setIsActive(!isActive);\r\n      }\r\n    };\r\n\r\n    // If the item is active (ie open) then listen for clicks\r\n    if (isActive) {\r\n      window.addEventListener('click', pageClickEvent);\r\n    }\r\n\r\n    return () => {\r\n      window.removeEventListener('click', pageClickEvent);\r\n    }\r\n\r\n  }, [isActive]);\r\n\r\n  return (\r\n    <div className=\"page-content-container\">\r\n      <div className=\"teamInformationPage-content-header\">\r\n        <div className=\"header-text\">\r\n          <h2 className=\"teamInformationPage-title\">Henriks Meme machine > overview</h2>\r\n        </div>\r\n        <div className=\"header-notification-select-settings-button-container\">\r\n          <div className=\"notification-button-container\">\r\n            <button className={`notification-button ${isActive ? 'active' : 'inactive'}`} onClick={onClick} >\r\n              <FontAwesomeIcon className=\"bell-icon\" icon=\"bell\"></FontAwesomeIcon>\r\n              <FontAwesomeIcon className=\"down-arrow\" icon=\"angle-down\"></FontAwesomeIcon>\r\n            </button>\r\n            <div ref={dropdownRef} className={`user-dropDown-menu-content ${isActive ? 'active' : 'inactive'}`}>\r\n              <ul>\r\n                <li>\r\n                  <a>\r\n                    <FontAwesomeIcon icon=\"user\"></FontAwesomeIcon>&nbsp;&nbsp;Account\r\n                    <FontAwesomeIcon icon=\"chevron-right\" className=\"arrow-right-icon\"></FontAwesomeIcon>\r\n                  </a>\r\n                </li>\r\n              </ul>\r\n            </div>\r\n          </div>\r\n          <div className=\"settings-button-container\">\r\n            <button>\r\n              <FontAwesomeIcon icon=\"cog\"></FontAwesomeIcon>\r\n              &nbsp;Settings\r\n            </button>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div className=\"teamInformationPage-content-container\">\r\n        {/*TODO: components goes here */}\r\n      </div>\r\n    </div>\r\n  )\r\n}\r\n\r\nexport default TeamInfo","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\util\\useMessages.js",["141"],"import { useState, useEffect } from 'react';\r\nimport { useOktaAuth } from '@okta/okta-react';\r\n\r\nimport config from \"../config\"\r\n\r\nconst useMessages = () => {\r\n  const { authState, oktaAuth } = useOktaAuth();\r\n  const [messages, setMessages] = useState(null);\r\n\r\n  // fetch messages\r\n  useEffect(() => {\r\n    if (authState && authState.isAuthenticated) {\r\n      const accessToken = oktaAuth.getAccessToken();\r\n      fetch(config.serviceAPI.messagesURL, {\r\n        method: 'GET',\r\n        headers: {\r\n          Authorization: `Bearer ${accessToken}`,\r\n        },\r\n      })\r\n        .then((response) => {\r\n          if (!response.ok) {\r\n            return Promise.reject();\r\n          }\r\n          return response.json();\r\n        })\r\n        .then((data) => {\r\n          let index = 0;\r\n          const formattedMessages = data.messages.map((message) => {\r\n            const date = new Date(message.date);\r\n            const day = date.toLocaleDateString();\r\n            const time = date.toLocaleTimeString();\r\n            index += 1;\r\n            return {\r\n              date: `${day} ${time}`,\r\n              sender: message.sender,\r\n              text: message.text,\r\n              id: `message-${index}`,\r\n            };\r\n          });\r\n          setMessages(formattedMessages);\r\n        })\r\n        .catch((err) => {\r\n          /* eslint-disable no-console */\r\n          console.error(err);\r\n        });\r\n    }\r\n  }, [authState]);\r\n\r\n  return messages\r\n}\r\n\r\nexport default useMessages","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\removeAccount\\confirmRemoveAccountModal\\ConfirmRemoveAccountModal.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\reportForm\\assign\\Assign.js",["142","143","144","145","146","147"],"import React, { useState } from 'react'\r\nimport \"./Assign.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nconst Assign = () => {\r\n  const personalProjects = [\r\n    { id: \"MyApp\", type: \"personal\" },\r\n    { id: \"MyOtherApp\", type: \"personal\" }\r\n  ]\r\n\r\n  const sharedProjects = [\r\n    { id: \"ReactApp\", type: \"shared\", teams: [{ name: \"Henriks Meme Machine\" }, { name: \"Teskeholdet\" }] },\r\n    { id: \"Very big ReactApp\", type: \"shared\", teams: [{ name: \"Aubergine\" }] }\r\n  ]\r\n\r\n\r\n  const rootDirectoryObjects = [\r\n    { id: \"Personal projects\" },\r\n    { id: \"Shared projects\" }\r\n  ]\r\n\r\n  const DirectoryItems = () => {\r\n    return (\r\n      <div className=\"multi-level\">\r\n        <div className=\"item\">\r\n          <input type=\"checkbox\" id=\"A\" />\r\n          <label for=\"A\">\r\n            <FontAwesomeIcon icon=\"folder\" className=\"folder-icon\"></FontAwesomeIcon>\r\n            <a>&nbsp; {rootDirectoryObjects[0].id} &nbsp;</a>\r\n            <FontAwesomeIcon icon=\"chevron-right\" className=\"arrow-right-icon\"></FontAwesomeIcon>\r\n          </label>\r\n\r\n          <ul>\r\n            {personalProjects.map((elements, index) => (\r\n              <li className=\"personalProjectsItem\">\r\n                <input type=\"checkbox\" id={`A-${index}`} />\r\n                <label for={`A-${index}`}>\r\n                  <FontAwesomeIcon icon=\"angle-right\" className=\"project-icon\"></FontAwesomeIcon>\r\n                  <a>&nbsp; {personalProjects[index].id} &nbsp;</a>\r\n                </label>\r\n              </li>\r\n            ))}\r\n          </ul>\r\n        </div>\r\n\r\n        <div className=\"item\">\r\n          <input type=\"checkbox\" id=\"B\" />\r\n          <label for=\"B\">\r\n            <FontAwesomeIcon icon=\"folder\" className=\"folder-icon\"></FontAwesomeIcon>\r\n            <a>&nbsp; {rootDirectoryObjects[1].id} &nbsp;</a>\r\n            <FontAwesomeIcon icon=\"chevron-right\" className=\"arrow-right-icon\"></FontAwesomeIcon>\r\n          </label>\r\n\r\n          <ul>\r\n            {sharedProjects.map((elements, index) => (\r\n              <li><div className=\"sub-item\">\r\n                <input type=\"checkbox\" id={`B-${index}`} />\r\n                <label for={`B-${index}`}>\r\n                  <FontAwesomeIcon icon=\"folder\" className=\"folder-icon\"></FontAwesomeIcon>\r\n                  <a>&nbsp; {sharedProjects[index].id} &nbsp;</a>\r\n                  <FontAwesomeIcon icon=\"chevron-right\" className=\"arrow-right-icon\"></FontAwesomeIcon>\r\n                </label>\r\n\r\n                <ul>\r\n                  {sharedProjects[index].teams.map(team => (\r\n                    <li><div className=\"team-item\">\r\n                      <input type=\"checkbox\" id={`team-${team.name}`} />\r\n                      <label for={`team-${team.name}`}>\r\n                        <FontAwesomeIcon icon=\"users\" className=\"users-icon\"></FontAwesomeIcon>\r\n                        <a>&nbsp; {team.name} &nbsp;</a>\r\n                      </label>\r\n                    </div>\r\n                    </li>\r\n                  ))}\r\n                </ul>\r\n              </div>\r\n              </li>\r\n            ))}\r\n          </ul>\r\n        </div>\r\n      </div>\r\n\r\n    )\r\n  }\r\n\r\n  return (\r\n    <div className=\"assignSelectContainer\">\r\n      <DirectoryItems />\r\n    </div >\r\n  )\r\n}\r\n\r\nexport default Assign","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\home\\updates\\Updates.js",["148","149","150","151"],"import React from 'react'\r\nimport \"./Updates.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport useMessages from '../../../util/useMessages'\r\n\r\nconst Updates = () => {\r\n  const messages = useMessages()\r\n\r\n  return (\r\n    <div className=\"project-updates-new-messages-container\">\r\n\r\n      <div className=\"project-updates-display-container\">\r\n        <div className=\"project-updates-display-header\">\r\n          <p>\r\n            <FontAwesomeIcon icon=\"exclamation\"></FontAwesomeIcon>\r\n            &nbsp;&nbsp;New project updates\r\n          </p>\r\n        </div>\r\n        <div className=\"project-updates-display-content\">\r\n          <div className=\"project-update-entry\">\r\n            <div className=\"entry-text\">\r\n              <div className=\"upper-row\">\r\n                <a>\r\n                  [project] [new issues] [issues fixed]\r\n                </a>\r\n              </div>\r\n              <div className=\"bottom-row\">\r\n                <a>\r\n                  [team] [time]\r\n                </a>\r\n              </div>\r\n            </div>\r\n            <div>\r\n              <FontAwesomeIcon className=\"entry-icon\" icon=\"chevron-right\"></FontAwesomeIcon>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n\r\n      <div className=\"new-messages-display-container\">\r\n        <div className=\"new-messages-display-header\">\r\n          <p>\r\n            <FontAwesomeIcon icon=\"envelope\"></FontAwesomeIcon>\r\n            &nbsp;&nbsp;New messages\r\n          </p>\r\n        </div>\r\n        {messages ? messages.map((message) => (\r\n          <div className=\"new-messages-display-content\">\r\n            <div className=\"new-message-entry\">\r\n              <div className=\"entry-text\">\r\n                <div className=\"upper-row\">\r\n                  <a>\r\n                    [{message.sender}] [{message.id}]\r\n                  </a>\r\n                </div>\r\n                <div className=\"bottom-row\">\r\n                  <a>\r\n                    [team] [{message.date}]\r\n                  </a>\r\n                </div>\r\n              </div>\r\n              <div>\r\n                <FontAwesomeIcon className=\"entry-icon\" icon=\"chevron-right\"></FontAwesomeIcon>\r\n              </div>\r\n            </div>\r\n          </div>\r\n        )) : \"Loading messages\"}\r\n      </div>\r\n    </div>\r\n  )\r\n}\r\n\r\nexport default Updates","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\login\\signUp\\SignUp.js",["152","153"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\login\\passwordReset\\PasswordForgotModal.js",["154","155"],"import React, { useState, useRef, useEffect } from 'react'\r\nimport config from '../../../config'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport \"./PasswordForgotModal.css\"\r\nimport MessageModal from '../../../components/messageModal/MessageModal';\r\n\r\n\r\n// TODO : Clean up and make more like the message modal component\r\nconst PasswordForgotModal = () => {\r\n  const [forgotPasswordFormVisibilityState, setForgotPasswordFormVisibilityState] = useState(false)\r\n  const forgotPasswordFormRef = useRef(null)\r\n  const toggleForgotPasswordFormVisible = () => setForgotPasswordFormVisibilityState(!forgotPasswordFormVisibilityState)\r\n\r\n  const [submitOkMessageModalState, setSubmitOkMessageModalState] = useState(false);\r\n\r\n  const [username, setUsername] = useState('');\r\n\r\n  const handleUsernameChange = (e) => {\r\n    setUsername(e.target.value);\r\n  };\r\n\r\n  useEffect(() => {\r\n    const pageClickEvent = (e) => {\r\n      if (forgotPasswordFormRef.current !== null && !forgotPasswordFormRef.current.contains(e.target)) {\r\n        toggleForgotPasswordFormVisible()\r\n      }\r\n    };\r\n\r\n    // If the item is active (ie open) then listen for clicks\r\n    if (forgotPasswordFormVisibilityState) {\r\n      window.addEventListener('click', pageClickEvent);\r\n    }\r\n\r\n    return () => {\r\n      window.removeEventListener('click', pageClickEvent);\r\n    }\r\n\r\n  }, [forgotPasswordFormVisibilityState]);\r\n\r\n  const userInputData = JSON.stringify({\r\n    email: `${username}`,\r\n  })\r\n\r\n  const ForgotPasswordRequestOptions = {\r\n    method: 'PUT',\r\n    body: userInputData\r\n  }\r\n\r\n  const handlePasswordForgot = (e) => {\r\n    e.preventDefault();\r\n\r\n    fetch(config.serviceAPI.forgotPasswordURL, ForgotPasswordRequestOptions)\r\n      .then((res) => {\r\n        if (!res.ok) {\r\n          window.alert(\"Error: something went wrong\")\r\n          console.log(res)\r\n          Promise.reject(\"\")\r\n          return\r\n        }\r\n        if (res.ok) {\r\n          toggleForgotPasswordFormVisible()\r\n          setSubmitOkMessageModalState(true)\r\n        }\r\n      })\r\n  }\r\n\r\n  return (\r\n    <div>\r\n      <div className=\"password-forgot-prompt\">\r\n        <span>\r\n          <a onClick={toggleForgotPasswordFormVisible}>Forgot password</a>\r\n        </span>\r\n      </div>\r\n\r\n      {/* Forgot password modal */}\r\n      <div className={`modal ${forgotPasswordFormVisibilityState ? \"active\" : \"inactive\"}`}>\r\n        <div ref={forgotPasswordFormRef} className=\"modal-content\">\r\n          <div className=\"recoverPasswordForm\">\r\n            <h2>Recover password</h2>\r\n            <form onSubmit={handlePasswordForgot}>\r\n              <label>\r\n                Email:\r\n                <input\r\n                  id=\"email\" type=\"text\"\r\n                  value={username}\r\n                  onChange={handleUsernameChange} />\r\n              </label>\r\n              <label>\r\n                An email with a password recovery link will be sent if it is registered in our system\r\n              </label>\r\n              <button className=\"formSubmitButton\" type=\"submit\">\r\n                Submit&nbsp;&nbsp;\r\n                <FontAwesomeIcon icon=\"arrow-right\"></FontAwesomeIcon>\r\n              </button>\r\n            </form>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div className={`modal ${submitOkMessageModalState ? \"active\" : \"inactive\"}`}>\r\n        <MessageModal removeModal={() => setSubmitOkMessageModalState(false)} headerMessage={\"Email submitted!\"} bodyMessage={\"An email with a password recovery link will be sent if it is registered in our system\"} />\r\n      </div>\r\n    </div>\r\n\r\n  )\r\n}\r\n\r\nexport default PasswordForgotModal\r\n","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\navLinks\\NavLinks.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\logo\\Logo.js",["156","157"],"import React from 'react'\r\nimport { NavLink } from 'react-router-dom'\r\nimport \"./Logo.css\"\r\nimport logo_picture from \"../../../images/bird-logo.jpg\"\r\nimport logo_text from \"../../../images/logo-text.jpg\"\r\n\r\nconst Logo = () => {\r\n  return (\r\n    <h1 className=\"title\">\r\n      <span className=\"title-icon\">\r\n        <NavLink to=\"/home\" id=\"logo\">\r\n          <img src={logo_picture} width=\"24\" height=\"24\"></img>\r\n          <img src={logo_text} width=\"48\" height=\"24\"></img>\r\n        </NavLink>\r\n      </span>\r\n    </h1>\r\n  )\r\n}\r\n\r\nexport default Logo","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\searchbar\\Searchbar.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navbar\\dropdownMenu\\NavbarDropdownMenu.js",["158"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectInfo\\activityChart\\ActivityChart.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\pages\\project\\projectInfo\\activitiesDisplay\\ActivitiesDisplay.js",["159","160","161","162"],"import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport React from 'react'\r\nimport \"./ActivitiesDisplay.css\"\r\n\r\nconst ActivitiesDisplay = () => {\r\n  return (\r\n    <div className=\"activity-new-issues-display-container\">\r\n\r\n      <div className=\"new-issues-display-container\">\r\n        <div className=\"new-issues-display-header\">\r\n          <p>\r\n            <FontAwesomeIcon icon=\"inbox\"></FontAwesomeIcon>\r\n            &nbsp;&nbsp;New issue reports\r\n          </p>\r\n        </div>\r\n        <div className=\"new-issues-display-content\">\r\n          <div className=\"new-issue-report-entry\">\r\n            <div className=\"entry-text\">\r\n              <div className=\"upper-row\">\r\n                <a>\r\n                  [Severity] [type]\r\n                </a>\r\n              </div>\r\n              <div className=\"bottom-row\">\r\n                <a>\r\n                  [project] [time]\r\n                </a>\r\n              </div>\r\n            </div>\r\n            <div>\r\n              <FontAwesomeIcon className=\"entry-icon\" icon=\"chevron-right\"></FontAwesomeIcon>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n\r\n      <div className=\"activity-display-container\">\r\n        <div className=\"activity-display-header\">\r\n          <p>\r\n            <FontAwesomeIcon icon=\"sticky-note\"></FontAwesomeIcon>\r\n            &nbsp;&nbsp;Recent Team activities\r\n          </p>\r\n        </div>\r\n        <div className=\"activity-display-content\">\r\n          <div className=\"new-issue-report-entry\">\r\n            <div className=\"entry-text\">\r\n              <div className=\"upper-row\">\r\n                <a>\r\n                  [Name] [action]\r\n                </a>\r\n              </div>\r\n              <div className=\"bottom-row\">\r\n                <a>\r\n                  [project] [time]\r\n                </a>\r\n              </div>\r\n            </div>\r\n            <div>\r\n              <FontAwesomeIcon className=\"entry-icon\" icon=\"chevron-right\"></FontAwesomeIcon>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </div>\r\n  )\r\n}\r\n\r\nexport default ActivitiesDisplay","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\updateUserData\\updateUserDataModal\\UpdateUserDataModal.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\messageModal\\MessageModal.js",[],{"ruleId":"163","replacedBy":"164"},{"ruleId":"165","replacedBy":"166"},{"ruleId":"167","severity":1,"message":"168","line":1,"column":1,"nodeType":"169","endLine":17,"endColumn":3},{"ruleId":"170","severity":1,"message":"171","line":75,"column":11,"nodeType":"172","endLine":75,"endColumn":123},{"ruleId":"170","severity":1,"message":"171","line":76,"column":11,"nodeType":"172","endLine":76,"endColumn":127},{"ruleId":"173","severity":1,"message":"174","line":8,"column":9,"nodeType":"175","messageId":"176","endLine":8,"endColumn":25},{"ruleId":"173","severity":1,"message":"177","line":13,"column":9,"nodeType":"175","messageId":"176","endLine":13,"endColumn":23},{"ruleId":"170","severity":1,"message":"171","line":43,"column":19,"nodeType":"172","endLine":43,"endColumn":22},{"ruleId":"178","severity":1,"message":"179","line":47,"column":6,"nodeType":"180","endLine":47,"endColumn":17,"suggestions":"181"},{"ruleId":"173","severity":1,"message":"182","line":1,"column":17,"nodeType":"175","messageId":"176","endLine":1,"endColumn":25},{"ruleId":"170","severity":1,"message":"171","line":29,"column":13,"nodeType":"172","endLine":29,"endColumn":16},{"ruleId":"170","severity":1,"message":"171","line":39,"column":19,"nodeType":"172","endLine":39,"endColumn":22},{"ruleId":"170","severity":1,"message":"171","line":50,"column":13,"nodeType":"172","endLine":50,"endColumn":16},{"ruleId":"170","severity":1,"message":"171","line":60,"column":19,"nodeType":"172","endLine":60,"endColumn":22},{"ruleId":"170","severity":1,"message":"171","line":70,"column":25,"nodeType":"172","endLine":70,"endColumn":28},{"ruleId":"170","severity":1,"message":"171","line":23,"column":17,"nodeType":"172","endLine":23,"endColumn":20},{"ruleId":"170","severity":1,"message":"171","line":28,"column":17,"nodeType":"172","endLine":28,"endColumn":20},{"ruleId":"170","severity":1,"message":"171","line":52,"column":19,"nodeType":"172","endLine":52,"endColumn":22},{"ruleId":"170","severity":1,"message":"171","line":57,"column":19,"nodeType":"172","endLine":57,"endColumn":22},{"ruleId":"173","severity":1,"message":"183","line":9,"column":10,"nodeType":"175","messageId":"176","endLine":9,"endColumn":22},{"ruleId":"178","severity":1,"message":"184","line":31,"column":6,"nodeType":"180","endLine":31,"endColumn":33,"suggestions":"185"},{"ruleId":"178","severity":1,"message":"186","line":38,"column":6,"nodeType":"180","endLine":38,"endColumn":41,"suggestions":"187"},{"ruleId":"170","severity":1,"message":"171","line":71,"column":11,"nodeType":"172","endLine":71,"endColumn":56},{"ruleId":"188","severity":1,"message":"189","line":12,"column":11,"nodeType":"172","endLine":12,"endColumn":58},{"ruleId":"188","severity":1,"message":"189","line":13,"column":11,"nodeType":"172","endLine":13,"endColumn":55},{"ruleId":"170","severity":1,"message":"171","line":88,"column":15,"nodeType":"172","endLine":88,"endColumn":35},{"ruleId":"170","severity":1,"message":"171","line":20,"column":17,"nodeType":"172","endLine":20,"endColumn":20},{"ruleId":"170","severity":1,"message":"171","line":25,"column":17,"nodeType":"172","endLine":25,"endColumn":20},{"ruleId":"170","severity":1,"message":"171","line":48,"column":17,"nodeType":"172","endLine":48,"endColumn":20},{"ruleId":"170","severity":1,"message":"171","line":53,"column":17,"nodeType":"172","endLine":53,"endColumn":20},"no-native-reassign",["190"],"no-negated-in-lhs",["191"],"import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration","jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","no-unused-vars","'personalProjects' is assigned a value but never used.","Identifier","unusedVar","'sharedProjects' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'oktaAuth'. Either include it or remove the dependency array.","ArrayExpression",["192"],"'useState' is defined but never used.","'sessionToken' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'toggleSignUpFormVisible'. Either include it or remove the dependency array.",["193"],"React Hook useEffect has a missing dependency: 'toggleForgotPasswordFormVisible'. Either include it or remove the dependency array.",["194"],"jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","no-global-assign","no-unsafe-negation",{"desc":"195","fix":"196"},{"desc":"197","fix":"198"},{"desc":"199","fix":"200"},"Update the dependencies array to be: [authState, oktaAuth]",{"range":"201","text":"202"},"Update the dependencies array to be: [signUpFormVisibilityState, toggleSignUpFormVisible]",{"range":"203","text":"204"},"Update the dependencies array to be: [forgotPasswordFormVisibilityState, toggleForgotPasswordFormVisible]",{"range":"205","text":"206"},[1422,1433],"[authState, oktaAuth]",[1017,1044],"[signUpFormVisibilityState, toggleSignUpFormVisible]",[1372,1407],"[forgotPasswordFormVisibilityState, toggleForgotPasswordFormVisible]"]