-
Notifications
You must be signed in to change notification settings - Fork 896
refactor: Show template versions as timeline #4800
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
Conversation
@@ -21,8 +21,7 @@ type TemplateVersion struct { | |||
Name string `json:"name"` | |||
Job ProvisionerJob `json:"job"` | |||
Readme string `json:"readme"` | |||
CreatedByID uuid.UUID `json:"created_by_id"` | |||
CreatedByName string `json:"created_by_name"` | |||
CreatedBy User `json:"created_by"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd make this Creator
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a strong opinion about that? I like the CreatedBy
tho and it keeps consistent with the database so makes it easier, at least for me, to find and associate with the DB data.
coderd/database/migrations/000066_template_version_created_by.up.sql
Outdated
Show resolved
Hide resolved
I would love some help/guidance on how to fix the test. I don't know what is causing the error below:
|
Timeline
componentcreated_by
instead ofcreated_by_something
Before:

After (Sorry, I only have the one in storybook to use as example)
