elementary / elementary/tasks

Trigger manual data refresh with Ctrl+r

Open
#172 0 comments 1 reaction 0 assignees View on GitHub
Help Wanted Status: In Progress
Dominant language
Vala
Stars
85
Forks
22
Avg merge
12h 10m
Merged PRs (30d)
3

Description

## Problem

It would be great to allow the user to manually refresh the data while the app is running.

## Proposal

This can be done with an accelerator action for `Ctrl+r`. We might also want to indicate refresh activity by showing a spinner animation (can be the same as in #171).

## Prior Art

Backend refresh triggers are already used after renaming a Task List. Maybe we can just use the same technique:

https://github.com/elementary/tasks/blob/0a11aefa6d497f02555d674463bd90bbd1587cdd/src/TaskModel.vala#L180

Also some accelerators (keyboard shortcuts) have already been implemented in `Tasks.MainWindow`, so we can use those to figure out how to create another one:

https://github.com/elementary/tasks/blob/0a11aefa6d497f02555d674463bd90bbd1587cdd/src/MainWindow.vala#L23

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.