Skip to content

feat(ayet-kosesi): 1.5.0 — copy/share/refresh actions, day-rollover fix, status line - #678

Merged
ItsLemmy merged 5 commits into
noctalia-dev:mainfrom
alitura1:update-ayet-kosesi-1.4.0
Sep 9, 2026
Merged

feat(ayet-kosesi): 1.5.0 — copy/share/refresh actions, day-rollover fix, status line#678
ItsLemmy merged 5 commits into
noctalia-dev:mainfrom
alitura1:update-ayet-kosesi-1.4.0

Conversation

@alitura1

@alitura1 alitura1 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Plugin

  • Id: alitura1/ayet-kosesi
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

Adds real interactions to the daily verse desktop widget: copy verse (click the text or the copy glyph), share text (verse + reference + author + URL), copy URL, and manual refresh with a 20 s cooldown. Feedback ("✓ …") expires exactly 2 s after the action — the update loop re-arms its 1 s interval on every tick (the interval is one-shot in this build; verified against the live runtime with a physical click and a log proof). Fixes day-rollover so the cached verse is never shown for a day it does not belong to. Status line shows automatic/manual mode + language + plain-language error notices while the cached verse stays visible; long verses scroll instead of being clipped. Language detection prefers Noctalia's own settings.toml ([shell] lang); the process LANG is only a fallback.

External dependencies

  • curl — used only to refresh the Akıl Kuran logo (declared in dependencies in plugin.toml). No other external commands or services beyond the public read-only akilkuran.com API.

Testing

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: v5.0.1
  • Plugin API level: 24

Exercised live on the running widget: hot-reload, physical click → clipboard verified, feedback expiry at 2.0 s (log proof), 429/503/invalid-JSON cache fallback, refresh cooldown, day-rollover fetch, full meal-selection chain (override → helper mealOrder[0] → registry validation → languageDefaults → default). Local harness modeled on the real host behavior: 47/47 passing.

Screenshots / Videos

Ayet Köşesi 1.5.0

Checklist

Ready-for-review requirement: Every box in this section must be checked. If any statement is not true, keep the
pull request as Draft. An explanation does not replace a required check.

  • The directory name matches the part of id after the / in plugin.toml exactly.
  • It ships plugin.toml, README.md, thumbnail.webp, and translations/en.json.
  • README.md follows the
    README template, documents
    every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
  • thumbnail.webp is present and relevant; for a new plugin I created it with the thumbnail generator, and for an update I regenerated it with the generator if the visual identity or user-facing appearance changed.
  • version follows semver and is bumped in this PR; plugin_api is the oldest API level this plugin requires.
  • Every non-English translation in this PR uses a locale supported by Noctalia core, and I can read, write, and
    understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
  • I did not edit catalog.toml; CI generates it.
  • This PR touches exactly one plugin directory.

Code review attestation

Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:
Ready-for-review requirement: Every attestation below must be checked.

  • The code is readable and not obfuscated, minified, or generated.
  • It does not download and execute remote code.
  • Every network call, filesystem write, and spawned process is something the description above accounts for.
  • I have the right to publish this code under the license declared in plugin.toml.

alitura1 and others added 3 commits September 7, 2026 23:46
…ix, status line

Copy verse/share/URL interactions with 2 s feedback (verified against live
1 Hz interval re-arm), manual refresh with cooldown, day-rollover cache fix,
automatic/manual + language status line, scrollable long verses.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Noctalia-CI
Noctalia-CI marked this pull request as draft September 8, 2026 21:22
@Noctalia-CI

Noctalia-CI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The description now contains the required template structure.

alitura1 and others added 2 commits September 9, 2026 00:23
…erged as 82a800c)

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
…s accent)

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@alitura1

alitura1 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Thumbnail regenerated with the official generator (iris #a9aefe, 960×540 WebP) and pushed in 9c13021 — the Screenshots/Checklist section now reflects it. Also removed the placeholder image note: real screenshots attached below by the author.

@alitura1
alitura1 marked this pull request as ready for review September 8, 2026 22:23
@ItsLemmy
ItsLemmy merged commit 9c01bfa into noctalia-dev:main Sep 9, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants