RealDevSquad / RealDevSquad/website-backend

Feature: Atomic numbered TaskIds from Hex-string TaskIds

Open
#1,296 1 comment 0 reactions 1 assignee View on GitHub

@DashDeipayan is already working on this.

Since Jul 17, 2023.

backend enhancement feature task
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Create Atomic numbered TaskId to replace the currently used Hex string TaskId

Description:
Presently, we are showing TaskIds in the tasks page as the identifier. As hex strings aren't that recognisable thus will be using alias-mapped numbering which will be incremented atomically as tasks are added.

Tasks:

  1. Create a new field TaskNumber that will be incremented as new tasks are created and added.
  2. Add this TaskNumber field to all existing tasks, valued chronologically.

Additional Information:

  • Run a cloud function to add the TaskNumber field.

Acceptance Criteria:

  1. The current model should fetch the last task added and increment the task number for the new task
  2. Task number must have prefix as abbreviation of the site that task belongs to. For example, task of status site can have an ID like #SS1234.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.