View Feature Request
Option "Hide chat frame" under "Hide interface"
Feature #: 4995
File: Immersion
Date: 04-19-19 07:12 AM
By: LudiusMaximus
Status: Under Review
I like to hide most of the interface when the Immersion frame is shown.

However, when I am turning in several quests one after the other without leaving the Immersion frame I always miss how much reputation I gain. That's why I would like to keep the ChatFrame console visible.

I already hacked this into the Immersion code myself, but it would be nice to have it integrated in some future release:

Onload.lua, line 125:
Code:
L.ToggleIgnoreFrame(ChatFrame1, not L('hidechatframe'))
L.ToggleIgnoreFrame(ChatFrame1Tab, not L('hidechatframe'))
L.ToggleIgnoreFrame(ChatFrame1EditBox, not L('hidechatframe'))

Config.lua, line 263:
Code:
hidechatframe = {
	type = 'toggle',
	name = 'Hide chat frame',  -- TODO: i18n
	disabled = function() return not L('hideui') end,
	order = 1,
	get = L.GetFromSV,
	set = function(_, val) 
		L.cfg.hidechatframe = val
		L.ToggleIgnoreFrame(ChatFrame1, not val)
		L.ToggleIgnoreFrame(ChatFrame1Tab, not val)
		L.ToggleIgnoreFrame(ChatFrame1EditBox, not val)
	end,
},
Thanks for Immersion; one of my favourite addons! :-D