You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#85
Implement tracking for DateTime and Referrer Data for `LinkBundle` and Clicks and DateTime for `Link`.
* **Shared/LinkBundle.cs**
- Add `CreatedDate` property to track the creation date of the `LinkBundle`.
- Add `ReferrerData` property to track the referrer data of the `LinkBundle`.
* **Shared/Link.cs**
- Add `Clicks` property to track the number of clicks for the `Link`.
- Add `CreatedDate` property to track the creation date of the `Link`.
* **Api/Functions/CreateLinkBundle.cs**
- Set the `CreatedDate` property of the `LinkBundle` to the current date and time when creating a new `LinkBundle`.
- Set the `ReferrerData` property of the `LinkBundle` to the referrer data from the request headers.
* **Api/Functions/GetLinkBundle.cs**
- Increment the `Clicks` property of each `Link` when a `LinkBundle` is retrieved.
- Update the `CreatedDate` property of each `Link` to the current date and time when a `LinkBundle` is retrieved.
* **Client/Shared/LinkBundleDetails.razor**
- Display the `CreatedDate` property of the `LinkBundle`.
- Display the `ReferrerData` property of the `LinkBundle`.
* **Client/Shared/LinkBundleItem.razor**
- Display the `Clicks` property of the `Link`.
- Display the `CreatedDate` property of the `Link`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/the-urlist/blazor-static-web-apps/issues/85?shareId=XXXX-XXXX-XXXX-XXXX).
What do we need to track...
LinkBundle
Link
The text was updated successfully, but these errors were encountered: