Skip to content

Commit 621112b

Browse files
authored
Feature leads (#3)
* fix: authentication api urls * feat: display contacts and add contact * feat: update edit contacts * feat: update view contacts - overview * feat: update add account * feat: update add account - validations * feat: update accounts display * feat: update accounts display - user details modal * fix: closed accounts modal * feat: update search filters in accounts * feat: update add lead * feat: update display leads * update ActionButtons UI Component on leads * refactor: accounts, fix: ActionButtons comp props * refactor: update UIComponents * update few validations for leads, UIComps - wip * feat: update edit leads - wip * update: leads delete * refact: update Add Lead UIComponents * feat: update delete for accounts * fix: update edit lead * feat: search filters for leads * fix: update accounts user modal * update lead modal in leads * updated app.js fetch * update documents template * update view account - contacts section * updated UI components for account - overview * fix: SelectComponent display value * fix: removed width for table head, table data and added column scope * remove console.log and unnecessary code * changed fetch to axios * Chnaged contacts class to function components * update modal UI component, contacts modal * contact filter for name and city * changed login localhost url to bottlecrm url * update tags for leads, contacts * update time formats * made modifications to files as per pull request comments * changed the redirect url to bottlecrm * update TagInput Component * fix: deleteActionButtion axios * update contacts dropdown as username - email format * sends contact object in formData * update assignedTo filter in contacts * update UI components for Contacts * refactor accounts filter method
1 parent d892f2d commit 621112b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3598
-194
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@
66
"@testing-library/jest-dom": "^4.2.4",
77
"@testing-library/react": "^9.3.2",
88
"@testing-library/user-event": "^7.1.2",
9+
"axios": "^0.21.0",
10+
"formik": "^2.2.5",
11+
"moment": "^2.29.1",
912
"react": "^16.13.1",
1013
"react-dom": "^16.13.1",
14+
"react-phone-input-2": "^2.13.9",
1115
"react-router-dom": "^5.2.0",
12-
"react-scripts": "3.4.1"
16+
"react-scripts": "3.4.1",
17+
"react-select": "^3.1.0"
1318
},
1419
"scripts": {
1520
"start": "react-scripts start",

public/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1313
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
14-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" />
15-
<link rel="stylesheet" href="./main.css" />
14+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" />
15+
<link rel="stylesheet" href="/main.css" />
1616
<!--
1717
manifest.json provides metadata used when your web app is installed on a
1818
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
@@ -41,5 +41,8 @@
4141
To begin the development, run `npm start` or `yarn start`.
4242
To create a production bundle, use `npm run build` or `yarn build`.
4343
-->
44+
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
45+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
46+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
4447
</body>
4548
</html>

0 commit comments

Comments
 (0)