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

fix(backend): compare like types for nextLineId #544

Merged
merged 1 commit into from
May 23, 2020
Merged

fix(backend): compare like types for nextLineId #544

merged 1 commit into from
May 23, 2020

Conversation

bhajneet
Copy link
Member

@bhajneet bhajneet commented May 22, 2020

fixes #351

Summary

Simple fix to compare IDs correctly. Before it was comparing an array with a string.

Tests

Tested with first and second lines of various shabads. Also tested with Asa Ki Vaar. Noticed that the << symbol is not shown in AKV. Can't remember if that was how it was before, but regardless it still looks okay and functions the same. You always can see where the jump will take you.

TTR

I won't lie, this took a lot longer than I expected. Took 60 minutes to read the code base and hone in on the area. Another 30 minutes to figure out how to debug in VS Code. And then finally another 15 to resolve and test various shabads.

@bhajneet bhajneet linked an issue May 22, 2020 that may be closed by this pull request
Copy link
Member

@Harjot1Singh Harjot1Singh left a comment

Choose a reason for hiding this comment

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

Great catch, all good!

@Harjot1Singh Harjot1Singh merged commit c3b7089 into shabados:dev May 23, 2020
@bhajneet bhajneet deleted the issue-351 branch May 23, 2020 15:48
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.

Set second line as "jump to" if first line is set as "main line"
2 participants