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

Optimize color palette in CLI #93

Closed
wants to merge 3 commits into from

Conversation

mienpham04
Copy link

@mienpham04 mienpham04 commented Oct 7, 2024

Description

Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.

Resolve inconsistent color palette in CLI

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • I have maintained a clean commit history by using the necessary Git commands
  • I have checked that my code does not cause any merge conflicts

Screenshots (if applicable)

Add screenshots to help explain the changes (if necessary).
image

Copy link
Collaborator

@techy4shri techy4shri left a comment

Choose a reason for hiding this comment

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

@mienpham04 do not remove anything unless required. I see that the logging is removed and so it the dry run function.
Revert your changes, and only work on the solution you are assigned.
Your task is to add distinct colours to different texts which appears in the CLI while the package runs, not remove features others added.
Define a colour pallete for each type, implement it, write a good description in your PR how and where the changes are implemented and then request review again.

@@ -24,10 +16,9 @@
@click.option("--exclude", multiple=True, help="Files to exclude by name.")
@click.option("--label-color", default="yellow", type=str, help="Color of the label of progress bar.")
@click.option("--bar-color", default='#aaaaaa', type=str, help="Color of the progress bar.")
@click.option("--dry-run", is_flag=True, help="Simulate the process without deleting files.")
Copy link
Collaborator

@techy4shri techy4shri Oct 8, 2024

Choose a reason for hiding this comment

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

Why did you remove this line? Do not remove anything without any reason, and if you do remove something, always comment the reason.

@@ -1,20 +1,12 @@
import os
import click
import time
import logging
Copy link
Collaborator

Choose a reason for hiding this comment

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

why did you remove logging??

@@ -8,7 +8,7 @@
def handle_and_remove(filepath):
try:
os.remove(filepath)
click.echo(click.style(f"Deleted: {filepath}", fg='green'))
click.echo(click.style(f"Deleted: {filepath}"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

do not change the utils file unless needed. Your task issue mentioned falgs.py only.

@Kota-Karthik
Copy link
Owner

@mienpham04 You also have merge conflicts
please fix them after making neccessary changes as per review

Copy link
Collaborator

@techy4shri techy4shri left a comment

Choose a reason for hiding this comment

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

I still see unresolved changes. I am closing this PR tomorrow if you do not respond.

@techy4shri techy4shri added the changes requested changes requested in the pull request to make it eligible for merging. label Oct 15, 2024
@techy4shri
Copy link
Collaborator

Closing this pull request due to unresponsiveness of the contributor.

@techy4shri techy4shri closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested changes requested in the pull request to make it eligible for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Inconsistent Color Palette with an Optimal Color Palette for CLI Outputs
3 participants