rajyraman / Levelup-for-Dynamics-CRM

Chrome, Edge Chromium and Firefox Extension for Dynamics CRM/365/Power Apps Power users
MIT License
192 stars 68 forks source link

Impersonate - Search user does nothing #280

Open matttheba opened 1 year ago

matttheba commented 1 year ago
Browser Version: [object Navigator]
Extension Version: 3.6.3
----------------------------------------------------------

[DESCRIBE ISSUE HERE][](url)

rajyraman commented 1 year ago

@matttheba @vcqn11 @vfasil @wikap @Diego-Saavedra-San-Juan @itsanwar-dev

Please watch this video https://twitter.com/RajYRaman/status/1634393536018911232?s=20.

This is a text box, but it has autocomplete capabilities. The down arrow to select the user shows only when you hover over with the mouse after hitting search. The issue with the previous version which showed all the users as dropdown broke when there are more than 5000 users, hence this change.

If this gets too confusing, I will split up the Search and User list as separate controls. Please let me know if that is the issue.

vfasil commented 1 year ago

It works sometimes, but fails most of the times. It reloads the full page after hitting Search and no results appear.

Ocasionally, when it works, page is not reloaded and I get list of results based on inserted text fragment as expect.

But something is breaking as behaviour is not consistent.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Natraj @.> Sent: 23 de março de 2023 18:09 To: @.> Cc: @.>; @.> Subject: Re: [rajyraman/Levelup-for-Dynamics-CRM] Impersonate - Search user does nothing (Issue #280)

@vcqn11https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvcqn11&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mSte2r%2B6scP64lFtNxnqs9Bm6qSyUZ3vnvVlv9vrhAU%3D&reserved=0 @vfasilhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvfasil&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XvahG1VCe1CNh2Ww9knFFsPXwRg6Fcl6%2F8hwmcMpscc%3D&reserved=0 @wikaphttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwikap&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5lxJJwrC6L49kHsNF2qX7LQpty0BbzfxnA3LjDSzsDM%3D&reserved=0 @Diego-Saavedra-San-Juanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDiego-Saavedra-San-Juan&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QUc8abv3DV4QQa7kqnKB3wOTIhPJLF6YRED%2BnQJl%2FEI%3D&reserved=0 itsanwar-dev

Please watch this video https://twitter.com/RajYRaman/status/1634393536018911232?s=20https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FRajYRaman%2Fstatus%2F1634393536018911232%3Fs%3D20&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6rPfh3FyXrzwTWuYgtR1mcbcY%2BoCrdExkl%2F1udof69U%3D&reserved=0.

This is a text box, but it has autocomplete capabilities. The down arrow to select the user shows only when you hover over with the mouse after hitting search. The issue with the previous version which showed all the users as dropdown broke when there are more than 5000 users, hence this change.

If this gets too confusing, I will split up the Search and User list as separate controls. Please let me know if that is the issue.

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frajyraman%2FLevelup-for-Dynamics-CRM%2Fissues%2F280%23issuecomment-1481673470&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZNALyQNbusrIhEvlGWFC5OnbIKCO54U%2F6LrU8hZ4t8g%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAV6ZHT2PG37T456NQXPFFHDW5SGWDANCNFSM6AAAAAAWEL7GYA&data=05%7C01%7C%7C18066ad3122c4c8cbe4208db2bc9c3fa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151917797997612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ldyolydkc6pdQoJwf4nurxlrafZjSPOkaAzwkdqKSxI%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

matttheba commented 1 year ago

Ditto

rajyraman commented 1 year ago

@vfasil @matttheba - How many users approximately in the environment? Is it more than 5000?

matttheba commented 1 year ago

No, only 147 and just a third of those are licensed, remainder are past employees

rajyraman commented 1 year ago

@vfasil @matttheba - Please try sideloading https://github.com/rajyraman/Levelup-for-Dynamics-CRM/releases/tag/v3.6.4 and see if that fixes it.

vfasil commented 1 year ago

Only 226 users.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows


From: Natraj Yegnaraman @.> Sent: Thursday, March 23, 2023 6:53:08 PM To: rajyraman/Levelup-for-Dynamics-CRM @.> Cc: vfasil @.>; Mention @.> Subject: Re: [rajyraman/Levelup-for-Dynamics-CRM] Impersonate - Search user does nothing (Issue #280)

@vfasilhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvfasil&data=05%7C01%7C%7Cf807e2970b1d4df9def708db2bcfd86a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151943906133596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=x5cL71gEiH2U1aG4TT%2FHo%2Bs0Vfi6oHFGph8DGmhE294%3D&reserved=0 @mattthebahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmatttheba&data=05%7C01%7C%7Cf807e2970b1d4df9def708db2bcfd86a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151943906133596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DSQ7WrVMNEFU2iUZ4QtmSpv1OqmhV2h%2FswqaY0%2Fzh1k%3D&reserved=0 - How many users approximately in the environment? Is it more than 5000?

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frajyraman%2FLevelup-for-Dynamics-CRM%2Fissues%2F280%23issuecomment-1481730243&data=05%7C01%7C%7Cf807e2970b1d4df9def708db2bcfd86a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151943906133596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KDVs9CNJG7qREX9vY0rOovbnsk0vxyxXTKKpl1yN1UA%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAV6ZHT6ENPQQMWNRUKN53HLW5SLZJANCNFSM6AAAAAAWEL7GYA&data=05%7C01%7C%7Cf807e2970b1d4df9def708db2bcfd86a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151943906133596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=12r0gjG01VYDSwNA1KwtbIMVzO50HFIpWsBEMuKHM2A%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

matttheba commented 1 year ago

@vfasil @matttheba - Please try sideloading https://github.com/rajyraman/Levelup-for-Dynamics-CRM/releases/tag/v3.6.4 and see if that fixes it.

Yes, that works as per your original post

vfasil commented 1 year ago

Yes, this version 3.6.4 works. Thanks!

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Natraj @.> Sent: 23 de março de 2023 20:19 To: @.> Cc: @.>; @.> Subject: Re: [rajyraman/Levelup-for-Dynamics-CRM] Impersonate - Search user does nothing (Issue #280)

@vfasilhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvfasil&data=05%7C01%7C%7Cef8cae53ec3f4630712108db2bdbe4a3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151995658985414%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EFS0wTYu7UBhvKCazV80luz5X5FfcuVKDEKrXVLVQoQ%3D&reserved=0 @mattthebahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmatttheba&data=05%7C01%7C%7Cef8cae53ec3f4630712108db2bdbe4a3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151995659141655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fZ3LyCDTcVUVqsE8Y%2BP4kA5iSm9skMr%2FXQs1npH%2BgG0%3D&reserved=0 - Please try sideloading https://github.com/rajyraman/Levelup-for-Dynamics-CRM/releases/tag/v3.6.4https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frajyraman%2FLevelup-for-Dynamics-CRM%2Freleases%2Ftag%2Fv3.6.4&data=05%7C01%7C%7Cef8cae53ec3f4630712108db2bdbe4a3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151995659141655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BpvHiUs8h7JZ283SOn3ZdOw9qNdiUzub5H4k%2FlGZFE8%3D&reserved=0 and see if that fixes it.

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frajyraman%2FLevelup-for-Dynamics-CRM%2Fissues%2F280%23issuecomment-1481839913&data=05%7C01%7C%7Cef8cae53ec3f4630712108db2bdbe4a3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151995659141655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=G7hBKL%2BmiyQs5umOgZkXG9FNUgmyZQDFvzIGCNmLyLE%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAV6ZHT5MDX6PFSTDCLCN3B3W5SV4VANCNFSM6AAAAAAWEL7GYA&data=05%7C01%7C%7Cef8cae53ec3f4630712108db2bdbe4a3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638151995659141655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UbIcttAOMZdSNSfmwaJh26%2BNAucROfzaJKbcHDfdb6M%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

matttheba commented 1 year ago

I should add though, that the extension icon is not updating to show the username.

rajyraman commented 1 year ago

@matttheba @vfasil - Updated the version to fix the badge issue. Works on my machine. Can you please check on your environment by sideloading this release? https://github.com/rajyraman/Levelup-for-Dynamics-CRM/releases/tag/v3.6.4

matttheba commented 1 year ago

Yep works. I did find Search inconsistent though, sometimes I had to click it multiple times.

rajyraman commented 1 year ago

@matttheba - Search is querying the Dynamics Web API but via async chrome messages, so there might be a latency on that front. I have submitted the new release to Chrome and Edge. I will look into this issue end of the week and see if anything can be done to improve the experience.

rajyraman commented 1 year ago

The new version is live. Please check if that resolves your issue.

https://chrome.google.com/webstore/detail/level-up-for-dynamics-365/bjnkkhimoaclnddigpphpgkfgeggokam?hl=en

jason-russell commented 1 year ago

Can you release for Edge too? I tried installing the chrome version but got an error

image image

rajyraman commented 1 year ago

@jason-russell - Edge version is now live. But, I did not experience this issue when I installed the extension from Chrome store.

vfasil commented 1 year ago

Worked for me. Thanks.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Natraj @.> Sent: 28 de março de 2023 21:39 To: @.> Cc: @.>; @.> Subject: Re: [rajyraman/Levelup-for-Dynamics-CRM] Impersonate - Search user does nothing (Issue #280)

The new version is live. Please check if that resolves your issue.

https://chrome.google.com/webstore/detail/level-up-for-dynamics-365/bjnkkhimoaclnddigpphpgkfgeggokam?hl=enhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Flevel-up-for-dynamics-365%2Fbjnkkhimoaclnddigpphpgkfgeggokam%3Fhl%3Den&data=05%7C01%7C%7C6f0aac62be42472ecb1f08db2fcc9640%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156327978180628%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bxBpXLeDS2AWIxkayJLP0lmIBuWn7fU4OHbn9Zf8xrU%3D&reserved=0

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frajyraman%2FLevelup-for-Dynamics-CRM%2Fissues%2F280%23issuecomment-1487563494&data=05%7C01%7C%7C6f0aac62be42472ecb1f08db2fcc9640%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156327978180628%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=b83wz6UTsj1QgEFKJRIqNty2D6KMCeN2yECPJa0%2F48k%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAV6ZHTZCBLAQRUX6FGV4SHTW6NEBTANCNFSM6AAAAAAWEL7GYA&data=05%7C01%7C%7C6f0aac62be42472ecb1f08db2fcc9640%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156327978180628%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zTtdoZVsBIlqq55ihyjApoOo2vyIS8lmJ7Mvfx8Pb2Y%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

matttheba commented 1 year ago

Search doesn't work for me in Chrome or Edge with the new versions. The little arrow does not show up.

rajyraman commented 1 year ago

@matttheba - I am not able to repo this. You can try debugging using source maps.

image

You can also try checking in Network logs and see if the fetch returned any results.

image

The arrow should show up if there are results and when you hover or click the text box.