Skip to content
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

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Dart Format #71

merged 3 commits into from
Apr 5, 2024

Conversation

denysvitali
Copy link
Contributor

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:

dart format .

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.

@denysvitali denysvitali mentioned this pull request Apr 5, 2024
@kolaente kolaente requested a review from Benimautner April 5, 2024 13:45
@kolaente
Copy link
Member

kolaente commented Apr 5, 2024

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?

@denysvitali
Copy link
Contributor Author

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

@denysvitali
Copy link
Contributor Author

denysvitali commented Apr 5, 2024

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) {
Copy link
Member

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.

Copy link
Collaborator

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.

@kolaente kolaente merged commit 056b2d7 into go-vikunja:main Apr 5, 2024
2 checks passed
@denysvitali denysvitali deleted the style/dart-format branch April 5, 2024 20:44
Copy link
Collaborator

@Benimautner Benimautner left a 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants