-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control Page Layout #87
Conversation
- Added map, and containers to display flight telemetry data - Added css definitions for the containers
- implemented dynamic size for flight telemetry container - implemented dynamic size for map
merged refactor/frontend
-added JSdoc comments for Control.tsx, while other files' remain disabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the control page. It looks great and the clicking to change units is a great feature.
Before this gets merged in the package-lock.json
in the top level of the project should be deleted. We only need those files inside the houston
folder.
As far as suggestions go, I think it would be great if the control page could scale differently with a smaller window size. During test flights we often have logs or another window pulled up side to side with the GCS control page. Kinda like this:
In these cases, it would be great if the map could scale to take up all the horizontal space and the telemetry generators could go underneath. This isn't super necessary but I think it would be quite useful. I'm cool if this goes into another PR since it could be a lot more work. I'm not a CSS expert but maybe you could change the flex direction of the controls-page
class on some media query connected to the page width. But again, I think it's fine if this happens in another PR.
To add onto what Anthony said, I'm really loving everything that's going on. I especially like how in the code you organized all of the different parameters, it seems very extensible and easy to change which is a huge plus. Also, the look of the page is very nice. This is definitely ready to merge in at the moment, but I do have some additional nitpicky things we could potentially fix, either in this PR or I or you could do a second pass later:
Also, I'm a little bit confused on how the threshold value for the parameters works specifically, with the values of 80, 160 and the other decimal calculations. Maybe a comment in there would help me & future developers in this codebase. Also, a comment explaining what the index state variable means might help, since it isn't apparent immediately from reading the variable name. 👍 👍 |
One more note: The connections page PR was just merged in, so you will likely need to remerge refactor/frontend into this branch before ready. In this connections PR I added a new folder called So, to summarize everything: Fix before merging:
Part of the original spec, but it's fine if we merge this in without them since we can add them later:
Nice to have if you have the time and desire:
|
- Remerge refactor/frontend - Replace the map component with the new TUAS map component - Delete package-lock.json at the top level - Scale Differently with a small window size - Implement Dynamic size for rendering map and other components for different heights
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page looks very good. All the functionality works on my machine. There is some weird CSS on the bottom row, but nothing serious (Mission State and Save Map are overlapping).
The other reviewers left some good feedback, but I think some of what Anthony said is serious feature creep. I am a fan of merging early and often. Move whatever isn't completed in this PR to a new issue after merging.
The fixes you committed look good, and the overall code quality is very readable.
I've updated the top comment with this note, but I'm writing this here, just in case someone overlooks it:
|
Everything looks amazing, the additional comments are really helpful. As for the color combination, I'm honestly in the same boat as you. I can't think of anything else, maybe in the future we can rethink it. Ready to merge at your click, then we can talk about the next page. |
Co-authored-by: Tyler Lentz <[email protected]>
closes #88
This PR includes the design layout of the Controls Page with some mock values for display purposes.
Changes Implemented:
Pending features:
Pending Review Changes:
refactor/frontend
package-lock.json
at the top levelThe following kinds of feedback would be greatly appreciated: