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

Publish params update for inbox #2500

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
36b963c
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 8, 2023
758a948
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 8, 2023
e39ae9b
remove universal modules note
wix-docs-feds Feb 15, 2023
75c1ceb
updated ecom updateCheckout example
wix-docs-feds Mar 5, 2023
16c3194
Moved sender-details to email-marketing-v2.
wix-docs-feds Mar 6, 2023
4c32445
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Mar 7, 2023
1309917
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Mar 7, 2023
24609bf
Fix dev preview (#1734)
adamfri Mar 13, 2023
1bc4b3d
Updated Workflows for doc bug day.
wix-docs-feds Mar 19, 2023
bb47529
Revert adam changes
admasodaniel Mar 20, 2023
186627d
Add linkable ids to the wix data error codes
TWSingleSource Mar 28, 2023
22e516a
intro fix
wix-docs-feds Apr 10, 2023
238b3b9
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 24, 2023
29fcb57
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 24, 2023
9d71ba0
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 24, 2023
8b64eeb
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 24, 2023
02a70f8
form release
wix-docs-feds Apr 30, 2023
b09cb4a
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Oct 9, 2023
b9a00bd
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Nov 13, 2023
1dd3645
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Nov 14, 2023
eb5edfc
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Nov 26, 2023
08e023b
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Nov 29, 2023
ffcd9d5
changed link so it points to VELO
domantassniezkawix Dec 6, 2023
a7033e1
Merge pull request #2534 from wix-incubator/dom-article-link
domantassniezkawix Dec 6, 2023
5a7bbaf
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Jan 3, 2024
a18fb57
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Jan 7, 2024
65209b5
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Jan 7, 2024
55cb203
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Jan 10, 2024
dada1b4
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 8, 2024
521fb10
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 14, 2024
8ecdc05
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 14, 2024
2efbbb2
inbox events intro
emmagrob Feb 20, 2024
cc13af0
Merge pull request #2735 from wix-incubator/inbox-events-intro
emmagrob Feb 20, 2024
8a43596
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 21, 2024
1e6f6fe
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 21, 2024
1d15b28
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 21, 2024
b8270eb
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 25, 2024
2185daa
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Feb 28, 2024
8dce7c5
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Mar 18, 2024
59eab86
add intros to inbox
emmagrob Mar 19, 2024
e5af0cb
add import statements
emmagrob Mar 20, 2024
e8bdbe4
edit intros post review
emmagrob Mar 21, 2024
a1d9d57
small edit to main intro
emmagrob Mar 25, 2024
3df7567
Merge pull request #2822 from wix-incubator/inbox-introductions
emmagrob Mar 26, 2024
9dbe687
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 3, 2024
994badc
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 10, 2024
0fd2532
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds Apr 11, 2024
2f06d50
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds May 8, 2024
4346590
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds May 8, 2024
8b28750
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds May 23, 2024
727c62e
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds May 30, 2024
efbd484
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds May 30, 2024
9a0663b
Auto commit to autodocs-wix-inbox-v2 from WixDocs Server
wix-docs-feds May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/buildDevPreview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name : build_dev_preview

on:
pull_request:
types: [ closed ]

jobs:
build-dev-preview:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Build Dev Preview List
run : |
npm install get-all-files
git config user.email "[email protected]"
git config user.name "Adam Friedmann"
git checkout -b auto-dev-preview-update-${{github.head_ref}}
node scripts/buildDevPreviewList.mjs
git add guides/developer-preview.md
DIFF=$(git status --porcelain)
if [[ "$DIFF" == *"developer-preview.md"* ]]; then
git commit -m "New Dev Preview List"
git push --set-upstream origin auto-dev-preview-update-${{github.head_ref}} --force
echo "changes_pushed=yes" >> $GITHUB_ENV
echo "branch_name=auto-dev-preview-update-${{github.head_ref}}" >> $GITHUB_ENV
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: slackapi/[email protected]
if: ${{ env.changes_pushed == 'yes' }}
with:
payload: |
{
"branch_name" : "${{ env.branch_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
44 changes: 44 additions & 0 deletions .github/workflows/menuEditorSync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name : build_dev_preview

on:
schedule:
- cron: '0 8 * * *'

jobs:
build-dev-preview:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Build Dev Preview List
run : |
npm install get-all-files
npm install node-fetch
git config user.email "[email protected]"
git config user.name "Adam Friedmann"
git checkout -b menu-editor-sync
node scripts/buildDevPreviewList.mjs
git add guides/developer-preview.md
DIFF=$(git status --porcelain)
if [[ "$DIFF" == *"developer-preview.md"* ]]; then
git commit -m "New dev preview list - menu editor change"
git push --set-upstream origin menu-editor-sync --force
echo "changes_pushed=yes" >> $GITHUB_ENV
echo "branch_name=menu-editor-sync" >> $GITHUB_ENV
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: slackapi/[email protected]
if: ${{ env.changes_pushed == 'yes' }}
with:
payload: |
{
"branch_name" : "${{ env.branch_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
47 changes: 47 additions & 0 deletions .github/workflows/syncMenuEditor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: sync_menu_editor

on:
schedule:
- cron: '0 8 * * *'

jobs:
check-menu-editor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Sync Menu Editor
run: |
npm install node-fetch
npm install htmlparser2
npm install cheerio
git config user.email "[email protected]"
git config user.name "Adam Friedmann"
git checkout -b menu-editor-sync
node scripts/getHiddenItems.mjs
git add scripts/hiddenItems.json
git status --porcelain
DIFF=$(git status --porcelain)
if [[ "$DIFF" == *"hiddenItems.json"* ]]; then
npm install get-all-files
node scripts/buildDevPreviewList.mjs
git add guides/developer-preview.md
git commit -m "Syncing with hidden items in the menu editor"
git push --set-upstream origin menu-editor-sync --force
echo "changes_pushed=yes" >> $GITHUB_ENV
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: slackapi/[email protected]
if: ${{ env.changes_pushed == 'yes' }}
with:
payload: |
{
"branch_name" : "menu-editor-sync"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
142 changes: 142 additions & 0 deletions dollar-widget/$widget.service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{ "name": "$widget",
"mixes": [],
"labels":
[ "new" ],
"location":
{ "lineno": 1,
"filename": "$widget.js" },
"docs":
{ "summary": "The `$widget` namespace contains functionality for working with your Blocks widget's API from within the widget code.",
"description":
[ "> **This namespace is available only in Wix Blocks widget code** ",
"> [Wix Blocks](https://support.wix.com/en/article/wix-blocks-check-out-our-articles) is a workspace for building Wix apps. It is currently a Beta version, open to a limited number of users.",
"",
"Blocks widgets can expose a [widget API](https://support.wix.com/en/article/wix-blocks-about-the-widget-api), letting you add properties, events, and functions to your widget.",
"The `$widget` namespace provides functionality for working with to your widget's API from within the widget code." ],
"links": [],
"examples": [],
"extra":
{ } },
"properties":
[ { "name": "props",
"labels": [],
"get": true,
"set": true,
"type": "Object",
"locations":
[ { "lineno": 13,
"filename": "$widget.js" },
{ "lineno": 26,
"filename": "$widget.js" } ],
"docs":
{ "summary": "Sets or gets the [widget's properties](https://support.wix.com/en/article/wix-blocks-widget-api-properties).",
"description":
[ "The `props` property is an object containing all of the widget's properties." ],
"links": [],
"examples":
[ { "title": "Get a widget's properties",
"body":
[ "$w('#text1').text = $widget.props.shoe.size; // \"43\"" ],
"extra":
{ } },
{ "title": "Set a widget's properties",
"body":
[ "$widget.props = { saleIndicator: \"No Sale\" };" ],
"extra":
{ } } ],
"extra":
{ } },
"extra":
{ } } ],
"operations":
[ { "name": "fireEvent",
"labels": [],
"nameParams": [],
"params":
[ { "name": "eventName",
"type": "string",
"doc": "The name of te event to be fired." },
{ "name": "data",
"type": "Object",
"doc": "A data object that is passed to the event handler." } ],
"ret":
{ "type": "void" },
"locations":
[ { "lineno": 46,
"filename": "$widget.js" } ],
"docs":
{ "summary": "Fires an event that is defined in the Widget API.",
"description":
[ "The `fireEvent()` function fires a widget event, which can then be handled from outside the widget (by code in a parent widget or a site page).",
"When using the widget's API, the event is named `on<EventName>`, for example, `onAddedToCart`." ],
"links": [],
"examples":
[ { "title": "Fire a widget event",
"body":
[ "$w(`#button1`).onClick(() => {",
" $widget.fireEvent(`addedToCart`, {productId: product.id, customerId: customer.id})",
"});" ],
"extra":
{ } } ],
"extra":
{ } },
"extra":
{ } },
{ "name": "onPropsChanged",
"labels": [],
"nameParams": [],
"params":
[ { "name": "handler",
"type": "$widget.onPropsChangedHandler",
"doc": "The name of the function or\n the function expression to run when the value of a widget property is changed." } ],
"ret":
{ "type": "any" },
"locations":
[ { "lineno": 33,
"filename": "$widget.js" } ],
"docs":
{ "summary": "Adds an event handler that runs when the value of a widget property is changed.",
"description":
[ "A widget receives an `onPropsChanged` event when one or more of its properties is changed via its API." ],
"links": [],
"examples":
[ { "title": "Load updated data when a widget's property is changed",
"body":
[ "$widget.onPropsChanged((oldProps, newProps) => {",
" loadProductData(newProps.productId);",
" loadCustomerData(newProps.customerId);",
"});" ],
"extra":
{ } } ],
"extra":
{ } },
"extra":
{ } } ],
"callbacks":
[ { "name": "onPropsChangedHandler",
"labels": [],
"nameParams": [],
"params":
[ { "name": "oldProps",
"type": "Object",
"doc": "The old widget properties." },
{ "name": "newProps",
"type": "Object",
"doc": "The new widget properties." } ],
"ret":
{ "type": "void" },
"locations":
[ { "lineno": 59,
"filename": "$widget.js" } ],
"docs":
{ "description":
[ "Handles events fired when a widget's properties are changed." ],
"links": [],
"examples": [],
"extra":
{ } },
"extra":
{ } } ],
"messages": [],
"extra":
{ } }
Binary file added media/.DS_Store
Binary file not shown.
Binary file added media/confirmator_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/section_divider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/tooltip-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading