Граф коммитов

159 Коммитов

Автор SHA1 Сообщение Дата
Nerya Cohen 92382bb3a8 Merge tag '2.16.5' into release_2.16.5 2021-01-11 16:37:57 +02:00
Parth Mangukiya 5735670b09 Merged PR 130579: Update playground code snippets in Playground v1 to migrate from then-catch to async-await
**Items completed in this PR**
1. Then-catch has been migrated to async-await for code_samples file from v2-demo folder for Playground v1

_All the functions of this file are tested after the async-await change_

Related work items: #469707, #470909, #471453, #473946
2020-12-09 10:37:47 +00:00
Adam Saxton 039dd38a50 Update old content video 2020-12-02 15:13:38 -06:00
Guy Moses 8118a1343e Merged PR 126401: [JS samples][minor] Fixed error/errors typo
In several places in our samples, the error handling code uses different names for the same variable (`error` vs. `errors`):
```
    .catch(function (error) {
        Log.log(errors);
    });
```

This causes an exception if there's an error
2020-11-10 10:15:25 +00:00
Ali Hamud e44993440e Merged PR 107786: Fix app insights
Fix app insights
2020-08-20 09:01:11 +00:00
Shahak Yosef e81fb4d9b7 Merged PR 101008: Update playground with latest report authoring
After releasing JS SDK, models and report authoring we can update the playground to use the latest report authoring version.
2020-07-19 14:19:24 +00:00
Shahak Yosef 2fa895dff0 Merged PR 99756: Release version 2.13.0
This PR contains:
- Version bump for the latest models versoin (1.4.0)
- Version bump for the javascript sdk
- Fix broken playground (mirror gh-pages changes)
- Remove survey banner as the survey ended.
2020-07-14 14:45:26 +00:00
Shahak Yosef fd84fd80fd Merged PR 99762: Revert "[JS SDK]: Static Analysis CredScan warning fix"
This will break the workspace collection bug bash tool.
I will move the access tokens to a one not so the static analysis will still pass
Moved to One Note "Test users and tenants"
2020-07-14 13:10:41 +00:00
Anant Singh 40677fae6b Merged PR 99490: [JS SDK]: Static Analysis CredScan warning fix
Removed **code-demo** folder and all its files
**code-demo** is not referenced anywhere in the repo

Warning message: Cred Scanner failed with 2 issues found.
2020-07-13 12:46:09 +00:00
Prachi Mishra (Maq LLC) 8fbf7bd078 Merged PR 76458: [JS SDK]: Description update
| Check | Yes/No/NA |
|:------|:------:|
|Are the packages re-created? |Yes|
|Are the unit tests executed successfully? |Yes|
|Is the code formatted correctly? |Yes|

![image.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/76458/attachments/image.png)

Updated documentation - https://review.docs.microsoft.com/en-us/javascript/powerbi-client/?branch=smoke-source-working

Related work items: #331924, #353668, #364744, #375381
2020-06-11 10:28:44 +00:00
Guy Moses 9a748a4a43 Merged PR 88779: Corrected dataRoles display names to match changes in PBI
Corrected dataRoles display names to match changes in PBI.
**Summary**
User is not able to generate visuals like column chart in embedded playground.
We have checked and reproduced same issue from our end.

[Repro Steps]
•	Navigate to the Embedded Playground URL https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#
•	Click on Show Case
•	Choose Quick Visual Creator > Start
•	It will take you to the next screen and select Column Chart or Waterfall Chart under Generator > Visual Type

**Root Cause**
Display names for two roles were changed in PBI (see [PR 79924](https://powerbi.visualstudio.com/PowerBIClients/_git/b5e9effd-6805-4409-85f3-01d4e4d64caa/pullrequest/79924?_a=files&path=%2Fsrc%2FClients%2FPowerBIVisuals%2FVisuals%2Fcapabilities%2FwaterfallChart.capabilities.ts)) - this caused a mismatch between this demo and PBI.
2020-05-21 09:53:18 +00:00
Ali Hamud 3b9ad5cd15 Merged PR 88411: Fix html self closing issues
**Issue**
Q&A elements are rendered in a wrong way.

**Reason**
Some div elements are marked with self-closing.
According to the HTML5 spec, tags that cannot have any contents (known as void elements) can be self-closing*. This includes the following tags:

**Resolution**
_Only void elements can be self closing. from HTML5 spec, void elements are:_
area, base, br, col, embed, hr, img, input, link, meta, param, source, track, wbr

**Copied from HTML5 SPEC:**
Tags are used to delimit the start and end of elements in the markup. Raw text, escapable raw text, and normal elements have a start tag to indicate where they begin, and an end tag to indicate where they end. The start and end tags of certain normal elements can be omitted, as described below in the section on optional tags. Those that cannot be omitted must not be omitted. Void elements only have a start tag; end tags must not be specified for void elements. Foreign elements must either have a start tag and an end tag, or a start tag that is marked as self-closing, in which case they must not have an end tag.

**References:**
https://html.spec.whatwg.org/multipage/syntax.html#void-elements
https://stackoverflow.com/questions/3558119/are-non-void-self-closing-tags-valid-in-html5

Related work items: #365457
2020-05-20 06:26:17 +00:00
Shahak Yosef c7bcf477dd Merged PR 74083: Update playground samples with the new panes
This is will be checked-in when we release a new version.
Tell me if I missed any sample
2020-05-17 06:47:50 +00:00
Amit Shuster 5c0c58ee3e Merged PR 86817: Playground banner update to survey from research pannel
Playground banner update to survey

Old banner:
 ![old.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/86817/attachments/old.png)

New banner:
![new.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/86817/attachments/new.png)
2020-05-13 13:50:32 +00:00
Shahak Yosef 72a7c5500c Merged PR 74973: Update playground to use the latest report-authoring (visual-authoring) version 2020-03-17 07:11:18 +00:00
Shahak Yosef fab62f3827 Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4
Remove bower and update dist file.
Should mirror [this PR](https://github.com/microsoft/PowerBI-JavaScript/pull/359/files) to JS API Github repository
2020-02-05 12:16:25 +00:00
Shahak Yosef 680331c96e Merged PR 66681: [Playground] Remove filterPane from mobile sample
This PR removes the filterPane from the mobile sample.
2020-02-05 12:08:50 +00:00
Amit Shuster b139d3bfa2 Merged PR 63756: Playground Banner - for research panel
Playground Banner added to help find research panelists

Ref link: https://www.usertesting.com/panels/7wZ4nzGa/join?RID=Playground

Text was written with Linda.

![a.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/63756/attachments/a.png)
2020-01-14 14:12:03 +00:00
Mounir Shmordok f549b2f255 Merged PR 56904: Fix rdl image
Fix rdl image
2019-11-27 09:33:36 +00:00
Elad Cohen 65ab921e00 Merged PR 56880: Tooltip X button fix and Duplicate identifier 'msCrypto' fix
Tooltip X button fix
2019-11-24 11:31:22 +00:00
Mounir Shmordok d509acc1ca Merged PR 53698: Replace image of rdl sample
replace image of rdl sample
2019-10-30 13:09:40 +00:00
Mounir Shmordok a52091fcab Merged PR 52310: Merge adding rdl sample to master
Merge adding rdl sample to master
2019-10-22 11:39:23 +00:00
Elad Cohen 5985043c72 Merged PR 48369: Replace Math.random to getRandomValues() from cryptoObj 2019-10-02 13:00:21 +00:00
Elad Cohen f0ff2afe2d Merged PR 49125: trackEvent undefined bug in IE fix
trackEvent undefined bug in IE fix
2019-10-02 11:08:33 +00:00
Elad Cohen e071d1c974 Merged PR 48137: Add App request for instrumentationKey
Add "App" request for instrumentationKey
2019-09-25 14:44:52 +00:00
Elad Cohen 08156dbd93 Merged PR 47143: sample step in playground was visible on homepage
sample step in playground was visible on homepage
2019-09-19 13:47:12 +00:00
Elad Cohen 956a1465bc Merged PR 46518: add referrer event to playground
add referrer event to playground
2019-09-19 08:22:47 +00:00
Elad Cohen 1502045312 Merged PR 46493: Added events to the playground when clicking on buttons and fix some bugs detailed below.
Added events to the playground when clicking on buttons.
Each event include "sessionId", the events:
When users getting to the landing page, entries for each sample, entries for each showcase (direct link/showcase page/interact), entries to the documentation, "Phone"/"Desktop" button clicks, "Copy" buttons (Code & Log).
For each click on the "Run" button, monitor the Embed type + token type/API used.
Option to disable to Track Events (enable by default) by adding "isTelemetryEnabled=false" to the URL (and enable it again by "true").

Bug fix #1 - bootstrapIframe more than once when switching between Desktop view and Phone view.
Bug fix #2 - open SampleStep twice.
Bug fix #3 - when clicking on "Data" in the Interact tab the "Authoring" bar opened.
Bug fix #4 - when clicking on "Run" in Mobile mode the Iframe was removed because the URL was changed.
2019-09-16 13:33:37 +00:00
Elad Cohen 8258d823d3 Merged PR 45442: Add platform for trackEvents to playground
Add platform for trackEvents to playground

For each session ID, tracking the activity on playground by sending data to the telemetry
2019-09-11 08:49:20 +00:00
Ali Hamud 0f0a314099 Merged PR 43673: In playground, Allow modifying embed URL after bootstrap
In playground, Allow modifying embed URL after bootstrap
2019-08-29 08:28:31 +00:00
Elad Cohen 7373a71176 Merged PR 41231: Add "Sort visual by" to PlayGround
Add "Sort visual by" to PlayGround under the section Menu Operations
2019-08-11 10:27:56 +00:00
Ali Hamud 0a01c236c4 Merged PR 40176: Use powerbi.bootstrap in playground.
Use powerbi.bootstrap in playground.

- one bug which will be treated with low priority for now:
When clicking on phone-layout without clicking on run, report is embedded.

- one important change is:
Demo folder is now installing the powerbi-client package from parent folder.
2019-08-01 08:55:33 +00:00
May Hartov 851acfe43f Merged PR 36457: fixed syntax to support playground -IE
fixed syntax to support playground -IE
2019-07-07 09:11:16 +00:00
Amit Shuster a0f6cf0a2b Merged PR 33976: Playground - Sample tool - Visual authoring
Playground - Sample tool - Visual authoring
2019-06-20 08:44:08 +00:00
Amit Shuster 896e186208 Merged PR 32654: Visuals API showcase - Quick Visual Creator 2019-06-18 11:06:23 +00:00
Amit Shuster 879ee7c90e Merged PR 30128: Report Visual HideSingleVisualHeader fix
Report Visual HideSingleVisualHeader fix
2019-06-02 06:51:11 +00:00
Amit Shuster dd2478dcdc Merged PR 25032: Fix firefox svg icons
Before:
![1.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/25032/attachments/1.png)

After:
![2.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/25032/attachments/2.png)
2019-05-02 11:00:05 +00:00
Amit Shuster 73218d1cc6 Merged PR 22904: Playground - IE support fix
IE does not support array.prototype.find & array.prototype.findIndex
2019-03-26 14:06:08 +00:00
Ali Hamud 0c5386f0b2 Merged PR 22189: Fix visual name in sample code
Updated codesamples.js
2019-03-17 14:50:02 +00:00
Laurent Amar 7497d159d0 Merged PR 21451: Add rendered event listening to live sample code
Add rendered event listening to live sample code
2019-03-13 14:18:19 +00:00
Omri Armstrong 45fbf22a9f Merged PR 15937: Adding buttonClick event
Adding buttonClick event
Will CI only when FE code will be in production
2019-01-28 12:39:32 +00:00
Amit Shuster 0a5dc5222a Merged PR 17285: Insights to action & Themes showcases
Insights to action & Themes showcases
2019-01-27 14:04:14 +00:00
Amit Shuster a0ddd7a0da Merged PR 15566: Additional Playground APIs
Additional Playground APIs
2018-12-25 07:44:21 +00:00
Amit Shuster 22ddefb7e3 Merged PR 14960: Fix front load element listener bug
Fix front load listener bug, the element listener was not removed on reset, therefore, two listeners were active when re-embedding
2018-12-13 14:32:34 +00:00
Amit Shuster 67458c8738 Merged PR 13832: Fix InteractiveNoQuestion for Q&A url param, and Q&A Aad token
Fix InteractiveNoQuestion for Q&A url param, and Q&A Aad token
using id instead of val for "InteractiveNoQuestion" radio button
2018-11-25 16:17:59 +00:00
Ali Hamud 9ab6852a50 Merged PR 13672: Fix QnA enum value
Fix QnA enum value
2018-11-25 08:40:06 +00:00
Amit Shuster 6e69e81702 Merged PR 13585: Fix Q&A Sample question bug
Q&A Sample will not have default question after the recent change to url params
2018-11-18 09:00:58 +00:00
Amit Shuster 966e280425 Merged PR 13354: Add Q&A url params support and fix token url param bug
Add Q&A url params support and fix token url param bug
2018-11-18 07:14:22 +00:00
Amit Shuster f7da5cf6e5 Merged PR 13220: Fix playground style
Fix playground style
2018-11-14 12:00:18 +00:00
Amit Shuster f26ab9d4c0 Merged PR 13216: Add embed setup to playground links
Add embed setup to playground links
2018-11-11 14:57:18 +00:00