Skip to content

Commit

Permalink
Merge pull request #3069 from wix-incubator/idanl-docbug-page-layout
Browse files Browse the repository at this point in the history
DocWorks for js-wixcode-sdk - 7 changes detected, but 15 issue detected
  • Loading branch information
idanlib-wix authored Jul 31, 2024
2 parents 117082b + 22e3ccb commit 652c1d3
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 38 deletions.
19 changes: 11 additions & 8 deletions js-wixcode-sdk/$w.service.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ "name": "$w",
"mixes": [],
"labels": [],
"labels":
[ "changed" ],
"location":
{ "lineno": 1,
"filename": "wixCode.js" },
Expand All @@ -15,10 +16,12 @@
"",
" You do not need to import `$w`.",
"",
" > **Note:** Most `$w` elements, nodes, and events are described here under Wix Editor Elements. Some `$w` ",
" elements are described in context of their functionality. For example, the [`WixForms`](wix-crm-frontend.html#$w-wixforms) ",
" element is described under the `wix-crm-frontend` namespace because using the API for the Wix Forms app is most relevant in the ",
" context of site contacts and visitors. ",
" > **Notes:**",
" > - Most `$w` elements, nodes, and events are described here under Wix Editor Elements. Some `$w`",
" elements are described in context of their functionality. For example, the [`WixForms`](wix-crm-frontend.html#$w-wixforms)",
" element is described under the `wix-crm-frontend` namespace because using the API for the Wix Forms app is most relevant in the",
" context of site contacts and visitors.",
" > - Some `$w` elements change their size dynamically, which can [affect the page layout](https://dev.wix.com/docs/develop-websites/articles/wix-editor-elements/formatting-layout/how-page-layout-is-affected-when-elements-change-size).",
"",
" Get hands-on experience with the `$w` API on our [Hello World](https://www.wix.com/velo/example/hello-world) example page." ],
"links": [],
Expand All @@ -42,7 +45,7 @@
[ "$w.Element" ] } ],
"doc": "A single selected element or an array of selected elements." },
"locations":
[ { "lineno": 23,
[ { "lineno": 24,
"filename": "wixCode.js" } ],
"docs":
{ "summary": "Selects and returns elements from a page.",
Expand Down Expand Up @@ -129,7 +132,7 @@
{ "type": "$w.$w",
"doc": "A selector function for the given context." },
"locations":
[ { "lineno": 127,
[ { "lineno": 125,
"filename": "wixCode.js" } ],
"docs":
{ "summary": "Gets a selector function for a specific context.",
Expand Down Expand Up @@ -165,7 +168,7 @@
"ret":
{ "type": "void" },
"locations":
[ { "lineno": 72,
[ { "lineno": 71,
"filename": "wixCode.js" } ],
"docs":
{ "summary": "Sets the function that runs when all the page elements have finished loading.",
Expand Down
41 changes: 21 additions & 20 deletions js-wixcode-sdk/site-monitoring.service.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{ "name": "site-monitoring",
"mixes": [],
"labels": [],
"labels":
[ "changed" ],
"location":
{ "lineno": 1,
"filename": "siteMonitoring.js" },
"docs":
{ "summary": "JSON representation of Wix site events for exposure to external site monitoring tools.",
{ "summary": "JSON representation of logs for exposure to external site monitoring tools.",
"description":
[ "Velo's [site monitoring](https://support.wix.com/en/article/about-site-monitoring)",
" feature lets you view, analyze, and debug Wix site events. You can examine",
" live site events in real time, or connect site events to an external monitoring",
" tool to generate event metrics and perform error log analysis.",
" feature lets you view, analyze, and debug logs. You can examine",
" logs in real time, or connect Wix Logs to an external monitoring",
" tool to generate log metrics and perform error log analysis.",
"",
"## How It Works",
"",
" Velo's site monitoring tool records Wix site events as [log entries](site-monitoring.LogEntry.html).",
" Each log entry is a JSON object representing a single site event.",
" Velo's site monitoring tool records Wix logs as [log entries](site-monitoring.LogEntry.html).",
" Each log entry is a JSON object representing a single log.",
"",
"",
"The following is an example of a `logEntry`:",
"",
Expand Down Expand Up @@ -50,23 +52,22 @@
"",
" For a detailed description of the JSON representation of a log entry, click [here](site-monitoring.LogEntry.html).",
"",
"## Viewing Site Events",
"## Viewing logs",
"",
" Velo's site monitoring feature lets you investigate your site events in 3 ways:",
" You can investigate your logs in the following ways:",
"",
" + **View live site events in real time:** You can quickly scan basic site event",
" information or view the JSON object representing each event. Events are loaded",
" as they occur. [Learn more](https://support.wix.com/en/article/viewing-live-site-events).",
" + **Connect to Google Stackdriver:** You can easily connect your Wix site events",
" to Google's external monitoring tool. Stackdriver performs log analysis and ",
" generates visual depictions of site event data, allowing you to extract meaningful ",
" insights from your site events. [Learn more](https://support.wix.com/en/article/velo-connecting-site-events-to-google-stackdriver).",
" + **Connect to an external monitoring tool:** You can connect your Wix site",
" events to a monitoring tool of your choice to generate metrics and analyze",
" logs. [Learn more](https://support.wix.com/en/article/connecting-site-events-to-a-monitoring-tool).",
" + **View logs in real time:** You can quickly scan basic log information or view the JSON object representing each log. ",
" Logs are loaded as they occur. [Learn more](https://support.wix.com/en/article/viewing-live-site-events).",
" + **Connect to Google Cloud Logs:** You can easily connect your site's logs to Google's external monitoring tool. ",
" Google Cloud Logs performs log analysis and generates visual depictions of log data, ",
" allowing you to extract meaningful insights ",
" from your logs. [Learn more](https://support.wix.com/en/article/velo-connecting-wix-logs-to-google-cloud-logs).",
" + **Connect to an external monitoring tool:** You can connect your Wix Logs to a ",
" monitoring tool of your choice to generate metrics and ",
" analyze logs. [Learn more](https://support.wix.com/en/article/velo-connecting-wix-logs-to-a-monitoring-tool-advanced).",
"",
"",
"To learn how to trigger events on your site, click [here](https://support.wix.com/en/article/velo-generating-a-site-monitoring-event-to-debug-your-site)." ],
"To learn how to generate logs on your site, click [here](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/testing-monitoring/testing-troubleshooting/testing-and-troubleshooting-your-code#debugging-with-logs)." ],
"links": [],
"examples": [],
"extra":
Expand Down
14 changes: 8 additions & 6 deletions js-wixcode-sdk/site-monitoring/LogEntry.service.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{ "name": "LogEntry",
"memberOf": "site-monitoring",
"mixes": [],
"labels": [],
"labels":
[ "changed" ],
"location":
{ "lineno": 68,
"filename": "siteMonitoring.js" },
"docs":
{ "summary": "A single record of a Wix site event in JSON format.",
{ "summary": "A single record of a log in JSON format.",
"description":
[ "Note the following terminology:",
"",
" + **Log entry:** Single record of a Wix site event.",
" + **Log entry:** Single record of a Wix log.",
" + **Log:** Collection of log entries associated with the same site and namespace.",
"",
" The following is an example of a `LogEntry`:",
Expand Down Expand Up @@ -330,17 +331,18 @@
"extra":
{ } },
{ "name": "timestamp",
"labels": [],
"labels":
[ "changed" ],
"get": true,
"set": false,
"type": "string",
"locations":
[ { "lineno": 113,
"filename": "siteMonitoring.js" } ],
"docs":
{ "summary": "Time the site event occurred.",
{ "summary": "Time the log occurred.",
"description":
[ "Time the event recorded by the log entry occurred. Displayed as UTC time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." ],
[ "Time the log occurred. Displayed as UTC time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." ],
"links": [],
"examples":
[ { "title": "Log entry timestamp",
Expand Down
6 changes: 2 additions & 4 deletions js-wixcode-sdk/wix-window-frontend/Lightbox.service.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{ "name": "Lightbox",
"memberOf": "wix-window-frontend",
"mixes": [],
"labels":
[ "changed" ],
"labels": [],
"location":
{ "lineno": 327,
"filename": "window-frontend.js" },
Expand Down Expand Up @@ -175,8 +174,7 @@
"extra":
{ } },
{ "name": "getContext",
"labels":
[ "changed" ],
"labels": [],
"nameParams": [],
"params": [],
"ret":
Expand Down

0 comments on commit 652c1d3

Please sign in to comment.