TONS of UI misbehaviors. Lost track of issues

This commit is contained in:
Heath Volmer
2017-10-19 20:00:10 -06:00
parent 8dfa05293c
commit c959f20204
4 changed files with 11 additions and 7 deletions

View File

@@ -271,11 +271,13 @@ namespace PepperDash.Essentials
if (CurrentRoom.OnFeedback.BoolValue) if (CurrentRoom.OnFeedback.BoolValue)
{ {
TriList.SetBool(UIBoolJoin.TapToBeginVisible, false); TriList.SetBool(UIBoolJoin.TapToBeginVisible, false);
SetupActivityFooterWhenRoomOn();
} }
else else
{ {
TriList.SetBool(UIBoolJoin.StartPageVisible, true); TriList.SetBool(UIBoolJoin.StartPageVisible, true);
TriList.SetBool(UIBoolJoin.TapToBeginVisible, true); TriList.SetBool(UIBoolJoin.TapToBeginVisible, true);
SetupActivityFooterWhenRoomOff();
} }
ShowCurrentDisplayModeSigsInUse(); ShowCurrentDisplayModeSigsInUse();
@@ -288,10 +290,10 @@ namespace PepperDash.Essentials
TriList.SetSigFalseAction(UIBoolJoin.VolumeDefaultPress, () => CurrentRoom.SetDefaultLevels()); TriList.SetSigFalseAction(UIBoolJoin.VolumeDefaultPress, () => CurrentRoom.SetDefaultLevels());
TriList.SetString(UIStringJoin.AdvancedVolumeSlider1Text, "Room"); TriList.SetString(UIStringJoin.AdvancedVolumeSlider1Text, "Room");
if (TriList is CrestronApp) //if (TriList is CrestronApp)
TriList.BooleanInput[UIBoolJoin.GearButtonVisible].BoolValue = false; // TriList.BooleanInput[UIBoolJoin.GearButtonVisible].BoolValue = false;
else //else
TriList.BooleanInput[UIBoolJoin.GearButtonVisible].BoolValue = true; // TriList.BooleanInput[UIBoolJoin.GearButtonVisible].BoolValue = true;
// power-related functions // power-related functions
// Note: some of these are not directly-related to the huddle space UI, but are held over // Note: some of these are not directly-related to the huddle space UI, but are held over
@@ -1070,6 +1072,7 @@ namespace PepperDash.Essentials
MeetingOrContactMethodModalSrl.GetBoolFeedbackSig(i, 1).SetSigFalseAction(() => MeetingOrContactMethodModalSrl.GetBoolFeedbackSig(i, 1).SetSigFalseAction(() =>
{ {
PopupInterlock.Hide(); PopupInterlock.Hide();
ActivityCallButtonPressed();
var d = CurrentRoom.ScheduleSource as VideoCodecBase; var d = CurrentRoom.ScheduleSource as VideoCodecBase;
if (d != null) if (d != null)
RoomOnAndDialMeeting(mm); RoomOnAndDialMeeting(mm);

View File

@@ -33,7 +33,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
/// <summary> /// <summary>
/// To drive UI elements outside of this driver that may be dependent on this. /// To drive UI elements outside of this driver that may be dependent on this.
/// </summary> /// </summary>
BoolFeedback InCall; //BoolFeedback InCall;
BoolFeedback LocalPrivacyIsMuted; BoolFeedback LocalPrivacyIsMuted;
/// <summary> /// <summary>
@@ -120,7 +120,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
else else
codec.IsReadyChange += (o, a) => Codec_IsReady(); codec.IsReadyChange += (o, a) => Codec_IsReady();
InCall = new BoolFeedback(() => false); //InCall = new BoolFeedback(() => false);
LocalPrivacyIsMuted = new BoolFeedback(() => false); LocalPrivacyIsMuted = new BoolFeedback(() => false);
VCControlsInterlock = new JoinedSigInterlock(triList); VCControlsInterlock = new JoinedSigInterlock(triList);
@@ -378,6 +378,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
/// </summary> /// </summary>
void AcceptIncomingCall(CodecActiveCallItem call) void AcceptIncomingCall(CodecActiveCallItem call)
{ {
Parent.PrepareForCodecIncomingCall();
Parent.ActivityCallButtonPressed(); Parent.ActivityCallButtonPressed();
Codec.AcceptCall(call); Codec.AcceptCall(call);
} }
@@ -902,7 +903,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
/// </summary> /// </summary>
void ShowKeypad() void ShowKeypad()
{ {
uint join = CodecHasFavorites ? UIBoolJoin.VCKeypadWithFavoritesVisible : UIBoolJoin.VCKeypadVisible; uint join = Codec.IsInCall ? UIBoolJoin.VCKeypadVisible : UIBoolJoin.VCKeypadWithFavoritesVisible;
if (IsVisible) if (IsVisible)
VCControlsInterlock.ShowInterlocked(join); VCControlsInterlock.ShowInterlocked(join);
else else