Commit graph

279 commits

Author SHA1 Message Date
887dd19530 Run prettier 2024-06-08 23:19:30 -03:00
4fb0f12cd4 Remove percent symbol from progress bar UI 2024-06-08 23:14:19 -03:00
fd4b79e13b Add progress bar improvements in Arabic / Farsi 2024-06-08 23:01:29 -03:00
509d48a721 Extend Filter.tsx to cover 'surah.roman.name', too 2024-06-08 22:09:13 -03:00
ba6ccee290 Update SurahStreamLoader.ts 2024-06-07 22:42:48 -03:00
f6ce562afc Tick at 100ms intervals
Try to improve Timer.tsx accuracy
2024-06-07 20:26:47 -03:00
c8018ff7f0 Determine Timer.tsx duration from MP3, otherwise default on fallback
This change repurposes /json/durations/alafasy/<id>.json as
/json/durations/<id>.json. A file from /json/durations/ is
used by Timer.tsx when sound is disabled. Otherwise the
duration is taken from an MP3.

This change facilitates changing the recitation author
without needing to provide a JSON file that described the
duration of each MP3.
2024-06-07 15:10:57 -03:00
fea1d737f2 Add server.base_url, audio.base_url
With this change the website can be hosted on
any domain (up to being entirely independent of
al-quran.reflectslight.io) by configuring a
couple of variables.
2024-06-02 03:11:48 -03:00
ea2cb5711f Assign locale via document.documentElement 2024-06-02 01:47:28 -03:00
410ce5d96c Fix prettier 2024-05-31 02:18:05 -03:00
0c713574e6 Replace inline_json with postman 2024-05-31 02:15:57 -03:00
bbb3659a91 Access document language via documentElement 2024-05-31 02:06:08 -03:00
6297ff7599 Prevent unneccessary MP3 download 2024-05-31 01:46:30 -03:00
bc916e7de6 Export LanguageSelect, ThemeSelect from /js/Select/index.tsx 2024-05-31 01:12:39 -03:00
e3f0df68ce npm run prettier 2024-05-31 00:46:50 -03:00
4d91c29567 LanguageSelect: add $black border 2024-05-31 00:24:39 -03:00
a20502b653 Iterate on rtl design 2024-05-30 18:10:16 -03:00
e77533a947 Iterate on rtl design 2024-05-30 17:45:05 -03:00
2ed6256eb3 Replace custom CSS (w-95) 2024-05-30 06:49:49 -03:00
0bf52277b8 Add gap for improved scrolling 2024-05-30 05:45:23 -03:00
33ff298613 npm run prettier 2024-05-30 05:29:05 -03:00
95a8aab690 Replace CSS class with data-testid 2024-05-30 05:02:19 -03:00
dba72d5968 Reduce custom CSS (SurahIndex.scss) 2024-05-30 04:41:24 -03:00
72719684a6 Replace data-locale with lang attribute 2024-05-25 23:33:49 -03:00
62898d4908 v0.8.3 2024-05-25 03:18:48 -03:00
04784515fe Remove data-app-version 2024-05-25 01:38:43 -03:00
6db1792828 Update src/js/loaders/ 2024-05-24 22:02:03 -03:00
1c08dcede0 Add /components/Timer/ 2024-05-24 16:16:55 -03:00
e8f2f11734 Reduce intesity of Timer.tsx ticks 2024-05-24 15:57:42 -03:00
7d8867e991 Fix bug in redirect.ts 2024-05-24 15:56:52 -03:00
f75da19d74 Set SameSite=Strict 2024-05-24 14:17:14 -03:00
9641ea2f57 Fix "rake ci" 2024-05-24 14:07:52 -03:00
4a362b7db8 Reduce re-renders of SurahStream (SurahStream/index.tsx) 2024-05-24 14:02:02 -03:00
96bf486ad2 Add "rake ci" 2024-05-19 23:24:47 -03:00
5e202a01fd Close select after an option is clicked 2024-05-19 21:51:49 -03:00
2ead06cf05 Adjust margin based on direction (rtl / ltr) 2024-05-19 20:53:47 -03:00
716096e911 Try to improve ThemeSelect.tsx (mobile) 2024-05-19 20:37:56 -03:00
5acb5484df Add padding (mostly for mobile) 2024-05-19 20:35:16 -03:00
9627c60021 Add translatedBy to surahs.json 2024-05-19 20:22:14 -03:00
0ac9e415a6 Update Filter.tsx 2024-05-19 17:30:04 -03:00
e1249e7b81 Add Farsi support
This change is a big one. It adds Farsi support,
which by itself is significant. In the process of
adding Farsi support other significant improvements
were made:

* Select.tsx component
* TLocale (Quran/index.ts)
* ...
2024-05-19 16:51:37 -03:00
793954b0aa Fix prettier + eslint 2024-05-17 02:55:11 -03:00
a966e8a8e2 Restructure info.json
The schema has been changed to be easily
interchangeable between different locales,
and these changes make it easier to adopt
Farsi support as well.
2024-05-16 16:17:12 -03:00
deae96fc4b Add Quran.locales 2024-05-15 21:51:04 -03:00
82cb7e81e0 Populate surah via info.json 2024-05-14 23:09:31 -03:00
ea8fe925af s|ref|articleRef|g 2024-05-14 16:26:04 -03:00
2e6952eacc Add SurahStream/ 2024-05-14 16:07:57 -03:00
4f282e12f2 Fix format offenses 2024-05-02 10:46:40 -03:00
adfe95103e !0 evaluates as true, returning early for a case we didn't expect
The if guard in this commit is aimed at catching null / undefined.
2024-05-02 05:31:46 -03:00
1d06b50300 Handle 'ms' being null as "zero" in Timer 2024-05-01 12:40:02 -03:00