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

Various UX improvements #34

Merged
merged 5 commits into from
May 1, 2021
Merged

Various UX improvements #34

merged 5 commits into from
May 1, 2021

Conversation

ctbur
Copy link
Contributor

@ctbur ctbur commented May 1, 2021

From changelog:

@ctbur ctbur marked this pull request as ready for review May 1, 2021 08:05
@ctbur ctbur requested a review from inverse May 1, 2021 08:05
Copy link
Contributor

@inverse inverse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner 👍🏼

if repository.done:
continue
repositories = db.non_removed_repositories()
repositories_todo = [r for r in repositories if not r.done]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a function on the Database

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add one once it can be reused. non_removed_repositories mostly exists because I kept forgetting to check if the repository was removed.

@ctbur ctbur changed the title Make various UX improvements Various UX improvements May 1, 2021
@ctbur ctbur merged commit 5571c57 into master May 1, 2021
@ctbur ctbur deleted the various-improvements branch May 1, 2021 14:01
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.

2 participants