chore: release v0.1.0
This commit is contained in:
+6
-14
@@ -1,19 +1,11 @@
|
||||
### 2022-07-06
|
||||
### 2022-07-23
|
||||
|
||||
### Docs
|
||||
+ readme update, [f29e29ad151ddf424ba630e6d33edf19acfd7636]
|
||||
+ comments improved, [1674db8a20aafa447732deb2e44ac8b97cf0471b]
|
||||
+ readme logo size, [a733efa65865e04d9ec86c7ca8785dfbae635695]
|
||||
|
||||
### Fixes
|
||||
+ Remove unwraps(), [61db81ecfe5684ddb8a360715f43357a042162c0]
|
||||
+ Help menu alt+tab > shift+tab typo, thanks [siph](https://github.com/siph), [04466803481b75feb7d7f275248279fdb8729862]
|
||||
|
||||
### Refactors
|
||||
+ tokio spawns, [1fd230f2f3cf4e376058359515e76f4fa6e425c2]
|
||||
+ max_line_width(), [a5d7dabbd68dc15a081df33352ce3b55d9a9891c]
|
||||
+ create_release dead code removed, [297979c197c2defd409053d8da724f922b0bba1b]
|
||||
### Chores
|
||||
+ dependencies updated, [cf7e02dde94f69832a2e485b99785afc66a5bc15]
|
||||
|
||||
### Features
|
||||
+ Enable sorting of containers by each, and every, heading. Either via keyboard or mouse, closes [#3], [a6c296f2cde56cf241bcd696cab8bd477270e5f4]
|
||||
+ Spawn & track docker information update requests, multiple identical requests cannot be executed, [740c059b276f35acd1cb03f1030134646bf8a07d]
|
||||
|
||||
|
||||
see <a href='https://github.com/mrjackwills/oxker/blob/main/CHANGELOG.md'>CHANGELOG.md</a> for more details
|
||||
|
||||
+6
-3
@@ -1,9 +1,12 @@
|
||||
# <a href='https://github.com/mrjackwills/oxker/releases/tag/v0.1.0'>v0.1.0</a>
|
||||
### 2022-07-23
|
||||
|
||||
### Chores
|
||||
+ dependencies updated, [cf7e02dde94f69832a2e485b99785afc66a5bc15]
|
||||
+ dependencies updated, [cf7e02dd](https://github.com/mrjackwills/oxker/commit/cf7e02dde94f69832a2e485b99785afc66a5bc15),
|
||||
|
||||
### Features
|
||||
+ Enable sorting of containers by each, and every, heading. Either via keyboard or mouse, closes [#3], [a6c296f2cde56cf241bcd696cab8bd477270e5f4]
|
||||
+ Spawn & track docker information update requests, multiple identical requests cannot be executed, [740c059b276f35acd1cb03f1030134646bf8a07d]
|
||||
+ Enable sorting of containers by each, and every, heading. Either via keyboard or mouse, closes [#3](https://github.com/mrjackwills/oxker/issues/3), [a6c296f2](https://github.com/mrjackwills/oxker/commit/a6c296f2cde56cf241bcd696cab8bd477270e5f4),
|
||||
+ Spawn & track docker information update requests, multiple identical requests cannot be executed, [740c059b](https://github.com/mrjackwills/oxker/commit/740c059b276f35acd1cb03f1030134646bf8a07d),
|
||||
|
||||
# <a href='https://github.com/mrjackwills/oxker/releases/tag/v0.0.6'>v0.0.6</a>
|
||||
### 2022-07-06
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxker"
|
||||
version = "0.0.6"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Jack Wills <email@mrjackwills.com>"]
|
||||
description = "a simple tui to view & control docker containers"
|
||||
|
||||
@@ -474,9 +474,7 @@ pub fn draw_heading_bar<B: Backend>(
|
||||
// draw the actual header blocks
|
||||
for (index, (paragraph, header, _)) in header_data.into_iter().enumerate() {
|
||||
let rect = headers_section[index];
|
||||
gui_state
|
||||
.lock()
|
||||
.update_map(Region::Header(header), rect);
|
||||
gui_state.lock().update_map(Region::Header(header), rect);
|
||||
f.render_widget(paragraph, rect);
|
||||
}
|
||||
}
|
||||
|
||||
+11
-5
@@ -10,10 +10,9 @@ pub enum SelectablePanel {
|
||||
Logs,
|
||||
}
|
||||
|
||||
|
||||
pub enum Region {
|
||||
Panel(SelectablePanel),
|
||||
Header(Header)
|
||||
Header(Header),
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
@@ -228,9 +227,16 @@ impl GuiState {
|
||||
/// Insert, or updatem header area panel into heading_map
|
||||
pub fn update_map(&mut self, region: Region, area: Rect) {
|
||||
match region {
|
||||
Region::Header(header) =>
|
||||
self.heading_map.entry(header).and_modify(|w|*w =area).or_insert(area),
|
||||
Region::Panel(panel) => self.panel_map.entry(panel).and_modify(|w|*w =area).or_insert(area),
|
||||
Region::Header(header) => self
|
||||
.heading_map
|
||||
.entry(header)
|
||||
.and_modify(|w| *w = area)
|
||||
.or_insert(area),
|
||||
Region::Panel(panel) => self
|
||||
.panel_map
|
||||
.entry(panel)
|
||||
.and_modify(|w| *w = area)
|
||||
.or_insert(area),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user