Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
teraßyte Posted February 24, 2022 Posted February 24, 2022 (edited) 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, 2022 by teraßyte IPCommerceFan 1
IPCommerceFan Posted February 24, 2022 Posted February 24, 2022 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.
ReyDev Posted May 17, 2022 Posted May 17, 2022 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='....'>
teraßyte Posted May 17, 2022 Author Posted May 17, 2022 This is a problem with the IPS framework itself so I can't really add it to "my elements". 😋
Management Solution Matt Posted May 17, 2022 Management Solution Posted May 17, 2022 PR 6968 opened. This should be in the June release pending review. SeNioR- 1
Recommended Posts