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

117 Коммитов

Автор SHA1 Сообщение Дата
Karan Dewani f0e97cd40a Merge remote-tracking branch 'powerbi/master' into release-1-4-0 2023-05-04 17:34:41 +05:30
Kotana Sai 80d692a23e Merged PR 384017: Version bump 1.4.0
Version bump 1.3.6

Related work items: #1075646
2023-04-19 09:04:15 +00:00
Kotana Sai 9a5bc2e8bd Merged PR 381264: [React Wrapper]: Clean the Event Handler Map during Unmounting
**Issue:**  https://github.com/microsoft/powerbi-client-react/issues/79

**Problem:** With Strict Mode in React 18, React will simulate mounting, unmounting and remounting the component in development mode. [React 18 Strict Mode behaviours](https://react.dev/blog/2022/03/29/react-v18#new-strict-mode-behaviors)

During the first mount Event Handlers will be set and we store the eventHandlers in a variable `prevEventHandlerMapString` to avoid resetting the eventHandlers again if the same map is passed.

After the first mount, it will unmount, and we are not cleaning the `prevEventHandlerMapString` here.
When the component gets remounted again, since there is no change in eventHandlers it will return instead of setting the eventHandlers.

**Resolution:**

Clean the `prevEventHandlerMapString` during component gets unmounted to initial empty string.

Related work items: #1069474, #1072700, #1073594
2023-04-17 09:31:35 +00:00
Kotana Sai c9fa39c112 Merged PR 380104: [React Wrapper]: Update interface for paginated report component
Changes:

- Replaced deprecated [IEmbedConfiguration](https://learn.microsoft.com/en-us/javascript/api/powerbi/powerbi-models/iembedconfiguration) with [IPaginatedReportLoadConfiguration](https://learn.microsoft.com/en-us/javascript/api/powerbi/powerbi-models/ipaginatedreportloadconfiguration)

![PaginatedReportReact.gif](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/380104/attachments/PaginatedReportReact.gif)

Related work items: #1067621
2023-04-13 10:47:37 +00:00
Karan Dewani 05319354a0 Merged PR 361366: [React Wrapper]: Add createReport Functionality to Package
**Added createReport Functionality**

![msedge_YS8LTWkJO1.gif](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/361366/attachments/msedge_YS8LTWkJO1.gif)

**Readme changes:**
![image (3).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/361366/attachments/image%20%283%29.png)
![image (4).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/361366/attachments/image%20%284%29.png)
![image (5).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/361366/attachments/image%20%285%29.png)

Related work items: #1014004, #1047429, #1051188, #1053296, #1054446
2023-04-04 06:30:23 +00:00
Rahul Roy a824266d9b Merged PR 355563: [React Wrapper]: Fix accessibility issues
Changes:
1. Added title to embedded report
1. Added lang attribute to html

**Snapshots**
**Before**

![image (3).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/355563/attachments/image%20%283%29.png)

![image (4).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/355563/attachments/image%20%284%29.png)

**After**

![image.png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/355563/attachments/image.png)

![image (2).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/355563/attachments/image%20%282%29.png)

Related work items: #299176
2023-02-28 09:00:57 +00:00
Kotana Sai be682fe68e Merged PR 355615: [React Wrapper]: Mirror the changes from GitHub updateFilters external PR
Mirrored the changes from the external GitHub PR:  https://github.com/microsoft/powerbi-client-react/pull/50

**Earlier**:

![image (2).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/355615/attachments/image%20%282%29.png)

**After** :

![image (3).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/355615/attachments/image%20%283%29.png)

Related work items: #299176, #1022841
2023-02-16 10:42:29 +00:00
Or Shemesh de0d0ece26
Merge pull request #50 from mishra-prachi/master
Used updated Filter API for filtering
2023-02-13 14:25:37 +02:00
Prachi Mishra e6e6f1e30d Merge branch 'master' of https://github.com/mishra-prachi/powerbi-client-react 2023-02-09 14:25:10 +05:30
Prachi Mishra fd3f29bbbb update(PowerBIEmbed): updated per review comment 2023-02-09 14:25:04 +05:30
Prachi Mishra fb235b50fd
Merge branch 'master' into master 2023-02-09 14:23:34 +05:30
Karan Dewani 41053c282d Merged PR 341985: [React Wrapper]: Update folder structure of wrapper
Updated the folder structure of wrapper to align with Angular wrapper.
The new folder structure is React (folder) > demo and powerbi-client-react (folders)

Update log:

1. Updated the pipeline scripts and YAML files to match with the new structure.
2. package.json (both demo and wrapper) to update scripts with demo folder location

Added log:
1. README.md in wrapper folder
2. `.editor.config` in React folder
3. NOTICE.txt in React folder
4. CODE_OF_CONDUCT.md in root folder
5. owners.txt in root folder

Related work items: #986256, #992684, #993295
2023-02-02 09:42:56 +00:00
Karan Dewani 6a40341f1e Merged PR 338049: [React Wrapper]: Update Footer for demo app to match Vue wrapper
Updating the footer to match with Vue wrapper.

Current footer:
![image (3).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338049/attachments/image%20%283%29.png)

Footer after completing the PR:
![image.png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338049/attachments/image.png)

![image (2).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338049/attachments/image%20%282%29.png)

Related work items: #973894, #982636
2023-01-16 05:25:19 +00:00
Karan Dewani 1fa316c163 Merged PR 338062: [React Wrapper]: Update button structure of demo app to match with other wrappers
Update log:
1. Updated the DOM structure
2. Aligned the CSS Classes with Vue wrapper
3. Removed the delete visual functionality
4. Added the change visual functionality
5. Added a new function - setDisplayMessageAndConsole to merge setMessage and console log
6. Updated target in tsconfig to use ES6 functionalities (spread operator, etc)

Demo app before the PR:
![image (3).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338062/attachments/image%20%283%29.png)

![image (4).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338062/attachments/image%20%284%29.png)

Demo app after the PR:
![image (5).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338062/attachments/image%20%285%29.png)

![image (6).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/338062/attachments/image%20%286%29.png)

Related work items: #973894, #974243, #974589, #976684, #977653
2023-01-10 10:18:46 +00:00
Karan Dewani efa061e7ca Merged PR 337713: [React Wrapper]: Updated package.json to latest packages for demo app
The following packages were outdated in the demo app which caused the demo app to throw error:
1. ts-loader
2. typescript
3. webpack-dev-server

Updated `package.json` to use the latest version for the packages.

Related work items: #973894
2023-01-04 10:11:39 +00:00
Kotana Sai c07dc8509f Merged PR 337234: Remove Additional Npm authenticate for demo task for React
Following the discussion from May, we don't need npm authenticate task for npm in demo folder, Removed the task in this PR.
![image.png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/337234/attachments/image.png)
2022-12-30 03:30:51 +00:00
PIE Easy Start dc6c12f9e2 Merged PR 309753: Adding OneBranch pipeline YAML config file for powerbi-client-react-Official
Generate OneBranch Pipeline YAML config files. This pull request is initially auto-generated by Easy Start, for more details, please visit our [wiki](https://aka.ms/easystart).

**Result of Official Pipeline**
https://dev.azure.com/powerbi/Embedded/_build?definitionId=8497

Related work items: #950968
2022-12-15 03:45:37 +00:00
PIE Easy Start 3336800a49 Merged PR 309754: Adding OneBranch pipeline YAML config file for powerbi-client-react-Buddy
Generate OneBranch Pipeline YAML config files. This pull request is initially auto-generated by Easy Start, for more details, please visit our [wiki](https://aka.ms/easystart).

**Difference Compared to powerbi-models repo PR:**

1. In the PR of powerbi-models, we ran power script files in CmdLine@2 using onebranch_run_ps.cmd file. But after May comment, in all the following PR we are using PowerShell@2 task to run our power script files and deleted onebranch_run_ps.cmd file.
2. In powerbi-client-react we also have a task to copy source artifacts to Output folder. Took a reference of this task from CDPx pipelines
**Result of OneBranch build pipeline**
https://dev.azure.com/powerbi/Embedded/_build/results?buildId=5980877&view=results

**Drop folder from OneBranch**
![image.png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/309754/attachments/image.png)

**Drop folder from CDPx**
![image (2).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/bba389a3-7c99-498f-82a4-b903a33a7997/pullRequests/309754/attachments/image%20%282%29.png)
2022-12-10 04:57:37 +00:00
Atharva Bapat(MAQ LLC) b1618bc696 updated ts loader version 2022-12-09 15:36:31 +05:30
Kotana Sai e87a16d987 Updated windows image container 2022-12-09 12:36:36 +05:30
Kotana Sai 4d06e8210e resolved nit comment 2022-12-02 10:15:04 +05:30
Kotana Sai 850960c841 Reverted back changes 2022-11-29 13:51:23 +05:30
Kotana Sai 79d9224cdf Tried out adding the extra variables 2022-11-24 17:06:16 +05:30
Kotana Sai 4241a4a88a Tried Adding If Else for the template 2022-11-24 16:40:51 +05:30
Kotana Sai 300e37fee9 Moved Signing task to last 2022-11-22 15:28:40 +05:30
Kotana Sai 4cbcc1f7f8 Updated config folder path in signing task 2022-11-22 14:19:16 +05:30
Kotana Sai 9522b73232 Modified yml file 2022-11-22 12:08:37 +05:30
Kotana Sai c3e7f17bc4 Excluded test files in signing 2022-11-22 11:50:19 +05:30
Kotana Sai 21ebc21277 Updated signing task 2022-11-21 16:34:04 +05:30
Kotana Sai 8e460a4675 Minor change in yml file 2022-11-11 17:29:19 +05:30
Kotana Sai b5ad95ffad Updated source artifacts copy task 2022-11-11 17:14:50 +05:30
Kotana Sai b8fecb5c11 Minor change in yml file 2022-11-11 16:31:32 +05:30
Kotana Sai 10493e727b Updated file path 2022-11-11 15:39:50 +05:30
Kotana Sai 47a4f62173 Fixed small error 2022-11-09 14:51:27 +05:30
Kotana Sai 28a575d80a nit change 2022-11-09 14:50:16 +05:30
Kotana Sai 90ef12fed8 Aligned yml file 2022-11-09 14:48:36 +05:30
Kotana Sai 5a59178ce9 Added Npm authenticate task npm file in demo 2022-11-08 11:04:07 +05:30
Kotana Sai bc9b702746 Merge branch 'master' into OBP_Buddy_kaalbrec_C7Satw 2022-11-08 11:02:52 +05:30
Kotana Sai 817a990e89 reverted package.json 2022-11-07 16:58:00 +05:30
Kotana Sai a8eb724928 Merge branch 'master' into OBP_Buddy_kaalbrec_C7Satw 2022-11-07 16:12:44 +05:30
Atharva Bapat 469d39de54 Merged PR 320200: [React wrapper]: Upgrade module versions to resolve build issues
Failing pipeline - https://dev.azure.com/powerbi/Embedded/_build/results?buildId=5756606&view=results
2022-11-07 10:11:37 +00:00
Kotana Sai fb24bdebf7 Merge branch 'master' into OBP_Buddy_kaalbrec_C7Satw 2022-11-01 14:49:38 +05:30
Kotana Sai 5f84c183bd Aligned yml file 2022-10-31 11:39:52 +05:30
Kotana Sai 7d8d7c0309 Aligned yml file 2022-10-26 11:51:41 +05:30
Kotana Sai 7638b97819 Minor changes in yml file 2022-10-14 11:54:55 +05:30
Kotana Sai 1e2efc87a2 Updated yml file 2022-10-14 11:33:09 +05:30
MerlinBot b95437eec1 Merged PR 282035: Remediating Azure Artifacts Configuration Issues in your Repository
As a repository owner, you must take action to protect Microsoft against potential Software Supply Chain attacks. This starts with ensuring your repository has a valid Azure Artifacts usage so you can take advantage of [Central Feed Services](https://aka.ms/cfs). We are opening this PR with a fix on known issue(s) which we have detected in your repository. Please review and approve this PR at your earliest convenience.

**This may impact the ability for pipelines and developers to install packages and build projects.**

## Address **breaking changes** before you merge:
* Confirm the suggested Feed is configured per your organization's guidelines. If changes are necessary, work with your Project Administrators to set it up correctly.  [Learn more...](https://docs.microsoft.com/en-us/azure/devops/artifacts/feeds/feed-permissions?view=azure-devops)
* Add authentication to any failing pipeline definitions. [nuget](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/nuget-authenticate?view=azure-devops), [npm](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/npm-authenticate?view=azure-devops).
* Reach out to developers who may need to authenticate to the feed using the [embedded_PublicPackages's Connect to feed](https://dev.azure.com/powerbi/embedded/_artifacts/feed/embedded_PublicPackages/connect) instructions in Azure Artifacts.

## This PR can make changes to .npmrc, nuget.config, and other configuration files. Please view the complete change breakdown in the PR changed files.

---

For feedback or questions about this PR, please contact [Artifact Protection Services](mailto:feedprotection@microsoft.com).

---

This change was automatically generated by [1ES Gardener](https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/gardener/1es-gardener) (a [MerlinBot](https://aka.ms/MerlinBot) extension) which is an initiative by the 1ES team to help repos stay up-to-date with latest tools, features, and best practices.
2022-10-12 14:30:59 +00:00
Kotana Sai ca6d161ef0 reverted build.ps1 file 2022-10-05 15:43:03 +05:30
Kotana Sai fe85d2e3a4 Updated file name for onebranchcmd file 2022-10-05 15:29:30 +05:30
Kotana Sai 5620dd0086 Updated script working directory for restore task 2022-10-05 15:04:22 +05:30