-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(RESTServices): migrate code to TypeScript (#5453)
### 💭 Notes Also includes one style fix (for `z-index` issue; not perfect, but didn't want to spend too much time on it). The bug was that if you had multiple REST Service Hooks registered, the action buttons (their tooltips) on the right side were being covered by other row. ### 👀 Preview steps Steps for testing: 1. ℹ️ have account and a deployed project 2. go to Project --> Settings --> RESTServices 3. create a new service (use all the options; use some fake url) 4. 🟢 notice that all the possible options in the form works as previously (as expected) 5. create few submissions for your project 6. go back to Project --> Settings --> RESTServices 7. 🟢 notice that your registered service will have some count of Failed 8. click on service name 9. 🟢 notice a list of logs, all should be Failed (because fake url) 10. try using all three buttons: retry all, retry, and information 11. 🟢 all options should work as previously (retries cause a call and "Pending" status; information opens modal) Steps for working url: 1. ℹ️ have account and a deployed project 2. go to Project --> Settings --> RESTServices 3. create a new service (use all the options; use some mock url, e.g. https://mockapi.io or https://beeceptor.com/) 5. create few submissions for your project 6. go back to Project --> Settings --> RESTServices 7. 🟢 notice that your registered service will have some count of Success 8. click on service name 9. 🟢 notice a list of logs, all should be Success (because working mock url) 10. 🟢 notice there are no buttons 11. click on one of the logs 12. 🟢 notice a Submission Modal opens
- Loading branch information
1 parent
c6ecbf6
commit deb4e0a
Showing
8 changed files
with
387 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.