RealDevSquad / RealDevSquad/website-backend
Incremental ID
Open
@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:
- Initial Phase (T-1 to T-1000): Numeric increment from T-1 to T-1000.
- Alphabetic Phase (T-1A to T-1000Z): Append uppercase letters after reaching T-1000.
- Lowercase Alphabetic Phase (T-1a to T-1000z): Use lowercase letters after exhausting uppercase alphabets.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.