Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a Client, I should be able to configure my web component installations in the Marketplace #1033

Closed
willmcvay opened this issue Apr 21, 2020 · 3 comments · Fixed by #1313, #1802 or #1846
Assignees
Labels
book-a-valuation Book a valuation web component book-a-viewing Book a viewing web component feature New feature or request front-end Relates to front end issues

Comments

@willmcvay
Copy link
Contributor

willmcvay commented Apr 21, 2020

Given that I am a ‘Negotiator’, when I install the ‘Book a Valuation/Viewings’ app/tool on my website, I should then have the option to configure how the appointments are displayed to the public

Summary: As the Book a Valuation/Viewing widgets needs to be configurable for each website, we need to present the configuration options to the 'Negotiator/Office'.

For options see schema: #1031

Task: Add a ‘Settings' header’ and 'Configuration' button on Web component apps and create a configuration modal when clicked

  • If an app has been installed and the ‘isWebComponent’ is set to ‘true’ (/apps/{id}), we should display a ‘Settings/Configuration’ button on the App when accessed through the ‘Manage’ page (https://dev.marketplace.reapit.cloud/client/manage). See mockup:
    Config

  • When clicked, should present the following configuration options:

  • Heading: Book a Viewing Configuration

  • Subtext for Viewing Widget: Please use the following form to configure your diary settings for your ‘Book a Viewing’ widget on your website

  • Subtext for Valuation Widget: Please use the following form to configure your diary settings for your ‘Book a Valuation’ widget on your website

  • Time between appointments: 15 mins, 30min, 1hr or 1hr 30mins
    Default 30 mins

  • Length of Appointments: 15 mins, 30 mins, 1hr or 1hr 30mins
    Default 30 mins

  • Negotiators: List all negotiators with the option to select or deselect 'Negotiators' (use https://elements.reapit.cloud/?path=/story/dropdownselect--primary)
    Default all selected

  • Days of the Week
    Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
    (Default all expect Sunday)
    Buttons: Close and Save Changes

See mockup:
ViewingConfig

@willmcvay willmcvay added feature New feature or request front-end Relates to front end issues book-a-valuation Book a valuation web component book-a-viewing Book a viewing web component labels Apr 21, 2020
@ant066 ant066 self-assigned this May 18, 2020
ant066 pushed a commit that referenced this issue May 22, 2020
ant066 pushed a commit that referenced this issue May 22, 2020
ant066 pushed a commit that referenced this issue May 22, 2020
ant066 pushed a commit that referenced this issue May 25, 2020
ant066 pushed a commit that referenced this issue May 26, 2020
ant066 pushed a commit that referenced this issue May 26, 2020
ant066 pushed a commit that referenced this issue May 26, 2020
…ce (#1313)

* feat: #1033 configure my web component installations in the Marketplace

* chore: #1033 add negotiators dropdown

* chore: #1033 update app header, update snapshot

* chore: #1033 fetch negotiators list

* chore: #1033 update api

* chore: #1033 update follow PR cmts

* chore: #1033 fix test fail
ant066 pushed a commit that referenced this issue May 27, 2020
@duong-se duong-se reopened this May 27, 2020
@ant066 ant066 closed this as completed in bcbabc8 May 27, 2020
@vuhuucuong
Copy link
Contributor

vuhuucuong commented May 27, 2020

hi @willmcvay, I have a question, just to make sure. So we have one web-components-config-server and we get config by customerId, which mean all web components will be using the same config.
For example search-widget, book-valuation, of the same customer will have the same config, based on customerId.
Is that right? Correct me if I'm missing something. Thanks 🤔

@ant066
Copy link
Contributor

ant066 commented May 27, 2020

Hi @willmcvay @HollyJoyPhillips , currently at app details, it only shows the app is a webComponent or not. I don't know the type of that app 'book viewing, book valuation, or search widget' to show the correct title, subtitle for config modal.

authFlow: "clientCredentials"
category: {id: "6", name: "Communication", description: "Messaging and communication"}
created: "2020-03-04T17:57:22"
description: "DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,"
desktopIntegrationTypeIds: []
developer: "Reapit Ltd"
developerId: "47a37635-5044-4f20-b981-4f25970ac9cf"
externalId: "2pluiclhl922r6p8s5lvo893jv"
homePage: "https://reapit.com"
id: "4fbbb1e8-bad0-43a2-98f9-bfb9bba366e7"
installationId: "9c116b08-ee80-4ddf-bd5c-337f2ccac361"
installedOn: "2020-05-22T07:41:57"
isDirectApi: true
isFeatured: false
isListed: true
isSandbox: false
isWebComponent: true
launchUri: "https://reapit.com"
limitToClientIds: []
links: [{rel: "self",}, {rel: "developer",}, {rel: "revisions",}, {rel: "installations",},]
media: [{id: "23970732-a7fe-41c7-8b15-4b8c0bd65964",}, {id: "299ea689-2940-4335-8a13-e393319dae36",}]
name: "Search Widget DO NOT DELETE"
pendingRevisions: false
redirectUris: []
scopes: [{name: "agencyCloud/images.read", description: "Read property images"},]
signoutUris: []
summary: "DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,  DO NOT DELETE,"
supportEmail: "[email protected]"
telephone: "0777777777"

@ant066
Copy link
Contributor

ant066 commented Jun 23, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
book-a-valuation Book a valuation web component book-a-viewing Book a viewing web component feature New feature or request front-end Relates to front end issues
Projects
None yet
4 participants