Thread Rating:
  • 9 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Improved Security Camera Computer/ Old AI camera movement for computer
#6
Update: Finished. (the "Favorite Cameras" header is actually green, but I'm not going to re take this picture for that")
[Image: VF9nDBk.png]
  • Slight improvement to the UI (shown above)

  • This implements a new chui/window. But it technically doesn't really take advantage of the features to the fullest, namely sending off js function calls from sever side. But I only had one use case for it in this project (saving/unsaving cameras) and it isn't really going to cause problems without it. Sorry Somepotato.

  • Debouncing the keyboard inputs for moving the camera around did not work. Well it did work, but it wasn't doing what I wanted to do. What I wanted to do was throttle it. Now I do. 
  • I mention it on a comment on my PR, but for maximum clarity, the file is added in commit cd3b411. Then in the subsequent commits I add that file to be imported in chui/template. 
[/url]
  • Also, previously camera's didn't correctly skip over broken camera's on the network. Because I was lied to! Well tricked, tricked by how that original movement code worked since it was damn near incomprehensible. There were like 3 different ways that it calculated the movement, sometimes rolling over into another. I dunno, I never really bothered with trying to understand that.
  • Anyway, you can't skip over broken cameras in the keyboard movement mode, you get a message and the computer beeps a bit in disgust when you try it. I actually think it's good that it can't skip over broken cameras now though, because then it might be too good.
  • Remove scroll bar in the main camera list, thanks to qwerty.

Issues:
  • The only issue I can think of is that for you to be able to move cameras with the AI movement/keyboard controls. You need to have that long button at the top in focus. That might not be completely obvious and I 'm not sure how to make it so.
https://github.com/goonstation/goonstati...6/pull/102
Reply


Messages In This Thread
RE: [Feature] Improved Security Camera Computer/ Old AI camera movement for computer - by kyle2143 - 01-24-2019, 12:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)