Skip to content

[WV-2444] Add timeStampOfChange to dataLayer for save events on profile sections#4711

Open
pi-sen wants to merge 1 commit intowevote:developfrom
pi-sen:feature/datalayer-timestamp-save
Open

[WV-2444] Add timeStampOfChange to dataLayer for save events on profile sections#4711
pi-sen wants to merge 1 commit intowevote:developfrom
pi-sen:feature/datalayer-timestamp-save

Conversation

@pi-sen
Copy link
Contributor

@pi-sen pi-sen commented Feb 28, 2026

Summary

Adds timeStampOfChange to the dataLayer for save events on the candidate profile settings page.

Changes

  • SettingsPoliticalParty.jsx – Added timestamp when political party is saved
  • SettingsWidgetLinkCampaignWebsite.jsx – Added timestamp when campaign website is saved
  • SettingsWidgetPoliticianName.jsx – Added timestamp when politician name is saved
  • SettingsWidgetPoliticianStatement.jsx – Added timestamp when official statement is saved

Details

  • Uses Date.now() for the timestamp (milliseconds since epoch)
  • Matches the timeStampOfChange pattern used elsewhere in the codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant