KhalisFoundation / sttm-web

STTM website - https://www.sikhitothemax.org
https://www.sikhitothemax.org
Open Software License 3.0
50 stars 34 forks source link

Add ability to open a Pauri in SG #1219

Open plug-n-play opened 4 years ago

plug-n-play commented 4 years ago

Is your feature request related to a problem? Please describe. At times, we need to quickly move to a specific Pauri in Sundar-Gutka.

Describe the solution you'd like An ability to click a link and reach there without manually scrolling all along would be awesome.

saintsoldierx commented 3 years ago

@gurjit03, is there a way we can put pauri numbers for Baanis like Japji Sahib, Sukhmani Sahib as shortcuts to skip to pauri?

saintsoldierx commented 2 years ago

@gurjit03 please let me know what's possible? I can come up with UI suggestion if this is possible

gurjit03 commented 1 year ago

@saintsoldierx I will have a look asap

gurjit03 commented 3 months ago

@saintsoldierx @ManjotS Quickly checking the API response, I can't see any information about the pauree.

image

We need support 1 more property on the API response i.e pauree.

Gauravjeetsingh commented 2 months ago

@gurjit03 veerji, how about using that paragraph property, it looks like it has the same purpose as the pauree. 🤔

gurjit03 commented 2 months ago

@Gauravjeetsingh I doubt that check paragraph: 1, 2, 3 for eg. We can deduce this information but we might needs to do some checks on the FE side and also have to rely on our limited knowledge for the same, could lead to some unexpected errors imho.

Gauravjeetsingh commented 2 months ago

Oh, I see. Yeah, the paragraph numbers aren't consistent with Pauris. We would need another property here,

saintsoldierx commented 2 months ago

This needs to be modified in the API then.