gita / gita-frontend-v2

Frontend for BhagavadGita.io v2
https://bhagavadgita.io
MIT License
43 stars 53 forks source link

Sk/bug188 chapter page #219

Closed sarthak-kumar-shailendra closed 6 months ago

sarthak-kumar-shailendra commented 1 year ago

Resolving bug - 188 https://github.com/gita/gita-frontend-v2/issues/188 reported by @samanyougarg

  1. Reduced verse selection dropdown size on chapter page.
  2. Resolved spacing issues of verse numbers and right side extra margin
  3. Clicking on verse number directly opens the verse page
vercel[bot] commented 1 year ago

@sarthak-kumar-shailendra is attempting to deploy a commit to the Ved Vyas Foundation Team on Vercel.

A member of the Team first needs to authorize it.

samanyougarg commented 1 year ago

Thanks for picking up this PR @sarthak-kumar-shailendra !

samanyougarg commented 1 year ago

Reduced verse selection dropdown size on chapter page. This is fixed.

samanyougarg commented 1 year ago

Resolved spacing issues of verse numbers and right side extra margin There are some more issues here. When there are too many shlokas, the dropdown looks weird.

See the gap after 46:

Screenshot 2023-09-25 at 12 12 46 AM

Additionally, the dropdown is becoming too long if there are too many verses. Can we try something else for better UX? Perhaps show the first 4 rows of shlokas and then add a scrollbar?

samanyougarg commented 1 year ago

Clicking on verse number directly opens the verse page This has been fixed and is working well thank you!

samanyougarg commented 1 year ago

Could you please pick up this one as well:

Clicking outside the verse selection box should close it.

sarthak-kumar-shailendra commented 1 year ago

@samanyougarg will do the required changes

sarthak-kumar-shailendra commented 1 year ago

Have fixed this - "Clicking outside the verse selection box should close it." Also, have added max height and scroll behaviour to dropdown. However, was not able to repro that gap issue after 46th verse... @samanyougarg can you check again and let me know the screen dimensions if it's still happening

Screenshot 2023-09-25 at 10 33 13 PM
sarthak-kumar-shailendra commented 11 months ago

@samanyougarg pls check this

sarthak-kumar-shailendra commented 9 months ago

Hare Krishna pls review @samanyougarg

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bhagavad-gita ✅ Ready (Inspect) Visit Preview Jan 20, 2024 6:19pm
samanyougarg commented 9 months ago

Hare Krishna, the height of this dropdown still needs reduction. CleanShot 2024-01-21 at 00 05 13@2x

samanyougarg commented 9 months ago

Other things seem good. Once we reduce the height, we can merge. Sorry for the delay here.

sarthak-kumar-shailendra commented 9 months ago

Hare Krishna, I have already reduced the height of the dropdown menu to accommodate the first 4 rows as instructed before. Do you want to make it even shorter or are you asking me to reduce the height of the dropdown CTA? @samanyougarg

Screenshot 2024-01-22 at 12 46 07 AM