Skip to content

Feature Request: Color-coded & customizable logs, UI custom config fields, and /quota endpoint #919

@Montazeran8

Description

@Montazeran8

1. Color-coded and customizable log output

Currently, the desktop UI shows all log lines in the same color, making it hard to distinguish between INFO, WARN, and ERROR at a glance. It would greatly improve usability if:

  • INFO lines were displayed in green
  • WARN lines in yellow/orange
  • ERROR lines in red

Additionally, allowing users to customize these colors (e.g., via a simple settings panel or config keys like log_color_info, log_color_warn, log_color_error) would be even better, as it accommodates different visual preferences and accessibility needs.

2. UI field for arbitrary config parameters

At present, adding parameters like force_http1: true, block_doh: true, or other custom options requires manual editing of config.json. The UI's “Save Config” button strips unknown fields (as discussed in #877 and elsewhere), which is confusing and frustrating for users who rely on those parameters.

A dedicated “Custom Parameters” section in the UI – for instance, a simple key-value editor – would solve this permanently. Parameters added there should survive round‑trips through the UI save button, allowing users to manage any config option (present or future) without touching the raw JSON file.

3. /quota endpoint on Code.gs

Following the maintainer's own suggestion (“adding a /quota endpoint to Code.gs that calls UrlFetchApp.getRemainingDailyQuota() could show the bucket size up front”), it would be incredibly helpful to add a minimal doGet handler to Code.gs. Hitting https://script.google.com/macros/s/.../exec/quota would return the remaining daily UrlFetchApp quota as plain JSON, e.g.:

{"remaining": 15432}

This would make it trivial for users to check the exact quota left, debug flag/limit issues, and decide when to switch to another script ID.

I’d be happy to test any of these features or provide more detailed specifications if needed. Thank you for considering these improvements!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions