• Mahmoud Aglan's avatar
    fix(feature-flags): the list shows the real flags and edits land · 7d9a4f22
    Mahmoud Aglan authored
    feature_flags has id, name, description, is_enabled, rollout_percentage and
    conditions. The list ordered by a category column that does not exist, so
    the query failed and the page always said there were no flags (13 exist);
    create and edit wrote label, label_ar, target, category and target_value
    and were all rejected. Flags now get Arabic names and groups for the
    platform's own ids, a partial rollout is rollout_percentage, and the
    maintenance_mode message, English message and end time go in conditions
    ({message_ar, message, until}) as the game's api/config.php reads them.
    Turning maintenance on asks for confirmation; built-in flags cannot be
    deleted, only switched off.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    7d9a4f22
list.php 4.48 KB