This repository has been archived by the owner on May 30, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hosts UI revamp #552
Hosts UI revamp #552
Changes from 1 commit
235c8c0
9b3636b
6148b05
8132dc0
f99b372
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Aha!![:trollface: :trollface:](https://github.githubassets.com/images/icons/emoji/trollface.png)
camelCase
vssnake_case
strikes againUnfortunately we are not being consistent in the way we want
json
to look like.And I am part of the problem, too 😞, for instance in #546 I have used
snake_case
We did it differently throughout the code and I think that at a certain point we should sit, make an agreement on the style, and then commit to refactor all the codebase accordingly, which might not be trivial.
For reference: we have also an open issue for this #385
I don't think it is the right time to tackle such a refactor, though we can find an agreement for the immediate future.
I'd like to keep #546 consistent with this PR and since I don't have strong preferences, I can fix it to make
camelCase
compliant. Would that be ok?Then we can have a wider discussion and consider refactoring as well.
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.
@nelsonkopliku @dottorblaster in the entities/models i personally have used snake case everywhere, maybe we can keep this consistent at least for this layer and think about a clean-up later. wdyt?
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.
Ok, whatever it works better. Anyway we'd need to find an agreement on such things. Just not now 😄
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 like better the camel case honestly, we can refactor all at once laterz
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.
A bit late but ok for me.