Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz committed Sep 22, 2023
1 parent 0642034 commit 0d3a5f5
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 65 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 2,10 @@

All notable changes to this project will be documented in this file.

## [0.2.0] - 2023-09-22
- Fixed issue where async tasks would overlap the results in the UI.
- Implemented token refreshing for Microsoft To Do.

## [0.1.9] - 2023-09-21
- Fixed a bug where the app would fail to start if migrations failed to execute.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
[package]
name = "done"
version = "0.1.9"
version = "0.2.0"
edition = "2021"
authors = ["Eduardo Flores <[email protected]>"]
license = "MPL 2.0"
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

pkgname=done-git
pkgrel=1
pkgver=0.1.9
pkgver=0.2.0
pkgdesc="Done is a simple to do app that lets you combine your existing set of task providers into one database, easily."
arch=('x86_64')
url="https://github.com/edfloreshz/done"
Expand Down
9 changes: 9 additions & 0 deletions data/dev.edfloreshz.Done.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 43,15 @@ https://hughsie.github.io/oars/index.html
-->
<content_rating type="oars-1.0" />
<releases>
<release version="0.2.0" date="2023-09-21">
<description>
<p>Bug fixes</p>
<ul>
<li>Fixed issue where async tasks would overlap the results in the UI.</li>
<li>Implemented token refreshing for Microsoft To Do.</li>
</ul>
</description>
</release>
<release version="0.1.9" date="2023-09-21">
<description>
<p>Bug fix</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 101,7 @@ <h2 class="dark:text-white leading tracking-tight text-gray-900 sm:text-2xl mt-4
</a>
<div class="grid place-content-center text-center">
<div class="flex flex-wrap justify-center">
<a href="https://github.com/done-devs/done/releases/download/v0.1.9/dev.edfloreshz.Done.Devel.flatpak"
<a href="https://github.com/done-devs/done/releases/download/v0.2.0/dev.edfloreshz.Done.Devel.flatpak"
class="warning dark:text-black text-xl font-bold mt-6 p-3 m-2 rounded-md">Install Development Version</a>
</div>
<div class="flex flex-wrap justify-center mt-6">
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
project('done', 'rust',
version: '0.1.9',
version: '0.2.0',
license: ['MPL-2.0'],
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2'],
Expand Down
106 changes: 47 additions & 59 deletions src/app/components/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,76 135,64 @@ impl AsyncComponent for ContentModel {
#[transition = "Crossfade"]
append = match model.state {
ContentState::Empty => {
gtk::CenterBox {
gtk::Box {
set_vexpand: true,
set_hexpand: true,
set_orientation: gtk::Orientation::Vertical,
set_halign: gtk::Align::Center,
set_valign: gtk::Align::Center,
#[wrap(Some)]
set_center_widget = &gtk::Box {
set_orientation: gtk::Orientation::Vertical,
set_spacing: 10,
gtk::Image {
set_icon_name: Some(icon_name::SONAR),
set_pixel_size: 64,
set_margin_all: 10,
},
gtk::Label {
set_css_classes: &["title-2"],
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
#[watch]
set_text: fl!("list-empty"),
},
gtk::Label {
set_css_classes: &["body"],
#[watch]
set_text: fl!("instructions"),
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
},
}
set_spacing: 10,
gtk::Image {
set_icon_name: Some(icon_name::SONAR),
set_pixel_size: 64,
set_margin_all: 10,
},
gtk::Label {
set_css_classes: &["title-2"],
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
#[watch]
set_text: fl!("list-empty"),
},
gtk::Label {
set_css_classes: &["body"],
#[watch]
set_text: fl!("instructions"),
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
},
}
},
ContentState::AllDone => {
gtk::Box {
set_vexpand: true,
set_hexpand: true,
set_orientation: gtk::Orientation::Vertical,
gtk::CenterBox {
set_halign: gtk::Align::Center,
set_valign: gtk::Align::Center,
set_spacing: 10,
gtk::Image {
set_icon_name: Some(icon_name::CHECK_ROUND_OUTLINE2),
set_pixel_size: 64,
set_margin_all: 10,
},
gtk::Label {
set_css_classes: &["title-2"],
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
#[watch]
set_vexpand: true,
set_hexpand: true,
set_orientation: gtk::Orientation::Vertical,
set_halign: gtk::Align::Center,
set_valign: gtk::Align::Center,
#[wrap(Some)]
set_center_widget = &gtk::Box {
set_orientation: gtk::Orientation::Vertical,
set_spacing: 10,
gtk::Image {
set_icon_name: Some(icon_name::CHECK_ROUND_OUTLINE2),
set_pixel_size: 64,
set_margin_all: 10,
},
gtk::Label {
set_css_classes: &["title-2"],
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
#[watch]
set_text: fl!("all-done"),
},
gtk::Label {
set_css_classes: &["body"],
#[watch]
set_text: fl!("all-done-instructions"),
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
},
}
set_text: fl!("all-done"),
},
gtk::Label {
set_css_classes: &["body"],
#[watch]
set_text: fl!("all-done-instructions"),
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
},
}
},
Expand Down
6 changes: 6 additions & 0 deletions src/app/components/task_list_sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 100,16 @@ impl SimpleAsyncComponent for TaskListSidebarModel {
},
gtk::Label {
add_css_class: "title-2",
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
set_label: fl!("empty-middle-tittle"),
},
gtk::Label {
add_css_class: "body",
set_wrap: true,
set_wrap_mode: gtk::pango::WrapMode::Word,
set_justify: gtk::Justification::Center,
set_label: fl!("middle-empty-instructions"),
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/config/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 7,4 @@ pub const PROFILE: &str = "";
#[allow(dead_code)]
pub const RESOURCES_FILE: &str =
concat!("/app/share/done", "/resources.gresource");
pub const VERSION: &str = "0.1.9";
pub const VERSION: &str = "0.2.0";
1 change: 1 addition & 0 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 84,7 @@ impl AsyncComponent for Done {
view! {
#[root]
adw::ApplicationWindow {
set_size_request: (200, 300),
connect_close_request[sender] => move |_| {
sender.input(AppInput::Quit);
Propagation::Stop
Expand Down

0 comments on commit 0d3a5f5

Please sign in to comment.