Review atlas.nvim for forge.nvim UX lessons #607
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
v0.2.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#607
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
Do we have anything useful to glean from atlas.nvim?
Source: https://github.com/emrearmagan/atlas.nvim
Quick notes
atlas.nvim appears to solve adjacent problems: Jira issues plus GitHub/Bitbucket PRs inside Neovim. It is not a direct model for forge.nvim, but it may be worth briefly reviewing for product ideas around:
Scope
Do a short remote/code review and decide whether any ideas should become concrete forge.nvim issues.
Non-goals
Reviewed
emrearmagan/atlas.nvimat8ad154ce7ac82563c5aea39878b0b401d9eaf59e.Findings
:AtlasIssues mockand:AtlasPulls mockexercise list/detail/comment/action flows without Jira/GitHub/Bitbucket credentials. For forge.nvim, a mock/demo source could be useful for screenshots, manual UI QA, and tests of picker contracts across PR/issue/CI/release surfaces.register_action()plus command/picker actions), so the lesson is mostly UX: a secondary action menu can keep provider-specific actions discoverable without crowding picker headers.:checkhealth atlasfor provider config and keymap conflicts,:AtlasLogs,:AtlasClearCache, provider argument completion, and JQL completion backed by cached autocomplete data plus static fallback data. Forge already has health, cache clear, command completion, log buffers, and picker cache controls. The gap worth stealing is keymap-contract validation in health, not a second log/cache subsystem.Worth considering
:checkhealth forgewith key conflict/disabled-key diagnostics once the supported hidden mapping contract is explicit.g?popup is heavier than Forge needs, but its “hidden binding is still discoverable elsewhere” model is useful.Not worth copying
Sources reviewed
github.com/emrearmagan/atlas.nvim@8ad154ce7a/README.md (L8-L121),github.com/emrearmagan/atlas.nvim@8ad154ce7a/README.md (L127-L245),github.com/emrearmagan/atlas.nvim@8ad154ce7a/README.md (L257-L470),github.com/emrearmagan/atlas.nvim@8ad154ce7a/README.md (L474-L517)github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/init.lua (L23-L112),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/config.lua (L194-L268)github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/issues/ui/panel/issue/init.lua (L91-L177),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/pulls/ui/panel/pr/init.lua (L79-L167),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/pulls/providers/github/ui/panel.lua (L377-L410),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/pulls/providers/bitbucket/ui/panel.lua (L161-L195)github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/issues/providers/mock/init.lua (L5-L69),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/issues/providers/mock/init.lua (L334-L390),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/pulls/providers/mock/init.lua (L278-L319),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/pulls/providers/mock/init.lua (L683-L689)github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/pulls/providers/github/actions/registry.lua (L432-L528),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/issues/providers/jira/actions/registry.lua (L935-L993)github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/health.lua (L161-L183),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/core/cache.lua (L94-L149),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/core/logger.lua (L58-L165),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/ui/logs.lua (L153-L205),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/issues/providers/jira/completion/search.lua (L49-L60)github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/core/keymaps.lua (L94-L151),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/core/keymaps.lua (L185-L230),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/ui/popups/help.lua (L95-L136),github.com/emrearmagan/atlas.nvim@8ad154ce7a/lua/atlas/ui/popups/help.lua (L320-L408)