Skip to content
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

Complete overhaul including new views for mongodb and spectators #58

Merged
merged 14 commits into from
Feb 13, 2024

Conversation

TarikViehmann
Copy link
Collaborator

This is the work largely done through the RCF Funding of 2023.
Now the frontend comes with different modes:
screenshot-refbox-conn
It utilizes the additional data from robocup-logistics/rcll-refbox#180.

Spectator View

Per default it will only show the spectator mode, in which a connection to a running websocket can be established, but no active manipulation of the game is possible.
It also offers explanations to the game through clickable explainables to help spectators with following along.
screenshot-explainables
After pressing ctrl+alt+o, the other two modes (referee and mongodb backend) become available.

Referee View

The referee mode is comparable to the old functionality, it just looks slightly different:
screenshot-referee

By pressing the "watch" button one can switch to the spectator view.

Mongodb View

The last connection option is to connect to a mongodb backend (https://github.com/robocup-logistics/mongodb-backend).
This allows to inspect past recorded games, a small demo here:
https://github.com/robocup-logistics/rcll-refbox-frontend/assets/38430414/d0d54021-85da-41d3-a991-c18764897695

greedykangaroo01 and others added 12 commits October 26, 2023 12:18
…ines, overhauled lots of components in terms of style, bug fixes and functionality, more features work when connected to a db (some not yet visible), add explainables, add interactive introduction modal, add visualizations to popups, add agent tasks (indicate move tasks by arrows, rn only placeholder), probably lots of more stuff
…t board (only showing few events currently), agent task entities now work, revision some code in stores, order recipes, more icons, hide or show advanced options based on keyboard shortcut
…e, e.g. SVG animations, game config, workpieces and agent tasks being displayed on the field and in popups, events
Otherwise it can happen that points are counted multiple times,
especially when switching between views
If lists are not deep watched, no changes are registered at all
@TarikViehmann TarikViehmann marked this pull request as ready for review January 31, 2024 16:55
Copy link
Collaborator

@techtasie techtasie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@TarikViehmann TarikViehmann merged commit 538b61a into master Feb 13, 2024
1 check passed
@TarikViehmann TarikViehmann deleted the dev branch February 13, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants