Skip to content

Add a title to popups#1955

Merged
CKolkey merged 1 commit into
NeogitOrg:masterfrom
micampe:popup-title
May 7, 2026
Merged

Add a title to popups#1955
CKolkey merged 1 commit into
NeogitOrg:masterfrom
micampe:popup-title

Conversation

@micampe
Copy link
Copy Markdown
Contributor

@micampe micampe commented May 7, 2026

Looks like the titles were already there from the beginning but always commented out 8109195

@CKolkey
Copy link
Copy Markdown
Member

CKolkey commented May 7, 2026

yea, I thought they looked a bit cheesy, so never shipped it.

@CKolkey CKolkey closed this May 7, 2026
@micampe
Copy link
Copy Markdown
Contributor Author

micampe commented May 7, 2026

yea, I thought they looked a bit cheesy, so never shipped it.

I actually find them very useful, without title I can get lost.

@micampe micampe deleted the popup-title branch May 7, 2026 07:37
@micampe micampe restored the popup-title branch May 7, 2026 07:37
@CKolkey
Copy link
Copy Markdown
Member

CKolkey commented May 7, 2026

tell you what - we can put it behind a config flag

@CKolkey CKolkey reopened this May 7, 2026
@micampe
Copy link
Copy Markdown
Contributor Author

micampe commented May 7, 2026

Nice, works for me. Pushed a version with the option, tried to follow existing style/conventions.

@CKolkey CKolkey merged commit 43bffaf into NeogitOrg:master May 7, 2026
2 of 6 checks passed
@CKolkey
Copy link
Copy Markdown
Member

CKolkey commented May 7, 2026

Looks good to me, thanks :)

@micampe
Copy link
Copy Markdown
Contributor Author

micampe commented May 7, 2026

Thank you!

Unfortunately I wasn't fast enough to push the fix and the test I added is failing:

@@ -1298,6 +1300,7 @@ function M.validate_config()
     -- Popup
     if validate_type(config.popup, "popup", "table") then
       validate_kind(config.popup.kind, "popup.kind")
+      validate_type(config.popup.show_title, "popup.show_title", "boolean")
     end
 
     if validate_type(config.git_services, "git_services", "table") then

@CKolkey
Copy link
Copy Markdown
Member

CKolkey commented May 7, 2026

Ah, no worries. That what I get for not keeping CI in good working order.

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