gh-manager-cli 1.7.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.8.1](https://github.com/wiiiimm/gh-manager-cli/compare/v1.8.0...v1.8.1) (2025-09-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * prevent duplicate npm publishing when version hasn't changed ([ff0b37b](https://github.com/wiiiimm/gh-manager-cli/commit/ff0b37b99c4232fa2d179a9becf6e314cc218d55))
7
+
8
+ # [1.8.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.7.0...v1.8.0) (2025-08-31)
9
+
10
+
11
+ ### Features
12
+
13
+ * implement organization support feature ([#1](https://github.com/wiiiimm/gh-manager-cli/issues/1)) ([5a404b2](https://github.com/wiiiimm/gh-manager-cli/commit/5a404b29cdd3a30bd12b59438e0c3fd978da93b9))
14
+
1
15
  # [1.7.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.6.2...v1.7.0) (2025-08-31)
2
16
 
3
17
 
package/README.md CHANGED
@@ -142,6 +142,7 @@ Launch the app, then use the keys below:
142
142
  - Esc: Clear search and return to full repository list
143
143
  - Sorting: `S` to cycle field (updated → pushed → name → stars → forks), `D` to toggle direction
144
144
  - Display density: `T` to toggle compact/cozy/comfy
145
+ - Workspace switcher: `W` to switch between personal account and organizations
145
146
  - Repository info: `I` to view detailed metadata (size, language, timestamps)
146
147
  - Open in browser: Enter or `O`
147
148
  - Delete repository: `Del` or `Ctrl+Backspace` (with confirmation modal)
@@ -168,7 +169,7 @@ Status bar shows loaded count vs total. A rate-limit line displays `remaining/li
168
169
 
169
170
  Stack:
170
171
  - UI: `ink`, `ink-text-input`, `ink-spinner`
171
- - API: `@octokit/graphql`
172
+ - API: `@octokit/graphql`, Apollo Client
172
173
  - Config paths: `env-paths`
173
174
  - Language: TypeScript
174
175
  - Build: `tsup` (CJS output with shebang)
@@ -188,10 +189,17 @@ Notes:
188
189
  Project layout:
189
190
  - `src/index.tsx` — CLI entry and error handling
190
191
  - `src/ui/App.tsx` — token bootstrap, renders `RepoList`
191
- - `src/ui/RepoList.tsx` — list UI, keys, search, sorting, infinite scroll
192
+ - `src/ui/RepoList.tsx` — main list UI with modal management
193
+ - `src/ui/components/` — modular components (modals, repo, common)
194
+ - `modals/` — DeleteModal, ArchiveModal, SyncModal, InfoModal, LogoutModal
195
+ - `repo/` — RepoRow, FilterInput, RepoListHeader
196
+ - `common/` — SlowSpinner and shared UI elements
197
+ - `src/ui/OrgSwitcher.tsx` — organization switching component
192
198
  - `src/github.ts` — GraphQL client and queries (repos + rateLimit)
193
- - `src/config.ts` — token read/write and file perms
199
+ - `src/config.ts` — token read/write and UI preferences
194
200
  - `src/types.ts` — shared types
201
+ - `src/utils.ts` — utility functions (truncate, formatDate)
202
+ - `src/apolloMeta.ts` — Apollo cache management
195
203
 
196
204
  ## Apollo Cache (Performance)
197
205
 
@@ -253,12 +261,17 @@ GH_MANAGER_DEBUG=1 npx gh-manager
253
261
 
254
262
  For the up-to-date task board, see [TODOs.md](./TODOs.md).
255
263
 
264
+ Recently implemented:
265
+ - ✅ Density toggle for row spacing (compact/cozy/comfy)
266
+ - ✅ Repo actions (archive/unarchive, delete) with confirmations
267
+ - ✅ Organization support and switching (press `W`)
268
+ - ✅ Enhanced server-side search with improved UX
269
+ - ✅ Smart infinite scroll with 80% prefetch trigger
270
+
256
271
  Highlights on deck:
257
- - Density toggle for row spacing (compact/cozy/comfy)
258
- - Repo actions (archive/unarchive, delete) with confirmations
259
- - Organization support and switching
260
- - Enhanced server-side search with improved UX
261
272
  - Optional OS keychain storage via `keytar`
273
+ - Bulk selection and actions
274
+ - Repository renaming
262
275
 
263
276
  ## License
264
277