Skip to content

fix(tui): remove dead PlaceholderScreen and fix gateway wizard UX#597

Merged
tejaskash merged 1 commit intoaws:mainfrom
aidandaly24:fix/cleanup
Mar 23, 2026
Merged

fix(tui): remove dead PlaceholderScreen and fix gateway wizard UX#597
tejaskash merged 1 commit intoaws:mainfrom
aidandaly24:fix/cleanup

Conversation

@aidandaly24
Copy link
Contributor

Description

Small cleanup PR that removes dead code and fixes a minor display issue in the gateway confirmation screen:

  • Remove unused PlaceholderScreen component and its import/route/re-export
  • Remove unreachable else branch and dead CommandMeta type import in App.tsx
  • Fix gateway confirm review to show human-readable authorizer name (e.g., "Custom JWT") instead of raw enum value (CUSTOM_JWT)
  • Fix CloudFormation output comment to document the hash-based naming convention

Related Issue

Extracted from #596

Documentation PR

N/A

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe):

Testing

How have you tested the change?

  • I ran npm run test:unit and npm run test:integ
  • I ran npm run typecheck
  • I ran npm run lint
  • If I modified src/assets/, I ran npm run test:update-snapshots and committed the updated snapshots

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

@tejaskash
Copy link
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

tejaskash
tejaskash previously approved these changes Mar 23, 2026
- Remove unreachable PlaceholderScreen route and component (dead code)
- Add exitEnabled={false} to gateway wizard Screen to prevent
  accidental Escape exit mid-flow
- Show friendly authorizer name in confirm review instead of raw enum
- Update output key comment to document hash suffix pattern
@github-actions github-actions bot added size/s PR size: S and removed size/s PR size: S labels Mar 23, 2026
@aidandaly24 aidandaly24 changed the title fix: remove dead PlaceholderScreen code and fix gateway confirm display fix(tui): remove dead PlaceholderScreen and fix gateway wizard UX Mar 23, 2026
Copy link
Contributor

@tejaskash tejaskash left a comment

Choose a reason for hiding this comment

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

LGTM

@tejaskash tejaskash merged commit 8f44713 into aws:main Mar 23, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants