Skip to content

Conversation

@glima
Copy link

@glima glima commented Jan 9, 2026

Please check if of value. Idea is to make it easier to get in (no pre PAT passing down), and richer in UI/UX.

glima added 2 commits January 9, 2026 11:35
Replace mandatory PAT requirement with optional OAuth2 device flow,
improving UX by eliminating the need to manually create and manage
Personal Access Tokens.

- Add internal/auth package with device flow implementation
- Auto-open browser to Microsoft device login page
- Cache tokens locally with automatic refresh
- Support both PAT (env var/config) and OAuth authentication
- Add 'login' command to force re-authentication
- Add 'logout' command to clear cached credentials
- Update API client to support Bearer token auth
- Make PAT optional in config validation

The tool now works out-of-the-box: just configure org/project/team
and run - authentication happens automatically via browser.
Major improvements to work item details display and navigation:

Details Panel (bottom-right):
- Make panel focusable via Tab cycling (Filter → Work Items → Details)
- Add scrolling with j/k when focused
- Redesign layout to use full width - no more truncated fields
- Show all Azure DevOps fields: acceptance criteria, repro steps,
  story points, effort, remaining/completed work, severity, risk, etc.
- Display parent/child relationships and related links
- Show comments count with prompt to view full details

Detail View (fullscreen, 'v' key):
- Add comments section with full text and metadata
- Add acceptance criteria and repro steps sections
- Show children and related work items with state/type
- Add estimates section based on work item type
- Improve scrolling with proper offset management

Navigation:
- Add PageUp/PageDown support to all panels (work items, details,
  filter, detail view) using tea.KeyPgUp/KeyPgDown
- Fix scrolling by using correct key type detection
- Jump by half the visible area for faster navigation

API enhancements:
- Fetch additional fields: comments, relations, estimates, etc.
- Add preview API version support for comments endpoint
- Improve HTML stripping to preserve line breaks from <br>, <p>, <div>
- Decode numeric HTML entities (emoji support)
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