Skip to content

push all 3 files (readme, code and notes) under single commit#245

Open
BRO3886 wants to merge 3 commits into
QasimWani:mainfrom
BRO3886:main
Open

push all 3 files (readme, code and notes) under single commit#245
BRO3886 wants to merge 3 commits into
QasimWani:mainfrom
BRO3886:main

Conversation

@BRO3886

@BRO3886 BRO3886 commented Mar 5, 2022

Copy link
Copy Markdown
Contributor

No description provided.

BRO3886 added 3 commits August 7, 2021 07:58
uses ref, blob and tree apis from github to create a single
commit per submission. Also removes the need for update and upload
actions and methods since github can calculate diffs between blobs

This will reduce the amount of commits so that your git history
remains cleaner. Also, does not upload notes if notes length is 1
@BRO3886

BRO3886 commented Mar 6, 2022

Copy link
Copy Markdown
Contributor Author

@QasimWani :)

@ShanePark

ShanePark commented Mar 29, 2022

Copy link
Copy Markdown

Please. 3 commits for every submission is a bit much :)

@yadunandanbhat

Copy link
Copy Markdown

Yes! To recruiters who takes a look at our profile, it looks like we just did leetcode for the sake of increasing our commits!

@calee0219

Copy link
Copy Markdown

The feature looks great!

@atanughosh01

Copy link
Copy Markdown

@QasimWani need this very much

@li935

li935 commented Aug 27, 2022

Copy link
Copy Markdown

I want that function, too. The number of unnecessary commits seems to exaggerate my history.

@li935 li935 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is a necessary development for us.

@Suhasr76 Suhasr76 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good

@Suhasr76 Suhasr76 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good

Comment thread scripts/leetcode.js
}
}

const getCodeAndMsg = async (msg) => {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

you're creating a lot of tech debt with these two new functions. also, it doesn't incorporate updating local windows storage when you've already solved the problem before. Solving same problem keep increasing up your problem count tally.

Comment thread scripts/leetcode.js
const token = res.leethub_token;
const mode = res.mode_type;
const hook = res.leethub_hook;
const stats = res.stats;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

this should be a var. You're changing the value of stats later in the function.

@QasimWani QasimWani left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

incorporate new functions into existing scripts.

@BRO3886

BRO3886 commented Oct 19, 2022

Copy link
Copy Markdown
Contributor Author

would not be able to pick it right now due to some personal commitments, @QasimWani, please feel free to close. You can also assign it to someone who wants to work on this further

@sumitpardhiya

Copy link
Copy Markdown

Please remove 3 commits for every solution.

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.

9 participants