This is a fork of the vtex.admin-customers
to keep the integration with B2B Suite
Customers Admin
A VTEX admin app that helps the management of your customer data. This application allows the user to create, edit and search for customers. It's an alternative for MasterData when it comes to managing the documents from CL entity.
The vtex.admin-customers-graphql
is a dependence of this application. Its responsibility is to group all the GraphQL queries and mutations that are needed to manage data from MasterData.
🚀 Installation
Using VTEX IO Toobelt log into the VTEX account you are working on and install the latest version:
_10vtex install vtex.b2b-admin-customers
If everything went well, you can find the app by acessing Admin > Customers > Customers or acessing the URL /admin/customers
✅ Features
The list below presents every feature of this application, where the ones that are checked are already implemented. The features that are yet to come are unchecked.
Please, whenever a new feature from the list below is implemented, mind marking the checkbox and create a feature demo.
- Listing
- Memorize visibility fields
- Search
- Filters
- Creation
- Details view
- Edition
- Deletion of profile (GDPR/LGPD)
- Address association listing
- Schema viewing with user-level configuration
- Counters
🎥 Demonstration
Listing
Memorize visibility fields
The visibility fields is a feature to toggle visibility of table columns.
Here we have an additional feature that saves the preferred column visibility configuration of the end user, maintaining your configurations even after a page refresh and future visits to this page.
Search
The search input uses the fields: E-mail, First Name or Last Name to filter the results that matches the terms searched while also displaying the results on the table.
Filters
With these filters it is possible refine your search. You can filter by: E-mail, First Name, Last Name, Document ID, Document or Receive Newsletter.
Every filter has conditionals for you to choose from, it could be equal, not equal or contains.
Creation
Details view
Edition
☕ Developing
-
Clone this repo
git clone https://github.com/vtex/admin-customers
-
yarn --cwd react/
for code completion -
vtex link
-
Navigate to
workspace--account.myvtex.com/admin/app/example