Skip to content

refactor(guide): rename stage results keys to byKey and byType#959

Merged
thomaswhyyou merged 2 commits intomainfrom
thomas-kno-12634-toolbar-rename-stageresults-keys-to-bykey-and-bytype
Apr 14, 2026
Merged

refactor(guide): rename stage results keys to byKey and byType#959
thomaswhyyou merged 2 commits intomainfrom
thomas-kno-12634-toolbar-rename-stageresults-keys-to-bykey-and-bytype

Conversation

@thomaswhyyou
Copy link
Copy Markdown
Contributor

@thomaswhyyou thomaswhyyou commented Apr 13, 2026

Description

Renames the key and type fields in RecordedSelectionResults to byKey and byType respectively for clarity. No other functional changes, just something that I realized would be good to re-name after introducing it initially.

type RecordedSelectionResults = {
  byKey?: Record<KnockGuide["key"], SelectionResultByLimit>;
  byType?: Record<KnockGuide["type"], SelectionResultByLimit>;
};

@linear
Copy link
Copy Markdown

linear bot commented Apr 13, 2026

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 13, 2026

⚠️ No Changeset found

Latest commit: e329d92

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
javascript-ms-teams-connect-example Ready Ready Preview, Comment Apr 13, 2026 8:45pm
javascript-nextjs-example Ready Ready Preview, Comment Apr 13, 2026 8:45pm
javascript-slack-connect-example Ready Ready Preview, Comment Apr 13, 2026 8:45pm
javascript-slack-kit-example Ready Ready Preview, Comment Apr 13, 2026 8:45pm

Request Review

Copy link
Copy Markdown
Contributor Author

@thomaswhyyou
Copy link
Copy Markdown
Contributor Author

@cursor review

Copy link
Copy Markdown

@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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit e329d92. Configure here.

@thomaswhyyou thomaswhyyou marked this pull request as ready for review April 13, 2026 20:59
@thomaswhyyou thomaswhyyou requested review from a team, MikeCarbone and kylemcd and removed request for a team April 13, 2026 20:59
@thomaswhyyou thomaswhyyou changed the title refactor(guide): rename stage results keys from / to / refactor(guide): rename stage results keys to byKey and byType Apr 13, 2026
@thomaswhyyou thomaswhyyou merged commit e7070b1 into main Apr 14, 2026
13 checks passed
@thomaswhyyou thomaswhyyou deleted the thomas-kno-12634-toolbar-rename-stageresults-keys-to-bykey-and-bytype branch April 14, 2026 16:19
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.00%. Comparing base (ee35de2) to head (e329d92).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #959   +/-   ##
=======================================
  Coverage   63.99%   64.00%           
=======================================
  Files         209      209           
  Lines       10072    10074    +2     
  Branches     1299     1299           
=======================================
+ Hits         6446     6448    +2     
  Misses       3601     3601           
  Partials       25       25           
Files with missing lines Coverage Δ
packages/client/src/clients/guide/client.ts 90.74% <100.00%> (ø)
packages/client/src/clients/guide/types.ts 100.00% <ø> (ø)
...omponents/Toolbar/V2/useInspectGuideClientStore.ts 98.29% <100.00%> (+0.01%) ⬆️

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.

2 participants