-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Webhooks workspace #962
Conversation
I also fixed some typos in logviewer. I noticed a few things I found inconsistent:
|
@iOvergaard I think the most basic stuff has been added, but comparing to the log viewer tree, I can't seem to figure out what's is missing to show the overview/webhooks and logs apps?
Update: It seems this part did it. 4a39b06 |
I prepared some table data in 740aac2 But I don't how it generates the models in here: e.g. |
@bjarnef just for clarification. The PR of UI Library that you reference is just changing the essential icons of UI Library to use Lucide. So not bringing any new icons. But there is abilities to get the webhook icon into v.14. |
@nielslyngsoe in umbraco/Umbraco-CMS#15077 we have include a webhook SVG icon in the current backoffice for now. But for the new backoffice should this be an essential icon (from Lucide icons) then? I have noticed when opening the icon picker in the new backoffice some icons are shown right away (it is probably) the essential icons, while the rest appears a bit delayed. |
@bjarnef correct. Good we talked about this, I didn't know about the new Icon. so that should be ported for New backoffice. And then ideally use the Lucide version. (Thought I personally find that one a bit hard to decode visually, but minor detail in the bigger picture) |
@nielslyngsoe yes, I added the webhook specific icon https://www.svgrepo.com/svg/503141/webhook because it seemed to be a somewhat standard and many icon libraries seems to use this: https://lucide.dev/icons/webhook |
@bjarnef I ported it now. I did though add the Lucide one. But I do find the one you picked better, as it symbolizes connecting the dots. Where the Lucide one, If I didn't know what it was supposed to symbolize, then I would not know what it should symbolize. So ideally I would make a change to that icon one day so It has some dots in it. |
@nielslyngsoe regarding this PR, how are the models generated, e.g. I also found some inconsistency in naming conventions, where some filenames or object names are in singular form others in plural form :) and do we need the |
You need to run |
@iOvergaard okay, then the models weren't just magically generated 🦄😅 It seems the and |
Okay it generates a lot of models, but most changes just formatting in the models. However I don't get any I guess it is because there is no webhook specific endpoint here in the Management API? @Zeegaan should there be endpoints to create/read/update/delete webhooks via Management API? |
… feature/webhooks-workspace # Conflicts: # src/external/backend-api/src/models/CreateWebhookRequestModel.ts # src/external/backend-api/src/models/UpdateWebhookRequestModel.ts # src/external/backend-api/src/models/WebhookEventResponseModel.ts # src/external/backend-api/src/models/WebhookItemResponseModel.ts # src/external/backend-api/src/models/WebhookModelBaseModel.ts # src/external/backend-api/src/models/WebhookResponseModel.ts # src/external/backend-api/src/services/WebhookResource.ts
Hi @bjarnef What is needed is the create/edit view as well as the logs view now. Would you like to look more into that? |
Hi @iOvergaard Thanks for fixing all of this 😅 I could have a look at that - maybe in a new PR then? I think we also need a paged results for |
@bjarnef Yes, I think we need that method. It's kind of a hack in the data source at the moment and the "filter" property with "skip" and "take" is not being used at all. I think currently it would just show all webhooks registered. I'll just make sure this PR can build, then we'll merge it, and you can look into the other things. Does that sound ok? |
Yes, that would be great. We can always continue the work and adjust it further. |
Description
Types of changes
Motivation and context
Added new webhooks workspace, which has been added to Umbraco 13.
I used anchor icon for now, but we can update this to a more webhook specific icon when Lucide icons are included.
umbraco/Umbraco.UI#629
How to test?
Screenshots (if appropriate)
Checklist