Skip to content

Planner planTitle inconsistency #3342

@Jwaegebaert

Description

@Jwaegebaert

Currently when we use a planner title to search for a plan, bucket or task we have 2 different naming conventions. Within planner plan ... we make use of plannerTitle, meanwhile within planner bucket ... and planner task ... we use plannerName.

Here I propose to reform the commands planner bucket ... and planner task ... to the naming convention of plannerTitle. This then aligns most closely with the graph model. plannerPlan resource type

This affects the following command:

  • planner bucket add
  • planner bucket get
  • planner bucket list
  • planner bucket remove
  • planner bucket set
  • planner task add
  • planner task get
  • planner task list
  • planner task set

When we update the option names. Let's also mark the old ones as deprecated, so they can be removed in the next mayor update.

This also affects the following util functions:

  • src/utils/planner.ts - change getPlanByName to getPlanByTitle

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions