Skip to content

ChatGPT Usage Monitor: add ChatGPT usage-limit applet - #9024

Open
ClaudiuSchuster wants to merge 8 commits into
linuxmint:masterfrom
oss-singularity:oss-oo/add-chatgpt-usage-01a07256
Open

ClaudiuSchuster wants to merge 8 commits into
linuxmint:masterfrom
oss-singularity:oss-oo/add-chatgpt-usage-01a07256

Conversation

@ClaudiuSchuster

@ClaudiuSchuster ClaudiuSchuster commented Sep 8, 2026

Copy link
Copy Markdown

ChatGPT Usage Monitor 1.0.6

The existing submission is synchronized with the published ChatGPT Usage
Monitor 1.0.6 release. The PR remains open for Cinnamon Spices maintainer
review.

ChatGPT Usage Monitor — social preview

Applet screenshot — vertical Cinnamon panel

ChatGPT Usage Monitor applet

  • Project main: 8cc105d088066930311651d9ee2b49a4e8b34fec
  • Tag: v1.0.6
  • Release: v1.0.6 — ChatGPT Usage Monitor
  • Receipt: docs/releases/release-1.0.6.json
  • Project PRs: feature #56, receipt #57
  • This PR head: 1838b3109141cc85ebe7d9ffbfb18df3ceb10792
  • Payload: 25 manifest files, byte-identical to the validated project package;
    install.zip is sha256:36af3d04724c6f790408aefc718b1905153634871e8d5d4f8ae11a0393188a03.
  • Local pinned validate-spice chatgpt-usage@oss-singularity: passed with
    validator pin 0fa36ed070daa26d51ced6ea87a08066b342eca4 and hash
    3b74a9b8360314ebb42ece78fe3215513144f8b64078e327ca0c03c9d8b63928.
  • Upstream checks on this head: Pattern Check passed. Validate spices is
    skipped by the upstream pull-request event split and is not treated as a
    remote validation pass.

The update is scoped to the existing applet submission directory. Historical
1.0.3, 1.0.4 and 1.0.5 follow-up comments remain unchanged; this release has
its own versioned follow-up below.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.

This check is not perfect and will not replace a normal review.


Found 1 potential issue(s):

⚠️ WARNING

⚠️ hardcoded_data_dir

chatgpt-usage@oss-singularity/files/chatgpt-usage@oss-singularity/usage-format.js:16

Gettext.bindtextdomain("chatgpt-usage@oss-singularity", GLib.get_home_dir() + "/.local/share/locale");

Avoid hardcoding .local/share in paths. Use GLib.get_user_data_dir() instead,
which respects the XDG_DATA_HOME environment variable.


Automated pattern check.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.

This check is not perfect and will not replace a normal review.


Found 1 potential issue(s):

⚠️ WARNING

⚠️ hardcoded_data_dir

chatgpt-usage@oss-singularity/files/chatgpt-usage@oss-singularity/usage-format.js:16

Gettext.bindtextdomain("chatgpt-usage@oss-singularity", GLib.get_home_dir() + "/.local/share/locale");

Avoid hardcoding .local/share in paths. Use GLib.get_user_data_dir() instead,
which respects the XDG_DATA_HOME environment variable.


Automated pattern check.

@ClaudiuSchuster ClaudiuSchuster changed the title ChatGPT Usage Monitor: add usage-limit applet ChatGPT Usage Monitor: add ChatGPT usage-limit applet Sep 8, 2026
Keep dependent notification controls visible and disable them without hiding
their settings, while resolving gettext catalogs through the XDG data path.
Carry the notification-control and XDG gettext fixes into the submitted
Spices payload and refresh its package version.
@ClaudiuSchuster

ClaudiuSchuster commented Sep 9, 2026

Copy link
Copy Markdown
Author

Follow-up: the current submission and project release are now 1.0.3.

The payload resolves gettext catalogs through Cinnamon's XDG user-data
directory (GLib.get_user_data_dir() in JavaScript and XDG_DATA_HOME in
Python), so the current head does not hardcode .local/share in the lookup.
The notification-settings fix keeps dependent controls visible while disabling
them, and shows the effective enabled state covered by the master weekly-reset
switch without overwriting stored per-model values.

The activity chart now preserves distinct measured heights for nearby values
such as 1%, 2% and 14%. The declared Cinnamon compatibility series is 5.8,
6.0, 6.2, 6.4 and 6.6; native runtime validation remains on 6.6.9.

I verified the current payload with make verify, pinned Super-Linter,
validate-spice chatgpt-usage@oss-singularity and native Cinnamon UI checks.
The verified project release is ChatGPT Usage Monitor
1.0.3
.

English remains the shipped UI language; the POT/catalog path stays prepared
for future translations.

@ClaudiuSchuster

Copy link
Copy Markdown
Author

1.0.4 release follow-up

The applet payload in this PR is synchronized with the published ChatGPT Usage Monitor 1.0.4 release.

  • Project main: 7ffbe8c826e3eec399b699c3ca97dfed08510e2b
  • Tag: v1.0.4
  • Release: 1.0.4 — ChatGPT Usage Monitor
  • Receipt: docs/release-1.0.4.json
  • This PR head: b5f6e079adf850ecf674977baa028fceb0e3f96b
  • Payload: 25 manifest files, byte-identical to the validated project package; the published install.zip digest is sha256:86892536c1849d11aac0bc4f8b63ac697b95994420b49373769e82bb80cffb2d.
  • Local pinned validate-spice chatgpt-usage@oss-singularity: passed. Pattern Check: passed. Validate spices is skipped by the upstream workflow's pull-request event split, and is not treated as a failed validation.

The historical 1.0.3 release comment and commit provenance remain unchanged; active applet-tree and PR-body references are current. Future releases such as 1.0.5 will receive their own versioned follow-up comment so the handoff history stays readable. This PR remains open for upstream review.

@ClaudiuSchuster

Copy link
Copy Markdown
Author

1.0.5 release follow-up

The existing Cinnamon Spices payload is now synchronized with the published
ChatGPT Usage Monitor 1.0.5 release.

  • Project main: df10010c303bb99e7dc79df9acb6798fae4064b6
  • Tag: v1.0.5
  • Release: v1.0.5 — ChatGPT Usage Monitor
  • Receipt: docs/releases/release-1.0.5.json
  • This PR head: 9e650a5b717874363e0ee4838040cafd5ce80093
  • Payload: 25 manifest files, byte-identical to the validated project package;
    install.zip is sha256:7d8248851f7d3b2676accb32c946b67db573b0c4bc0f6f90fad99a3fbe50c080.
  • Local pinned validate-spice chatgpt-usage@oss-singularity: passed with
    validator pin 0fa36ed070daa26d51ced6ea87a08066b342eca4 and hash
    3b74a9b8360314ebb42ece78fe3215513144f8b64078e327ca0c03c9d8b63928.
  • Upstream checks: Pattern Check passed. Validate spices is skipped by the
    pull-request event split and is not treated as a remote validation pass.

The project-side release description now links back to this upstream PR. This
PR remains open for Cinnamon Spices maintainer review; future releases will
receive their own versioned follow-up comment.

@ClaudiuSchuster

Copy link
Copy Markdown
Author

1.0.6 release follow-up

The existing Cinnamon Spices payload is now synchronized with the published
ChatGPT Usage Monitor 1.0.6 release.

  • Project main: 8cc105d088066930311651d9ee2b49a4e8b34fec
  • Tag: v1.0.6
  • Release: v1.0.6 — ChatGPT Usage Monitor
  • Receipt: docs/releases/release-1.0.6.json
  • Project PRs: feature #56, receipt #57
  • This PR head: 1838b3109141cc85ebe7d9ffbfb18df3ceb10792
  • Payload: 25 manifest files, byte-identical to the validated project package;
    install.zip is sha256:36af3d04724c6f790408aefc718b1905153634871e8d5d4f8ae11a0393188a03.
  • Local pinned validate-spice chatgpt-usage@oss-singularity: passed with
    validator pin 0fa36ed070daa26d51ced6ea87a08066b342eca4 and hash
    3b74a9b8360314ebb42ece78fe3215513144f8b64078e327ca0c03c9d8b63928.
  • Upstream checks on this head: Pattern Check passed. Validate spices is
    skipped by the upstream pull-request event split and is not treated as a
    remote validation pass.

The project release description links back to this upstream PR. Historical
1.0.3, 1.0.4 and 1.0.5 follow-up comments remain unchanged. This PR remains
open for Cinnamon Spices maintainer review; future releases will receive their
own versioned follow-up.

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.

1 participant