Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 24, 20222 yr I noticed that sometimes the YesNo widget settings in the app developer center don't work. To reproduce follow this steps: Let's use the CORE application, open the developer center and go to the WIDGETS tab. Click the edit button for the activeUsers widget (or any other really). Try editing the Allow widget re-use? or Embeddable by Pages app settings; they'll work just fine. Close the settings modal popup without saving the changes (either clicking the X button or clicking somewhere else in the page). Click the edit button for the stats widget (or any other really). Try editing the Allow widget re-use? or Embeddable by Pages app settings; the settings can't be edited. To be able to edit the settings again you have to re-open the first widget's settings (activeUsers in the example above). After clicking the save button the modal popup gets destroyed and the settings in the next plugin can not be edited just fine. (Well, another way to fix the issue is to simply reload the page and open right away the widget you want to edit.) Edited February 24, 20222 yr by teraßyte
February 24, 20222 yr Yes! I ran into this when building a plugin for the Dripcampaigns application. Reloading the page to clear the (cached?) modal information was the only way to fix it. It seems to be a universal problem with the way these toggles are handled. Thanks for putting together the reproduction case.
May 17, 20222 yr On 2/24/2022 at 2:05 PM, IPCommerceFan said: Yes! I ran into this when building a plugin for the Dripcampaigns application. Reloading the page to clear the (cached?) modal information was the only way to fix it. It seems to be a universal problem with the way these toggles are handled. Thanks for putting together the reproduction case. On 2/24/2022 at 10:18 AM, teraßyte said: I noticed that sometimes the YesNo widget settings in the app developer center don't work. To reproduce follow this steps: Let's use the CORE application, open the developer center and go to the WIDGETS tab. Click the edit button for the activeUsers widget (or any other really). Try editing the Allow widget re-use? or Embeddable by Pages app settings; they'll work just fine. Close the settings modal popup without saving the changes (either clicking the X button or clicking somewhere else in the page). Click the edit button for the stats widget (or any other really). Try editing the Allow widget re-use? or Embeddable by Pages app settings; the settings can't be edited. To be able to edit the settings again you have to re-open the first widget's settings (activeUsers in the example above). After clicking the save button the modal popup gets destroyed and the settings in the next plugin can not be edited just fine. (Well, another way to fix the issue is to simply reload the page and open right away the widget you want to edit.) Add `data-ipsDialog-destructOnClose` attribute to your elements. <a href='....' data-ipsTooltip _title="Edit" class="ipsButton ipsButton_verySmall ipsButton_positive " data-ipsDialog data-ipsDialog-destructOnClose data-ipsDialog-title='....'>
May 17, 20222 yr Author This is a problem with the IPS framework itself so I can't really add it to "my elements". 😋
May 17, 20222 yr Management Solution PR 6968 opened. This should be in the June release pending review.