RealDevSquad / RealDevSquad/website-backend

Incremental ID

Open
#1,931 0 comments 0 reactions 1 assignee View on GitHub

@vishalkrkamat is already working on this.

Since Feb 28, 2024.

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

Description

Issue Description

Implement an incremental ShortID generation system combining alphanumeric characters to create unique identifiers.
Design Doc: https://docs.google.com/document/d/1FdrxtEER7r85vKCEb86_RhkuSV-EVN6JBaxmGnJFBLQ/edit?usp=sharing

Expected Behavior

The system should generate ShortIDs sequentially according to the following phases:

  1. Initial Phase (T-1 to T-1000): Numeric increment from T-1 to T-1000.
  2. Alphabetic Phase (T-1A to T-1000Z): Append uppercase letters after reaching T-1000.
  3. Lowercase Alphabetic Phase (T-1a to T-1000z): Use lowercase letters after exhausting uppercase alphabets.
  4. Combination Phase (Task-1Aa to Task-1000Zz): Combine uppercase and lowercase alphabets for further scalability.
Current Behavior

Database uses document ID to access the task

Screenshots

N/A

Reproducibility
  • This issue is reproducible
  • This issue is not reproducible
Steps to Reproduce

N/A

Severity/Priority
  • Critical
  • High
  • Medium
  • Low
Additional Information

Part of PR - https://github.com/Real-Dev-Squad/todo-action-items/issues/213

Checklist
  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

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.