-
Notifications
You must be signed in to change notification settings - Fork 28
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
Dart Format #71
Dart Format #71
Conversation
We should merge this first and then the other PRs. What do you think about adding this as a pipeline step as well, so that it will run every time a commit or PR is made? |
Sure thing. Let me do that! This is indeed the first PR that needs to be merged - otherwise you'll see in the other PRs (unless you check commit by commit) huge, unrelated changes |
if (list.body.toString().isEmpty) return Future.value([]); | ||
print(list.statusCode); | ||
return convertList(list.body, (result) => TaskList.fromJson(result)); | ||
}); | ||
} | ||
|
||
@override | ||
Future<List<TaskList>?> getByNamespace(int namespaceId) { |
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.
@Benimautner Is this still used? The api endpoints don't work anymore.
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.
No, there's a bunch of dead code for editing lists & namespaces which should be cleaned. It's still in there bc I wanted to check whether I could adapt the pages to edit projects.
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.
looks good. I'm looking forward to this happening as a workflow!
Since most of my PRs look like a lot has changed (because this project doesn't follow the idiomatic Dart format), this PR is the result of running:
From this PR forward, all the changes should be in the idiomatic Dart format - so that the changes won't end up looking like a huge mess.