Review of "Sholat Next" version 2

Details Page Preview

Sholat Next is a clean, modern Islamic prayer times and calendar extension for GNOME Shell (45–51). Key Features: - Top Bar Widget: Circular progress ring, next prayer time and live countdown, 10-minute pre-prayer highlight with real-time seconds, and optional 10-second rotation between Gregorian and Hijri dates. - Prayer Schedule Card (Nusa Card & Classic Mode): Sun/moon trajectory arc showing Fajr, Sunrise, Dhuhr (automatically labeled Jumu'ah on Fridays), Asr, Maghrib, and Isha, plus Duha time, Hijri date, and moon phase indicator. - Integrated Hijri & Gregorian Calendar: 2-column split view with daily prayer times and color-coded fasting markers (Monday/Thursday, Ayyamul Bidh, Ramadan, Ashura, Arafah, etc.). - Qibla Compass Card: Interactive Qibla dial accessible from the header pill or carousel dots, showing azimuth angle, compass direction, distance to Kaaba, and location coordinates. - Multi-Country & Custom Coordinates: Built-in city search for Indonesia (MyQuran API), international cities and manual Latitude/Longitude coordinates (Aladhan API), calculation method & Asr school (Standard/Hanafi) options, and per-prayer minute & Hijri day offsets. - Prayer Reminders & Gentle Chime: Desktop notifications 10 minutes before and at exact prayer times with an optional gentle built-in chime sound. - Multi-Language & Themes: Supports English (US), Indonesian, and Arabic (RTL layout; installing the Tajawal font is recommended for best Arabic rendering, with system Arabic font fallback), plus Dark, Light, and Auto system themes. Network & Privacy Disclosure: This extension makes HTTPS GET requests only to public APIs (api.myquran.com, api.aladhan.com, and nominatim.openstreetmap.org) to fetch prayer schedules, Hijri dates, and city coordinates. No telemetry, analytics, or personal data collection is performed. Source & Issue Tracker: https://github.com/GusThink/sholat-next

Extension Homepage
https://github.com/GusThink/sholat-next

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 5

Shexli found 5 issues that may need reviewer attention.

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • extension.js:763
    GLib.file_get_contents(monthPath)
  • extension.js:1239
    GLib.file_get_contents(cfgPath)
  • extension.js:1338
    GLib.file_get_contents(cachePath)
  • extension.js:1362
    GLib.file_get_contents(targetPath)
  • extension.js:1505
    GLib.file_get_contents(qFile)
  • extension.js:1522
    GLib.file_get_contents(monthPath)
  • extension.js:2967
    GLib.file_get_contents(dayPath)
  • extension.js:2977
    GLib.file_get_contents(monthPath)

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • extension.js:461
                    this._ifaceSettingsChangedId = this._ifaceSettings.connect('changed::color-scheme', () => {
                        if (this._isDestroyed) return;
                        if (this._settings && this._settings.get_string('theme-mode') === 'auto') {
                            this._buildMenu();
      
  • extension.js:491
            this._menuOpenChangedId = this.menu.connect('open-state-changed', (menu, isOpen) => {
                if (isOpen) {
                    this._update();
                    this._buildMenu();
                    if (this._activeCardIndex === 0) {
                        this._startSunAnimation();
                   
  • extension.js:474
            this._settingsChangedId = this._settings.connect('changed', (_s, key) => {
                if (this._isDestroyed) return;
                const locKeys = ['city-id', 'city-name', 'country', 'country-name', 'calc-method', 'location-mode', 'latitude', 'longitude', 'asr-school'];
                if (locKey

EGO-L-008 warning

Soup.Session instances should be aborted during cleanup

Soup.Session instances should be aborted during cleanup.

Soup.Session.abort

  • extension.js:307
    this._httpSession = new Soup.Session({ timeout: 10 })

EGO-L-004 warning

main loop sources should be removed in disable()

Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.

Remove main loop sources

  • extension.js:615
            this._animTimer = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 16, () => {
                if (!this.menu.isOpen) {
                    this._animTimer = null;
                    return GLib.SOURCE_REMOVE;
                }
    
                const nowUs = GLib.get_monotonic_time();
                const elapsedUs = nowU
  • extension.js:733
            this._timeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, intervalSeconds, () => {
                if (this._isDestroyed) return GLib.SOURCE_REMOVE;
                this._tick();
                return GLib.SOURCE_CONTINUE;
            })

EGO-L-007 warning

main loop sources should be removed before being recreated

Main loop sources should be removed before creating a new source on the same field.

Remove main loop sources

  • extension.js:651
            this._animTimer = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 50, () => {
                if (!this.menu.isOpen) {
                    this._animTimer = null;
                    return GLib.SOURCE_REMOVE;
                }
                this._pulseAngle = (this._pulseAngle + 0.08) % (2 * Math.PI);
                if

All Versions

Version Status
2 Unreviewed
1 Rejected