Skip to content

Releases: sharetribe/web-template

v2.0.0

02 Jun 07:48
f582874

Choose a tag to compare

Changes v2.0.0

Release v2.0.0 uses hosted configs aka configurations fetched through Asset Delivery API.
(All the changes are made within this PR: #161 )

  • Upgrade sharetribe-flex-sdk

  • Use multi-asset fetch to retrieve config assets on React app:

    • translations: '/content/translations.json',
    • footer: '/content/footer.json',
    • branding: '/design/branding.json',
    • layout: '/design/layout.json',
    • listingTypes: '/listings/listing-types.json',
    • listingFields: '/listings/listing-fields.json',
    • search: '/listings/listing-search.json',
    • transactionSize: '/transactions/minimum-transaction-size.json',
  • Take commission.json asset into use (provider commission) on server routes:

    • /api/transaction-line-items/
    • /api/initiate-privileged/
    • /api/transition-privileged/
  • Show MaintenanceMode component if mandatory configs are not found from hosted assets

  • Add SectionFooter to PageBuilder and use it from FooterContainer.

  • Delete the old Footer component

  • Add defaultMicrocopy.json. It talks about listings instead of Biketribe bikes.

    • The en.json is a good themed starting point to be copied for a translation.json aka Console > Content > Microcopy
    • If translation.json is not set, defaultMicrocopy.json is used instead.

This also includes some bug fixes.

  • ListingPage.duck.js: timeUnit should use 'hour', when necessary.
  • Include a couple of scaled image variants on SearchPage to speed up listing page rendering.
  • PageBuilder: add word-break and hyphens to Link and Headings
  • PageBuilder: don't show spinner if there is content available
  • PageBuilder/SectionContainer: change default element from <div> to <section>
  • EditListingAvailabilityPanel: fix WeekPicker popup causing overflow on mobile screen
  • EditListingWizard: fix wrong default tabs for purchase and restrict editing if both listingType and unitType do not match

v1.0.0

25 Apr 08:55
e1dc592

Choose a tag to compare

Changes v1.0.0

This is the official release of Sharetribe Web Template, which combines the features of FTW-daily,
FTW-hourly and FTW-product into one configurable web template. It makes it easy to do things like
change the default transaction process (it supports two different processes, booking and purchase,
out of the box), switch between layout options, add custom fields and filters, and much more, all
through simple JSON configurations. The new template also features a new availability management
experience, redesigned email notifications, and several other improvements.

After the Beta release, we made modifications to the transaction process and email templates. There were time-formatting issues related to booking periods on email templates, new booking transition: transition/operator-complete, and quite a few other changes. If you have started on top of the Beta release, you should update your transaction processes with these new changes.

Changes on top of the Beta release

  • [change] Update default booking transaction process and email templates.
    #155

  • [change] AuthenticationPage: long email address caused overflow on mobile layout.
    #154

  • [fix] Fix booking email templates to show the correct end date in day-based bookings
    #153

  • [change] OrderPanel: separate mobile CTA buttons per process type
    #152

  • [fix] EditListingWizard: fix handling for outdated (old) listings.
    #151

  • [change] ListingImageGallery: thumbnail stripe was not overflowing correctly on mobile screens
    #150

  • [change] ListingImageGallery: prefer the aspect ratio of the first image with limits (2/1 ... 4/3)
    #149

  • [fix] ListingImageGallery: don't use sizes on fullscreen mode.
    #148

  • [fix] Mobile font-size had degraded to too small.
    #147

  • [fix] Email templates: Show booking time based on a line item type in booking templates
    #145

  • [change] Listing field of type enum should be explicitly handled as strings.
    #146

  • [fix] ListingImageGallery was not setting image dimensions aka sizes.
    #144

  • [change] change the default aspect ratio of listing cards to 4/3.
    #143

  • [change] Add a new automatic transition to the default-booking transaction process and adjust the
    timing of the complete transition #142

  • [fix] Email templates: fix the layout-breaking condition in purchase templates.
    141

  • [fix] Fix indentation in default transaction process email templates.
    #140

  • [fix] SearchPage error transparency and PageBuilder bg colors of sections.
    #139

  • [fix] EditListingDetailsForm: set listingFieldsConfig default prop to an empty array to fix a bug
    with the initial null value not getting a default in props destructuring.
    #138

  • [change] Update helmet library from v4.6.0 to v6.0.1. This causes some breaking changes:

    From there, we turned the crossOriginEmbedderPolicy off due to an issue with Youtube embed and
    useDefault flag too as these are tracked explicitly in csp.js

    #137

  • [change] Split redirection use case away from REACT_APP_SHARETRIBE_USING_SSL into
    SERVER_SHARETRIBE_REDIRECT_SSL environment variable.
    #136

  • [change] Add shutdown process for server when receiving close signals.
    #135

  • [fix] SearchPages: show message if date range is invalid and ignore it.
    #134

v1.0.0-beta

29 Mar 13:15
2bf31de

Choose a tag to compare

Changes v1.0.0-beta

This is the Sharetribe Web Template, which combines the features of FTW-daily, FTW-hourly and
FTW-product into one configurable web template. It makes it easy to do things like change the
default transaction process (it supports two different processes, booking and purchase, out of the
box), switch between layout options, add custom fields and filters, and much more, all through
simple JSON configurations. The new template also features a new availability management experience,
redesigned email notifications, and several other improvements.

For now, this is a beta release: the official Docs site doesn't yet mention the new template. In the
coming weeks, the new Template will replace Saunatime as the Template that powers the Demo sites,
and the Docs will be updated to reflect the fact that this is the new default Template.

Note: originally, this was created on top of the FTW-product. These are changes on top of it.

Changes

  • [change] Comment out additional listingTypes. Those are useful for testing purposes, but multiple
    listingTypes are not fully supported on search page yet.
    #130

  • [change] Add new email templates to default processes.
    #122

  • [fix] add fonts.googleapis.com to CSP connect-src.
    #129

  • [fix] search config for dates uses dateRangeMode not mode.
    #128

  • [Change] Rename 'listingExtendedData' and its variants to 'listingFields'.
    #127

  • [Change] Rename 'tire-size listing fields as 'tire' and update README.md.
    #126

  • [Change] Update README.md. Add links to beta version of Docs.
    #125

  • [fix] Heading was not imported correctly after changes to styling.
    #124

  • [change] rename some color-related CSS Properties.
    #122

  • [fix] Do not show stock in EditListingWizard if stockType is 'oneItem'.
    #121

  • [change] Update README.md and some code comments.
    #120

  • [delete] remove outdated translation files (fr.json, es.json, de.json). We'll introduce them
    again, when they are updated to match the current set of translation keys.
    #119

  • [fix] CheckoutPage: save unitType from publicData, not unitType in listingType config.
    #118

  • [fix] typos, naming and improve the quantity handling if something is configured wrongly.
    #117

  • [change] Pages/SectionCarousel: show next card a bit on mobile (fix margin-right)
    #116

  • [change] refactor CSS Properties for Grey colors (remove --matterColor*)
    #115

  • [change] Refactor configurations to better work with upcoming config assets.

    • SearchPage layout: 'map' and 'grid'
    • SearchPageWithList renamed as SearchPageWithGrid
    • ListingPage layout: 'carousel' and 'coverPhoto'
    • ListingPageFullImage renamed as ListingPageCarousel
    • ListingPageHeroImage renamed as ListingPageCoverPhoto
    • Also other config files were affected

    #114

  • [fix] Remove dublicate ids from styleguide page.
    #113

  • [change] Rename global duck files to start with lower case letter.
    #112

  • [change] Update tests to use React Testing Library instead of Enzyme.
    #28

  • [change] Small changes to Signup form according to review feedback.
    #111

  • [change] Update code comments in configMaps.js
    #110

  • [fix] EditListingDeliveryPanel: H3 import was missing
    #109

  • [fix] Fix back-navigation after successful payment and notification dots for booking process.
    #108

  • [fix] Terms: add translation key, NotFoundPage: fix tests.
    #107

  • [change] Make old pages to use LayoutComposer. Remove old layout components:

    • LayoutSingleColumn (moved under LayoutComposer)
    • LayoutSideNavigation (moved under LayoutComposer)
    • LayoutWrapperTopbar
    • LayoutWrapperMain
    • LayoutWrapperSideNav
    • LayoutWrapperAccountSettingsSideNav (moved under LayoutComposer)
    • LayoutWrapperFooter

    #106

  • [add] Add isRequired handler for CustomFieldMultiEnum.
    #105

  • [add] Add keyword search option ot NotFoundPage.
    #103

  • [add] Add PrimaryButtonInline and SecondaryButtonInline. Refactor utility-classes away from
    Buttons. #102

  • [add] Add Heading and H1...H6 components to main app. These are separate from PageBuilder. So that
    Pages could use different fonts if needed.
    #97

  • [add] Add --contentMaxWidth and --contentMaxWidthPages.
    #101

  • [change] Improve error handling on PageBuilder and LandingPage.
    #100

  • [add] Add privacy policy modal to sign up page and make it mandatory to click checkbox. This was
    suggested as more legally clear way that users have noticed the terms.
    #99

  • [change] Handle situations, where tx process name is unrecognized.
    #98

  • [change] change enquiry/enquire to inquiry/inquire.
    #94

  • [change] Refactor remaining via.placeholder.com references to use picsum.photos instead.
    #96

  • [change] add multiple placeholder texts for custom listing fields.
    #93

  • [fix] Some heading style fixes and lineBreak fixes to microcopy.
    #92

  • [delete] Add LinkedLogo and use it in different Topbars.
    #91

  • [delete] Remove unused microcopy keys from en.json
    #90

  • [change] Rename default transaction process and associated files.
    #88

  • [change] New font (apple-system & 'Inter') and all kind of changes related to that.
    #73

  • [fix] When time zone changes, exceptions should be fetch again. (Query boundaries change.)
    #87

  • [add] Update translations (en.json). We'll change these later, as these follow biketribe theme.
    #86

  • [add] Add BookingLocationMaybe section into the TransactionPage.js
    #85

  • [change] Add listingType which contains transactionType. Defined in configListing.js
    #84

  • [delete] Remove unnecessary code and translation keys.
    #83

  • [change] Change of terminology: enquire to inquire and enquiry to inquiry. Process change happens
    later. #82

  • [fix] Update styleguide examples that produced errors.
    #81

  • [fix] WeeklyCalendar redirect should use start of week instead of today.
    #80

  • [fix] WeeklyCalendar should set currentMonth initially to intialVisibleMonth.
    #79

  • [fix] WeeklyCalendar had bugs in navigation buttons.
    #78

  • [add] Add environment variable to prevent data loading in SSR
    #77

  • [change] Refactor EditListingWizard CSS #76

  • [change] Refactor CSS variables and rename contextHelpers.js as uiHelpers.js
    #75

  • [change] Availability management has been changed so that default view is Weekly calendar.

    • All the times are shown in listing's time zone
    • EditListingAvailabilityPlanForm handles the weekly default schedule
    • EditListingAvailabilityExceptionForm makes it possible to add exceptions to the plan
    • settings.verbose prints some debug info to browser's console (src/config/settings.js)

    #74

  • [change] Fixes: image variant creation, FieldDateRangeInput gets isDaily flag instead of
    line-items, BookingTimeForm should show error message.
    #72

  • [change] TransactionPage: quantity intege...

Read more