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

Show max 20 canvases #158

Merged
merged 8 commits into from
Jul 4, 2024

Conversation

mkamonMdt
Copy link
Contributor

@mkamonMdt mkamonMdt commented Jun 5, 2024

The PR provides implementation for #39
The final output of above commits:
1 - On old view I added "Open Peers" tab that opens the PeerList
2 - The PeerList view
3- Filtering functionality

Screenshot from 2024-06-05 10-29-17

@darioalessandro
Copy link
Member

this is awesome @mkamonMdt !!! testing now

@darioalessandro
Copy link
Member

darioalessandro commented Jun 24, 2024

fixed linter on main, I would just remove the footer placeholder and call it a day

@mkamonMdt
Copy link
Contributor Author

fixed linter on main, I would just remove the footer placeholder and call it a day

Thanks for fixing it.

The commit introduces struct component PeerList which is to
resposible for active Peer management. At current stage, the PeerList
should expand and collapse, claiming dedicated screen chunk, accept
(hardcoded at the moment) list of Peers and enable basic filterming
function.
In preparation to limit Canvases, the commit extracts a function
responsible for thier preparation given vector of peer indetifiers.
No changes in canvas preparation logic were introduced.
The canvas number is limited up to 20. The limit criteria is simple
alphabetical order. All peers can be seen in the PeerList.
mkamonMdt and others added 4 commits June 27, 2024 22:16
The commit turns raw-text PeerList into scrollable list of
PeerListItems, a struct component that might be further developed
with functional features.
The commit adds peer heartbeat monitoring functionality that
registers each heartbeat received and removes peers that stopped
missed all heartbeat opportunities in current monitoring period.

The heartbeat-based peer removal will take up to 2x of monitoring
period duration to detect a lost peer.
* updating base images

* update base image

* cache build

* fmt

* make ci green again

* pass linter
@darioalessandro darioalessandro merged commit a19c65a into security-union:main Jul 4, 2024
1 check passed
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.

2 participants