Add createdAt and updatedAt
To track easily when was added and when was updated.
why not just git blame and/or git log -G?
You want it as part of the display for the users. uploaded at updated at to give another relevance indicator. Later for verification. every link must be checked at least 1 a month... (for example)
Problem would be doing this manually... error prone (e.g. very easy to forget to update updatedAt)
I think a proper implementation will generate these properties via the above git commands I mentioned
Yeah can be an automated process.
We should have a basic design before to better understand this feature
If we'll implement initiative feedback, we can get smarter feedback than created at /updated at. @ohadschn
If we'll implement initiative feedback, we can get smarter feedback than created at /updated at. @ohadschn
Initiative feedback like what? "group has many people", "site is full of bugs", things like that? Incorporating something like this would mean somewhat of a full-blown comment / user review system...
@4tal why did you remove the frontend tag? surely, we'd want to display it somehow to the user!
Also, how is this backend? The way I see it we'd simply add it to the auto-PR generation (for both the "create" and "update" scenarios) which is purely DevOps...
As for the initial backfill (namely setting the property for all existing initiatives), we can whip up some script that extracts the addition time from the git history.
@4tal I suggest we start with createdAt only, because that one is easy to add reliably (see associated PR).
updatedAt IMO is both less interesting and harder to manage - most of the time we edit initiatives manually and we'll forget for sure (or insert invalid ISO time values, etc)