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.
- English translation
- Polish translation
- Fix order response of ProductReview when using orderBy reviewDateTime
- Security vulnerabilities
- Locales substring start index
- Using static language-country pairings derived from the locale and searching for
locale={locale}-*
only as fallback
- Rollback last version
- Using static language-country pairings derived from the locale and searching for
locale={locale}-*
only as fallback
- Prefix wildcard to query for locale at Master Data's ProductReviews
- Translation of the ShowMore component.
- Fixes of i18n on readme file.
- German translation.
showMoreButton
CSS handles.
- The ShowMore component now has a CSS handle:
showMoreButton
- Added ListOrders policy
- Add Hardretries in signed in users while verifiying average rating
- Review api allows duplicate reviews. So, created a ticket (REVIEWS-135) and disabled the testcase
- For verifiedPurchaser testcase, added HasShopperReviewed intercept
- Added updateRetry to verify ratings and some messages
- Removed store-graphql dependency
- Fixed context provider error on the get review query
- Fixed review state dispatch & improve GetAverageRatingByProductId loading time
- Fixed product search and added assertions before targeting the search selectors
- Fixed review stars laoding
- Updated the App name and using the graphql from common folder
- Updated cy-runner.yml and removed unneccesary selectors
- Portuguese translations.
- Indonesian translation.
- Italian and English translations.
- Custom GTM dataLayer event for when user submits a review
- Count stars within the
averageRatingByProductId
query
- GitHub reusable workflow and cy-runner updated to version 2
- Added GraphQL provider to queries and mutations
- Added additional VerifySchema checks
- VerifySchema now uses the app's token to authenticate
- Added error log if app is unable to search MasterData
- Adjust GraphQL caching
- (REVIEWS-118) If datetime parsing fails, attempt parsing by cultureinfo
- Fixed empty strings to "0".
- Increased memory in service.json file.
- (REVIEWS-112) Fixed time ago intl variables.
- (REVIEWS-112) Fixed time ago messages.
- (REVIEWS-108)
- Reduced calls to Verify Schema to instances when we should have valid credentials
- Changed Task Cancelled errors to warnings.
- English, Spanish, Italian, Portuguese and Thai translations.
- (REVIEWS-107) Translate 'Migrate Data' button to all languages.
- Added Auth to edit/delete/moderate reviews
- (REVIEWS-102) Updated VerifySchema function
- Convert to review date to local time in the front pending and approved tables.
- Use IsNullOrEmpty for validations in rest APIs.
- Thai translations.
- French translations.
- Added body fields validations for post methods rest api.
- (REVIEWS-98) Added error handling.
- Create a review saved custom event to update the RatingSummary component.
- Use useQuery graphQL hook to destructure refetch in RatingSummary component.
- Use useQuery graphQL hook to destructure refetch in Reviews component.
- Passed refetchReviews to ReviewForm component to refetch after a new review is saved.
- Updated readme file for API documentation and graphQL endpoints.
- Deprecate the reviewByDateTime graphQL service.
- Set a default time to 23:59:59 in reviewByDateRange if no time received in toDate param.
- Update reviews list without refresh the page when save a new review.
- Set a default value as 5 if the reviews has no rating.
- Fix the time of the review in case of invalid date.
- Render loading message before product page completely loads.
-If adminApproval is false set approved to true when save review.
- Fixed newReview mutation to avoid locale equal to "".
- Create the EditReviewInputType for the editReview mutation.
- Set default values to from and to variables in the graphQL schema.
- Change the query arguments to be strings in order to match the types.
- Force UTC format date.
- Remove the UTC string to avoid returning invalid date for new Date.
- Use search-date field to order reviews instead reviewDateTime.
- Change the order of the PUT calls, i put first the verify schema and then the hashed one in vBase.
- Throw Exception message if the first put schema status code !IsSuccessStatusCode or NotModified.
- Structured data rendered only if reviews > 0.
- Set
awaitRefetchQueries
tofalse
.
- Fix the ValidateKeyAndToken function alerts, added retry and maximum retry is 5 times
- Conditioning the use of AND depending on locale parameter in GetReviewsByProductId.
- GetReviewsByProductId url request fixed.
- Arabic translation.
Fix the bug for product reviews filter at store front
Fix the bug for totalReviewsByProductId query
- added admin setting about default stars of rating
- Added warning information about the migration of data admin button.
- admin panel pagination bugfix
- Added Locale(Bindings) filters feature for the store front
- reviewsByProductId input string format errors
- review GET, PATCH, POST
- Eslint errors and warnings except Unexpected any.
- remove package-lock.json and reinstall yarn
- Fixed headers for Verify Schema.
- Add to verify schema process hashed schema comparison.
- Run Migrate Data automatically only when it's necessary.
- Added a button to migrate data if they need.
- Quality engineering actions (SonarCloud analysis for .Net and TS)
- Use product's URI as @id on
Product
schema forRatingSummary
andReviews
blocks.
- Bugfix for the rating parsing issues
- Added rating filters feature for the store front
- French, Italian, Japanese, Korean, Portuguese, Dutch and Romanian translations
- Pseudolanguage
- Specify cache control for REST API
- Set alreadysubmitted state depending on the hasAlreadySubmitted query response.
- Enabled cache for REST API.
- Fixed get call reviews filtering correctly by the approve field according on the require approval setting
- Added immediate indexing in MasterData to fix caching problems
- Metadata folder re-estructured according the new submit process
- Fixed Place icon.png into images folder
- Improved logging of migration
- Fixed Admin Messages
- Updated README file
- Add date range fillter and the export function in the new 'download' tab
- Performance improvements
- Pagination
- Added REST-Range header to search
- Data migration error handing
- Changed from vBase to Masterdata
- I18n Bg and pseudo language to implement In Context tool.
-Loading reviews messages translated
- Limit number of records
- Increased timeout
- Default to false when Approved is null
- Add setting to display stars in
product-rating-inline
block when the product has no reviews - Use locale to format review's date in account admin view
- Fix to editing review
- Added a CSS handle for review pagination container
- Add loading state to "Submit Review" button to prevent duplicate submissions
- When validating app key and token, first validate with VTEX ID to see if key/token pair is valid, then validate with License Manager to see if app key has access to at least one resource
Get_Account_By_Identifier
policy
- Removed sensitive information from log
- Fix path in manafest.json
- Fix license validate url
- Fix to API user validation
formSection
,formBottomLine
,formRating
,formName
,formLocation
,formEmail
,formReview
,formSubmit
,formInvalidMessage
,reviewCommentMessage
,reviewsOrderBy
,reviewInfo
,reviewVerifiedPurchase
,reviewDate
,reviewDateSubmitted
,reviewDateValue
,reviewAuthor
,reviewAuthorBy
,reviewAuthorName
,summaryTotalReviews
andwriteReviewButton
CSS handles.
- Review details structure (author and date) from using
ul
todiv
andspan
s.
- Fix for anonymous review submission
- Showing sensitive information
- I18n Fr, It, Kr and Nl.
- Crowdin configuration file.
- Added an
id
property to structered data
- CPU factor by
80
- I18n Ro.
- I18n Jp.
- Crowdin configuration file.
- Added CPU request to service.json
- Changed user validation url
- Added outbound access policies
- Logging
- Added prop position to v4 navigation item object in
admin/navigation.json
- Added API interface
- Display graph option in app settings
- New settings to display stars even if the product has no reviews
- New settings to hide the total number of reviews in product-rating-summary block
- New settings to add
Add Review
button under the stars in product-rating-summary block
- App types.
- DOM hierarchy.
- Use Apollo and React Intl hooks instead of HOCs.
- Setting infrastructure
replica
parameters
- Navigation setup for admin v4.
- Missing parenthesis in translation message.
- Display graph option in app settings
- Missing parenthesis in translation message.
- Display graph option in app settings
- New settings to display stars even if the product has no reviews
- New settings to hide the total number of reviews in product-rating-summary block
- New settings to add
Add Review
button under the stars in product-rating-summary block
- Missing parenthesis in translation message.
- New feature to specify number of initial expanded reviews
- Missing CSS Handles
- App documentation (
readme.md
file)
- New app store descriptions (EN, ES, PT) and transparent icon
- Add billingOptions type and availableCountries
- Dependabot: Bump lodash from 4.17.15 to 4.17.19
- Add app store assets and billing options
- Update docs
- Default value of email input
- CSS handle for login link
- Implement JSON.stringify to ensure LD+JSON is valid
- LD+JSON structured data snippets for reviews
- Console errors generated by dropdown and form components
reviewsHeading
andreviewCommentsContainer
CSS handles.
- Check if user is a "Verified Purchaser"
- Bump dependencies versions.
es
local translation
- New feature switch to swap collapsible review text accordions for staticly displayed reviews with show more/show less links
- CSS Handles, including new
writeReviewContainer
handle
- Changed Queries to Async
- Improved date field sorting
- Implemented full internationalization for admin and frontend messages
- Documentation updated
- App will no longer attempt to display reviews containing invalid JSON
- Calls to VBASE now use account and workspace from request headers rathen than env variables
- Infra service calls (vbase, apps) now use new
infra.io.vtex.com
domain
- Republishing app to fix empty
plugins.json
- Republishing app to fix empty
plugins.json
(failed)
- Admin table now shows product name (and link to product form page) in addition to product ID
- Added "pointer" className to
StarPicker
- Docs folder and README.md
- Removed
review-form
interface and plugin (review form is embedded inReviews
component, not displayed on separate page)
averageRatingByProductId
andtotalReviewsByProductId
queries now takerequireApproval
setting into account
- New review form now includes a custom
StarPicker
component instead ofNumericStepper
- "Please log in to write review" message now includes link to login page
- If 'approval required' setting is enabled, only count approved reviews in average & totals
- Disabled truncation of review text in admin.
- Initial release.