Skip to content

feat(init): enforce canonical feature display order#388

Merged
betegon merged 4 commits intomainfrom
ref/init-small-stuff
Mar 11, 2026
Merged

feat(init): enforce canonical feature display order#388
betegon merged 4 commits intomainfrom
ref/init-small-stuff

Conversation

@betegon
Copy link
Member

@betegon betegon commented Mar 11, 2026

Summary

Sorts the feature multi-select prompt into a fixed display order instead of relying on whatever the server sends. Also tweaks a couple of feature labels/hints for clarity.

Display order: Errors → Replay → Tracing → Logs → Metrics → Profiling → Source Maps

Changes

  • Add FEATURE_DISPLAY_ORDER constant and sortFeatures() helper in clack-utils.ts
  • Apply sorting in handleMultiSelect() before rendering the prompt
  • Minor copy tweaks: "Performance Monitoring" → "Performance Monitoring (Tracing)", drop "Automatic" from error monitoring hint

Test plan

  • bun run typecheck passes
  • bun test passes (no regressions)
  • Manual: run bun run dev against staging API, confirm multi-select shows features in the expected order

betegon and others added 2 commits March 10, 2026 20:06
…rompt

Sort features into a fixed display order (Errors → Replay → Tracing →
Logs → Metrics → Profiling → Source Maps) on the CLI side, so the
prompt is consistent regardless of server ordering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Init

  • Enforce canonical feature display order by betegon in #388
  • Accept multiple delimiter formats for --features flag by betegon in #386
  • Add git safety checks before wizard modifies files by betegon in #379
  • Add experimental warning before wizard runs by betegon in #378
  • Add init command for guided Sentry project setup by betegon in #283

Other

  • (issue-list) Redesign table to match Sentry web UI by BYK in #372
  • Return-based output with OutputConfig on buildCommand by BYK in #380
  • Add --fields flag for context-window-friendly JSON output by BYK in #373
  • Magic @ selectors (@latest, @most_frequent) for issue commands by BYK in #371
  • Input hardening against agent hallucinations by BYK in #370
  • Add response caching for read-only API calls by BYK in #330

Bug Fixes 🐛

Init

  • Remove implementation detail from help text by betegon in #385
  • Truncate uncommitted file list to first 5 entries by MathurAditya724 in #381

Other

  • (api) Convert --data to query params for GET requests by BYK in #383
  • (docs) Remove double borders and fix column alignment on landing page tables by betegon in #369
  • Add trace ID validation to trace view + UUID dash-stripping by BYK in #375

Internal Changes 🔧

Init

  • Remove --force flag by betegon in #377
  • Remove dead determine-pm step label by betegon in #374

Other

  • Convert remaining Tier 1 commands to return-based output by BYK in #382
  • Converge Tier 1 commands to writeOutput helper by BYK in #376

🤖 This preview updates automatically when you update the PR.

@betegon betegon marked this pull request as ready for review March 11, 2026 09:22
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Address PR #388 review comments: sync test expectations with updated
feature copy, and use Number.MAX_SAFE_INTEGER instead of Infinity to
avoid NaN when comparing two unknown features.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

Codecov Results 📊

104 passed | Total: 104 | Pass Rate: 100% | Execution Time: 0ms

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 899 uncovered lines.
✅ Project coverage is 95.49%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    95.49%    95.49%        —%
==========================================
  Files          142       142         —
  Lines        19935     19954       +19
  Branches         0         0         —
==========================================
+ Hits         19036     19055       +19
- Misses         899       899         —
- Partials         0         0         —

Generated by Codecov Action

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@betegon betegon merged commit c2c0a67 into main Mar 11, 2026
21 checks passed
@betegon betegon deleted the ref/init-small-stuff branch March 11, 2026 13:48
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