Reduced some duplicated code with compiling components Fixed bug with resolve button tooltip not updating after resolving discussion