lcfd / trak

Keep a record of the time you dedicate to your projects.
https://usetrak.com
GNU Affero General Public License v3.0
11 stars 2 forks source link

[projects] Add "archived" property in project config #55

Closed lcfd closed 6 months ago

lcfd commented 6 months ago

After a project is finished I want to archive it.

Proposal

Add "archived" property in project config.

{
  "id": "digimon",
  "name": "Digimon",
  "description": "Dev project",
  "categories": [],
  "tags": [],
  "customer": "",
  "rate": 0,
  ----> "archived": BOOLEAN,
}

This new field will be used by the functions that retrieve projects to filter the lists. The expected result is to have a cleaner list.

⚠️ The archived projects will be used in reports only if the --archived flag is used.

Extra to report