Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ui/components/mutation_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn MutationResult<'a>(props: &mut MutationResultProps<'a>) -> impl Into<AnyE

element! {
View(flex_direction: FlexDirection::Column) {
View(flex_direction: FlexDirection::Row, gap: 2) {
View(flex_direction: FlexDirection::Row, gap: 2, margin_bottom: 1) {
View(flex_direction: FlexDirection::Row, gap: 1) {
Text(content: ICONS.done, color: Color::Green, wrap: TextWrap::NoWrap)
Text(content: props.action.clone(), wrap: TextWrap::NoWrap)
Expand Down Expand Up @@ -50,7 +50,7 @@ mod tests {

assert_eq!(
render_element_to_string(&mut element, true),
"✓ Edited (title, tags)\nA ▢ Updated task"
"✓ Edited (title, tags)\n\nA ▢ Updated task"
);
}
}
1 change: 1 addition & 0 deletions trycmd/delete/multiple.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 delete A7h5eCi24RvAWKC3Hv3muf MpkEei6ybkFS2n6SXvwfLf
✓ Deleted

× Alpha
× Work
{
Expand Down
1 change: 1 addition & 0 deletions trycmd/delete/single.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 delete A7h5eCi24RvAWKC3Hv3muf
✓ Deleted

× Alpha
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/edit/add_checklist_payload_shape.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000111.0 edit A7h5eCi24RvAWKC3Hv3muf --add-checklist 'Step three'
✓ Edited (add-checklist)

▢ Task with checklist
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/edit/remove_checklist_payload.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000111.0 edit A7h5eCi24RvAWKC3Hv3muf --remove-checklist MpkEei
✓ Edited (remove-checklist)

▢ Task with checklist
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/edit/rename_checklist_payload.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000111.0 edit A7h5eCi24RvAWKC3Hv3muf --rename-checklist 'MpkEei:Renamed step'
✓ Edited (rename-checklist)

▢ Task with checklist
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/mark/checklist_check.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000111.0 mark A7h5eCi24RvAWKC3Hv3muf --check MpkEei
✓ Checked

└╴● One
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/mark/done_single.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000111.0 mark A7h5eCi24RvAWKC3Hv3muf --done
✓ Done

◼ Alpha
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/new/after_gap.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1700000000 --now-ts 1700000000.0 new Inserted --after A7h5eCi24RvAWKC3Hv3muf
✓ Created

[..] ▢ Inserted
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/new/bare_create.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1700000000 --now-ts 1700000000.0 new 'Ship release'
✓ Created

[..] ▢ Ship release
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/new/when_today.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000000.0 new 'Task today' --when today
✓ Created

[..] ▢ ⭑ Task today
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/projects/new_compatible_payload.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1700000000 --now-ts 1700000000.0 projects new 'HV-MRF-01'
✓ Created

[..] ◯ HV-MRF-01
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/reorder/before.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000444.0 reorder MpkEei6ybkFS2n6SXvwfLf --before-id KGvAPpMrzHAKMdgMiERP1V
✓ Reordered (before=B, index=1536)

▢ C
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/reorder/rebalance_payload_and_ancestors.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000444.0 reorder MpkEei6ybkFS2n6SXvwfLf --after-id A7h5eCi24RvAWKC3Hv3muf
✓ Reordered (after=A, index=2048)

▢ C
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/schedule/deadline.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000333.0 schedule A7h5eCi24RvAWKC3Hv3muf --deadline 2034-02-01
✓ Scheduled (deadline=2034-02-01)

▢ Schedule me ⚑ due by 2034-02-01
{
"ancestor_index": 0,
Expand Down
1 change: 1 addition & 0 deletions trycmd/schedule/when_today.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```trycmd
$ run.sh things3 --today-ts 1699920000 --now-ts 1700000333.0 schedule A7h5eCi24RvAWKC3Hv3muf --when today
✓ Scheduled (today)

▢ ⭑ Schedule me
{
"ancestor_index": 0,
Expand Down
Loading