-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Rename project board -> column to make the UI less confusing #30170
Conversation
You stole my PR idea!!! 🤣 Will review later today. This has to be done carefully to avoid breaking templates for example. |
Do we need any renames on the templates and UI parts? |
IIRC, the router also used Boards, so it should also be present in the template. Same for corresponding JS code. I can't check currently, but I will later today |
Definitly should do it all at once, not just backend only. |
I would suggest do not merge it until 1.22.1 or 1.22.2, otherwise any bug fix would be difficult to backport |
I disagree. Now is the best time for big refactors. And if those refactors are well-tested, they should be backported as well to enable future backports to be automatic. |
The problem is, I didn't see how "those refactors are well-tested" |
Looks like most frontend |
|
JS and CSS look good to me. There is simplication possible like removing the |
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 suggest merging this unless we got at least 3 approves
Quote my comments above:
At least, wait for 1.22.0 to be stable.
How to prove it is well-tested? |
This is just a rename refactor, it will not change the previous logic. So I think the previous tests will still work if they exist. I don't know how should we add tests for the renaming behavior. |
It doesn't seem to be as simple as a renaming refactor. There are many "names" passed by string, no strict code check, and I guess there were some conflicts resolved manually. So at least, I think every changed route handler and page should be tested manually? |
This PR split the
Board
into two parts. One is the struct has been renamed toColumn
and the second we have aTemplate Type
.But to make it easier to review, this PR will not change the database schemas, they are just renames. The database schema changes could be in future PRs.