Commit graph

880 commits

Author SHA1 Message Date
7421f041e6 Avoid text jump when the stream is paused
When the scrollbar goes from display none to being visible, the
text beside it can jump in-place. This change avoids that by making
the scrollbar invisible.
2023-12-04 07:43:51 -03:00
611582c93d v0.7.5 2023-12-04 07:43:51 -03:00
a3a9f4abb5 Really fix auto-scroll on iOS 2023-12-04 07:43:51 -03:00
cbab7d1795 Reduce right offset on arabic layout 2023-12-04 07:43:15 -03:00
9f787c21bb Remove dead CSS 2023-12-04 07:26:00 -03:00
362addad12 v0.7.6 2023-12-04 05:28:36 -03:00
ac9992ece8 Avoid text jump when the stream is paused
When the scrollbar goes from display none to being visible, the
text beside it can jump in-place. This change avoids that by making
the scrollbar invisible.
2023-12-04 05:27:06 -03:00
8e364f6a43 v0.7.5 2023-12-04 05:04:37 -03:00
446c4ed276 Really fix auto-scroll on iOS 2023-12-04 05:03:35 -03:00
6706f8a4a9 Remove scrollIntoView 2023-12-04 04:03:46 -03:00
74576b05aa Remove scrollIntoView 2023-12-04 03:57:27 -03:00
abcb0d6d76 v0.7.4 2023-12-04 02:08:30 -03:00
61c98d072f Remove deadcode 2023-12-04 02:08:30 -03:00
5264b846f6 fixup! Add "OFFSET" to Stream.tsx 2023-12-04 02:08:30 -03:00
01d7e4f6fb Add "OFFSET" to Stream.tsx 2023-12-04 02:08:30 -03:00
3acdaf8a2a Optimize memo of Stream.tsx
The Stream only has to re-render when 'stream.length' changes, but
could be re-rendered by a parent in scenarios where 'stream.length'
has not changed. This change optimizes that scenario by only
re-rendering the stream when 'stream.length' changes.
2023-12-04 02:08:30 -03:00
af92fafeb2 useRef / useMemo in Stream.tsx 2023-12-04 02:08:30 -03:00
e0ed29b812 scrollBy offsetHeight + scrollTop 2023-12-04 02:08:30 -03:00
23c9757fd0 v0.7.3 2023-12-04 02:08:30 -03:00
454faac829 Fix auto-scroll in SurahStream.tsx (mobile / iOS) 2023-12-04 02:08:30 -03:00
98cf4f5234 v0.7.2 2023-12-04 02:08:30 -03:00
9defa1bb47 Add /durations/
This change fixes SurahStream.tsx by hosting the durations for the
timer locally, within the app, rather than depending on
al-quran.reflectslight.io being accessible (eg when offline).
2023-12-04 02:08:30 -03:00
ba3bdb9456 Fix deadlock 2023-12-04 02:08:30 -03:00
f73ecc1e3e tasks: clean_css -> clean:css 2023-12-04 02:08:30 -03:00
38f8419dad Follow same pattern as other tasks 2023-12-04 02:08:30 -03:00
594d76fd56 Add lock to avoid builds running in parallel
When one build is running, we don't want a second one
to run as well as the two builds could step on each
other toes. This change adds a locking mechanism that
waits for the current build to finish before starting
the next build.
2023-12-04 02:08:30 -03:00
bd627f6704 v0.7.4 2023-12-04 02:07:53 -03:00
e72db010d7 Remove deadcode 2023-12-04 02:04:54 -03:00
8ae3585cbf Update quran.png 2023-12-04 02:03:29 -03:00
1e3922f140 Update quran.png 2023-12-04 02:03:29 -03:00
1d8f34b587 fixup! Add "OFFSET" to Stream.tsx 2023-12-04 02:03:29 -03:00
270e9a06ff Add "OFFSET" to Stream.tsx 2023-12-04 02:03:29 -03:00
46850a8cfb Optimize memo of Stream.tsx
The Stream only has to re-render when 'stream.length' changes, but
could be re-rendered by a parent in scenarios where 'stream.length'
has not changed. This change optimizes that scenario by only
re-rendering the stream when 'stream.length' changes.
2023-12-04 01:59:13 -03:00
1a7af1be2a useRef / useMemo in Stream.tsx 2023-12-04 01:36:58 -03:00
f2db229dd0 scrollBy offsetHeight + scrollTop 2023-12-04 00:39:20 -03:00
a773da0a06 v0.7.3 2023-12-04 00:01:40 -03:00
7d2bdf8a6b Fix auto-scroll in SurahStream.tsx (mobile / iOS) 2023-12-04 00:01:08 -03:00
f970cd9895 v0.7.2 2023-11-28 15:15:46 -03:00
89e4d50460 Add /durations/
This change fixes SurahStream.tsx by hosting the durations for the
timer locally, within the app, rather than depending on
al-quran.reflectslight.io being accessible (eg when offline).
2023-11-28 15:13:32 -03:00
ddce65ea84 Fix deadlock 2023-11-28 12:46:14 -03:00
57bf84c422 tasks: clean_css -> clean:css 2023-11-28 12:44:05 -03:00
7db3476239 Follow same pattern as other tasks 2023-11-27 18:18:10 -03:00
bf4b7484f9 Add lock to avoid builds running in parallel
When one build is running, we don't want a second one
to run as well as the two builds could step on each
other toes. This change adds a locking mechanism that
waits for the current build to finish before starting
the next build.
2023-11-27 18:16:03 -03:00
df78d78455 Optimize height 2023-11-26 23:49:15 -03:00
adac9912b0 Misc UI / layout improvements
The Arabic layout is especially improved. The CSS still needs work,
I think the most tech debt is probably within the css.
2023-11-26 23:49:15 -03:00
47738b2937 Bump surah ID width to 45px
On the Surah Index page, in the "en" locale, there was not enough
space between a surah's ID and its name. This change fixes that.
2023-11-26 23:49:15 -03:00
eaa0113ad9 Optimize height 2023-11-26 23:45:12 -03:00
0f0d03fbd4 Misc UI / layout improvements
The Arabic layout is especially improved. The CSS still needs work,
I think the most tech debt is probably within the css.
2023-11-26 22:08:38 -03:00
ea23419aac Bump surah ID width to 45px
On the Surah Index page, in the "en" locale, there was not enough
space between a surah's ID and its name. This change fixes that.
2023-11-20 19:16:41 -03:00
7d3edd28ca v0.7.1 2023-11-20 16:20:53 -03:00