-- App locals
local _, app = ...;
local L = app.L;
local DESCRIPTION_SEPARATOR = app.DESCRIPTION_SEPARATOR;

-- Implementation
app:CreateWindow("Never Implemented", {
	Commands = { "attnyi" },
	RootCommands = { "nyi" },
	HideFromSettings = true,
	Preload = true,
	OnInit = function(self)
		self:SetData(app.CreateRawText(L.NEVER_IMPLEMENTED, {
			icon = app.asset("Interface_Tchest"),
			description = L.NEVER_IMPLEMENTED_DESC,
			title = L.NEVER_IMPLEMENTED .. DESCRIPTION_SEPARATOR .. app.Version,
			font = "GameFontNormalLarge",
			_nosearch = true,
			visible = true,
			_nyi = true,
		}));
		self:AddEventHandler("OnHiddenDataCached", function(self, categories)
			self.data.g = categories.NeverImplemented;
			app.CacheFields(self.data, true);
			app.AssignFieldValue(self.data, "u", 1);
			self:AssignChildren();
		end);
	end,
	VisibilityFilter = app.ReturnTrue,
});
