All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- fixed trade policy not saving
Custom Fields:
- Added custom fields to save more information when creating a new cost center or organization
- Custom fields not required fields on registration and could be show/hidden for the customer
- Updated admin-ui package to the latest version, which is required to make the table work
- Fixed breaking changes with Toast component
- Updated some of the wording in multiple languages
- When the user logs in or switches the organization, the data into
__RUNTIME__
is updated
- Added the UI to handle the Payment terms and Price tables
- Modal to switch the company rather than AutoComplete component
- Handle the sellers on the Organization Details
- Handle the UI settings (modal, clear cart and auto approve)
- Removing the ref interface
- Bug fixed on ref interface file
- Indonesian translation.
- Arabic, Bulgarian, Catalan, Czech, Danish, German, Greek, English, Spanish, Finnish, French, Italian, Korean, Dutch, Norwegian, Polish, Portuguese, Romanian, Russian, Slovakian, Slovenian, Swedish, Thai and Ukrainian translations.
- it was removed the duplicated validation due to the one to many feature
- Cypress improvements
- Bug fixed on interfaces reference
- Added the possibility to control whether to show the dropdowns in the UserWidget component when we have more than one organization associated with the email
- Some yarn package vulnerabilities reported by Dependabot
=======
- Fixed on the sales channel values
- Fixed on user widget label (cost center) and limit the number of organizations by 15
- Added the state registration field to the cost center UI
- Split bindings testcase into two files
- Feature related to one to many feature, it's possible to change the current organization by using the user widget on the top of storefront
- it was grouped the graphql Queries in order to improve the performance on the storefront user widget
- Improve the organization binding setting UI
- bugfix on mkt tags UI
- Move the sales channel to a separate tab and made it radio type field
- Added the marketing tags handling on the cost center details
- Reusable workflow updated to version 2
- Added sales channels binding selection setting
- Added a warning message when the customer schema is invalid.
- Translations for all Storefront languages.
- English translations.
- Fixed on update the user data, and it disappeared from the list
- Fixed organization bulk action button text.
- Initial Crowdin integration
- UI support for organization
tradeName
and cost centerphoneNumber
fields
- Add error messages improvement
- Github Action to trigger manual tests by dispatch
- Added addressID duplicate check, and set hashcode of the address string as the addressID
- Fixed on the sales roles impersonation customer users
- Added new features to sales admin, a new UI to handle the users
- Added the UI pagination to users list
- Added a permission to sales manager to handle the users (manager and representative)
- Enabled all the roles on the admin UI interface organization add and edit
- Added a new UI component to handle the organizations without a sales manager
- Added handling to the addUser mutation by showing the correct message when the user already exists
- Added on the Organizations' page the navigation tabs to switch between organizations and organizations requests
- Added on the Organizations details page the navigation tabs to switch between the components being organized
- Include trade policies in price table listing
- Changed the saveUser mutation to addUser and saveUser mutations
- Added a setTimeout and set the loader until the user's table is loaded
- Fixed duplicate check to get the status from createOrganizationRequest instead of checking it in RequestOrganizationForm.tsx
- Added a new feature on creating the new address on the cost center which allows the user to set as the default address the new one.
- Added a sessionStorage remove item "b2b-checkout-settings" when a new impersonation or stop impersonation is called
- Add duplicate check for an email that is already associated with a pending or approved request
- UI for new cost center
businessDocument
field
- Add
fetchPolicy: 'network-only'
to various queries to ensure fresh data
- docs/images folder and its files to illustrate the documentation
- README.md file, reviewing the documentation
- When attempting to impersonate a user, frontend will no longer block impersonation if the
userId
is null. The impersonation mutation fromvtex.b2b-organizations-graphql
will attempt to determine theuserId
from the user'sclId
. If it can't, an error will be returned which will trigger the frontend to display an appropriate message.
Added default shipping address UI option to my account and admin
- Visual indicator for collections / payment terms / price tables that have been assigned to an organization (they now have a checkmark and are greyed out in the "available" list)
Impersonate User
action in organization user list- Impersonation status in
b2b-user-widget
Stop Impersonation
action inb2b-user-widget
- User list now shown in Organizations admin panel
- User list is now ordered alphabetically by email
- Remove user mutation now receives correct variable
- After adding a cost center in the storefront UI, it will immediately be shown in the cost centers dropdown menu when adding or editing a user
- Remove billing options
- Added a new button after the organization request form has been submitted which cleans the localStorage property in order to enable submitting another one if the user needs
- Better validation for email addresses in forms
- Better validation for required fields in forms
- Ensure forms cannot be submitted multiple times by clicking multiple times
- Ensure cost center addresses can be edited by org admin
- Payment term toggle in admin cost center details page no longer behaves erratically
- Documentation
- SonarCloud quality analysis
- Organization status now shown in
b2b-user-widget
- "View" row action in admin organizations table
- Organization admin can enable/disable specific payment term options per cost center
- Bug preventing cost center details page in admin from rendering
- Organization request form will now show an appropriate message if the current user has already submitted a request
- My Organization link/page to My Account
/organization/(:id)
and/cost-center/:id
routes (these pages are now accessible via My Account)
- Payment Term and Collection IDs are now saved/loaded correctly in organizations admin UI
- Sales users are no longer editable by organization users in storefront organization UI
b2b-user-widget
block and component to show logged in user's organization details- Additional permission checks to storefront UI
- Improved breadcrumb on cost center details page (storefront and admin)
- Storefront UI for B2B customer admins to manage their organization (cost centers and users)
- Store admin can now delete cost center addresses
- Update toast usage to match new
@vtex/admin-ui
requirements - Allow organization names to be changed through
OrganizationDetails
admin component
- Organization Payment Terms
- Optimize intl messages
- Initial release