Closed DevGregor closed 6 months ago
Super nice, I will check the next days :)
Maybe one question: What do you mean with "We refresh the page because it has issues when switching between multiple CPI Tenants" You mean when you have multiple tenants with CPI-Helper open?
btw: just in case it is interesting for you for example to indicate that artifact was not locked or it was unlocked successful.
showToast("Download complete.");
creates a small toast message.
Maybe one question: What do you mean with "We refresh the page because it has issues when switching between multiple CPI Tenants" You mean when you have multiple tenants with CPI-Helper open?
Yes, I had 2 tenants open (development and quality) where one was Neo and the other CF. When I tested the plugin it didn't execute the DELETE and when I refreshed the tenant I was trying to unlock an artifact in, it worked. Maybe it's related to the cache but I'll check on this again.
btw: just in case it is interesting for you for example to indicate that artifact was not locked or it was unlocked successful.
showToast("Download complete.");
creates a small toast message.
I will take a look at this. Thanks for the hint with the toast message! I will add this . :)
Maybe one question: What do you mean with "We refresh the page because it has issues when switching between multiple CPI Tenants" You mean when you have multiple tenants with CPI-Helper open?
Yes, I had 2 tenants open (development and quality) where one was Neo and the other CF. When I tested the plugin it didn't execute the DELETE and when I refreshed the tenant I was trying to unlock an artifact in, it worked. Maybe it's related to the cache but I'll check on this again.
I tested it again and it worked without a refresh, thus I removed it.
Added the toast messages but I also tried to do something with an icon or text where it shows that it is already locked or unlocked and for that I need to make the onRender function async but when I tried to do this, it wouldn't load the plugin on the message sidebar. Is that not possible or can you maybe take a look at this?
Thanks for the improvements. That was really fast. Will be released with 3.13.0
Thanks for the improvements. That was really fast. Will be released with 3.13.0
Are you taking a look at the issue mentioned? I'm trying to figure out what's wrong but haven't gotten far. For some reason on the Neo environment I get 403 Forbidden.
Description This little Plugin adds a button to the message sidebar and unlocks the viewed artifact when clicked.
Steps When the button is clicked the following is executed:
INFO Step 3 includes a toast message that is shown in both cases (locked or already unlocked)
ISSUE When I tried this with a CPI on the Neo environment the response was 403 Forbidden. Seems to be related to the makeCallPromise function in Tools.