Skip to content

Add new document types to constants#10659

Open
alwaysalearner1234 wants to merge 10 commits intomedic:masterfrom
alwaysalearner1234:master
Open

Add new document types to constants#10659
alwaysalearner1234 wants to merge 10 commits intomedic:masterfrom
alwaysalearner1234:master

Conversation

@alwaysalearner1234
Copy link
Copy Markdown

@alwaysalearner1234 alwaysalearner1234 commented Feb 22, 2026

Description

Added 'task', 'target', and 'user-settings' to DOC_TYPES to replace magic strings.

This ensures a single source of truth and improves maintainability.

#10548

@dianabarsan
Copy link
Copy Markdown
Member

Hi @alwaysalearner1234

Thanks for submitting this PR and your interest in the CHT.
Unfortunately adding the constants is only the first step, the second step would be to replace all occurrences of where these doc types are used throughout the codebase with the constant.
Are you available to complete that work?

Thanks!

@alwaysalearner1234
Copy link
Copy Markdown
Author

Hi @dianabarsan,
Thank you for the feedback and for reviewing my PR. Yes, I can work on the next step. I will go through the codebase and replace all occurrences of these document types with the defined constants to ensure consistency.
I'll update the PR once the changes are completed. Please let me know if there are any specific areas you would like me to focus on.
Thanks!

@github-actions
Copy link
Copy Markdown

This PR is now marked "stale" after 30 days without activity. It will be closed automatically in 10 days unless you add a comment, push new changes or remove the "stale" label.

@github-actions github-actions Bot added Stale and removed Stale labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants