ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 119 forks source link

Adding hyperlinks to components #161

Open dakotabenjamin opened 5 years ago

dakotabenjamin commented 5 years ago

Hi, I'm trying to contribute this feature but having some trouble: https://github.com/dakotabenjamin/LambStatus/tree/add/hyperlinks-in-components

One issue I am having is that once created I cannot edit the URL. In the Component Dialog I change the text then hit edit, but when I open the dialog again the text is the old text.

Am I missing something?

ks888 commented 5 years ago

Thank you for your contribution!

When the component is updated, updateComponent action is called instead of postComponent.
https://github.com/dakotabenjamin/LambStatus/blob/9e1690c426c8bb44c56cefd8821f91152e5824da/packages/frontend/src/actions/components.js#L67