Skip to content
Closed

Dev #58

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
10de143
feat: #86eu4pn7j - add CheckboxInput component with customizable opti…
SomiVista Jul 11, 2025
4063b9f
feat: #86eu4pn7j - enhance CheckboxInput component with single checkb…
SomiVista Jul 11, 2025
fc9347d
feat: #86eu4pn7j - add new icons for lock open, eye, and eye off; upd…
SomiVista Jul 11, 2025
ed45091
feat: #86eu4pn7j - add new icons for lock open, eye, and eye off; upd…
SomiVista Jul 14, 2025
965077b
feat: #86eu4pn7j - enhance CheckboxInput stories with detailed docume…
SomiVista Jul 14, 2025
4d4ebd9
Merge branch 'CU-86eu4pn7j_Add-Checkbox-and-Radio-Input-component_som…
SomiVista Jul 14, 2025
67c633a
Merge pull request #54 from codebridger/CU-86eu4pn7j_Add-Checkbox-and…
navidshad Jul 19, 2025
4efe6a6
chore(release): 1.17.0-dev.23 [skip ci]
semantic-release-bot Jul 19, 2025
c4d33ff
fix: resolve issues with CheckboxInput component functionality and do…
navidshad Jul 19, 2025
e18af14
chore(release): 1.17.0-dev.24 [skip ci]
semantic-release-bot Jul 19, 2025
96a5a0f
chore: update release configuration for changelog file handling
navidshad Jul 19, 2025
1219771
Merge remote-tracking branch 'origin/main' into dev
navidshad Jul 19, 2025
b518ce0
chore: update PR description generator to use gpt-4.1-mini-2025-04-14…
navidshad Jul 19, 2025
71acacc
chore: add PR template and AI PR bot workflow, remove old description…
navidshad Jul 19, 2025
774920e
chore: comment out require_trigger in AI PR bot workflow configuration
navidshad Jul 19, 2025
f03c355
chore: rename AI PR bot workflow to CodePress Review and update model…
navidshad Jul 19, 2025
452f629
chore: add a PR description template and update AI PR bot workflow co…
navidshad Jul 19, 2025
e4c7343
chore: enhance AI PR bot workflow with additional configuration optio…
navidshad Jul 19, 2025
4473202
chore: update AI PR bot workflow to refine pull request trigger types…
navidshad Jul 19, 2025
d492f3d
chore: remove AI PR bot workflow file as part of project restructuring
navidshad Jul 19, 2025
226fe83
chore: update CodePress Review workflow to remove pull request trigge…
navidshad Jul 19, 2025
199c813
chore: comment out sections in CodePress Review workflow and add perm…
navidshad Jul 19, 2025
075f1f4
chore: change pull request trigger from pull_request_target to pull_r…
navidshad Jul 19, 2025
60fe094
chore: add custom PR description template and update workflow to util…
navidshad Jul 19, 2025
4a48764
fix: update PR description workflow to properly format content by rep…
navidshad Jul 19, 2025
3fc1b09
chore(release): 1.17.0-dev.25 [skip ci]
semantic-release-bot Jul 19, 2025
97f4d24
fix: correct parameter name in PR description workflow from system_pr…
navidshad Jul 19, 2025
fbb6e63
Merge branch 'dev' of https://github.com/tiny-ideas-ir/lib-vue-compon…
navidshad Jul 19, 2025
c3335d3
chore(release): 1.17.0-dev.26 [skip ci]
semantic-release-bot Jul 19, 2025
7992cc0
refactor: update PR description workflow to improve functionality and…
navidshad Jul 19, 2025
73e2b6e
Merge branch 'dev' of https://github.com/tiny-ideas-ir/lib-vue-compon…
navidshad Jul 19, 2025
e8adcf9
chore(release): 1.17.0-dev.27 [skip ci]
semantic-release-bot Jul 19, 2025
69498d3
doc: add PR description template and update workflow to reference it
navidshad Jul 19, 2025
55b074f
Merge branch 'dev' of https://github.com/tiny-ideas-ir/lib-vue-compon…
navidshad Jul 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions ${branch.name === 'main' ? 'CHANGELOG.md' : 'CHANGELOG-DEV.md'}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# [1.17.0-dev.27](https://github.com/codebridger/lib-vue-components/compare/dev-1.17.0-dev.26...dev-1.17.0-dev.27) (2025-07-19)

# [1.17.0-dev.26](https://github.com/codebridger/lib-vue-components/compare/dev-1.17.0-dev.25...dev-1.17.0-dev.26) (2025-07-19)


### Bug Fixes

* correct parameter name in PR description workflow from system_prompt to user_prompt ([97f4d24](https://github.com/codebridger/lib-vue-components/commit/97f4d2480736d0aeb9caacb4cef66888d4b4af7d))

# [1.17.0-dev.25](https://github.com/codebridger/lib-vue-components/compare/dev-1.17.0-dev.24...dev-1.17.0-dev.25) (2025-07-19)


### Bug Fixes

* update PR description workflow to properly format content by replacing newlines with escaped characters ([4a48764](https://github.com/codebridger/lib-vue-components/commit/4a48764e00c5f81a43a2b98c53016731492f4fb5))
89 changes: 89 additions & 0 deletions .cursor/rules/pr_template.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Pull Request Description

> **Note**: Not all sections are required for every PR. Use only the sections that are relevant to your changes. Focus on the most important information for your specific pull request.

## 📋 Overview & Changes
<!-- Provide a brief summary of what this PR accomplishes and key changes -->

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 PRAISE: This is a well-structured and comprehensive PR template that covers key aspects such as overview, testing, review checklist, and documentation. It will help contributors provide high-quality PR descriptions, improving collaboration and review efficiency.


### 🎯 What was implemented
- [ ] Feature A
- [ ] Feature B
- [ ] Bug fix for issue C

### 📝 Commit Summary

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 OPTIONAL: The Commit Summary section is generic. To improve usefulness, consider adding more guidance or examples on how to extract key insights from commit messages or code changes for this section.

<!--
Summary generated from commit messages and code changes:
- Key features implemented
- Bug fixes applied
- Files modified
- Breaking changes
- Performance improvements
- Code refactoring
-->

### 🔧 Technical Details
<!-- Provide technical implementation details if relevant -->

## 🔗 Related Tasks & Commit Analysis
<!-- Task tracking and commit analysis section -->

### 🔍 Task IDs & Links from Commits
<!--
Task IDs extracted from commit messages and their ClickUp links:
- Format: #task-id or CU-task-id
- ClickUp Link: https://app.clickup.com/t/[task-id]
- Example: #12345 → https://app.clickup.com/t/12345
-->

## 🧪 Testing
<!-- Describe how the changes were tested -->

- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing completed
- [ ] Cross-browser testing (if applicable)

## 🔍 Review Checklist
<!-- Use this checklist to ensure your PR is ready for review -->

### Code Quality
- [ ] Code follows project coding standards
- [ ] No console.log statements left in production code
- [ ] No hardcoded values that should be configurable
- [ ] Proper error handling implemented
- [ ] Code is properly documented

### Performance
- [ ] No performance regressions introduced

### Security
- [ ] No security vulnerabilities introduced
- [ ] Input validation implemented where necessary
- [ ] Sensitive data properly handled

### Accessibility
- [ ] WCAG guidelines followed
- [ ] Keyboard navigation works properly
- [ ] Screen reader compatibility tested

## 🚀 Deployment Notes
<!-- Any special considerations for deployment -->

## 📚 Documentation
<!-- Update any relevant documentation -->

- [ ] README updated (if applicable)
- [ ] API documentation updated (if applicable)
- [ ] Component documentation updated (if applicable)

## 🔄 Breaking Changes
<!-- List any breaking changes that might affect other parts of the system -->

## 📋 Additional Notes
<!-- Any other information that reviewers should know -->

---

**Template Version**: 1
**Last Updated**: 19 Jun 2025
**Summary Source**: Commit messages and code changes
93 changes: 93 additions & 0 deletions .github/pr-description-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Take all below stracture to write a proper PR description

# Pull Request Description

> **Note**: Not all sections are required for every PR. Use only the sections that are relevant to your changes. Focus on the most important information for your specific pull request.
>
> **Required Sections**: The "🔗 Related Tasks & Commit Analysis" and "📝 Commit Summary" sections are mandatory for all PRs as they provide essential context for reviewers.

## 📋 Overview & Changes
<!-- Provide a brief summary of what this PR accomplishes and key changes -->

### 🎯 What was implemented
- [ ] Feature A
- [ ] Feature B
- [ ] Bug fix for issue C

### 📝 Commit Summary
<!--
Summary generated from commit messages and code changes:
- Key features implemented
- Bug fixes applied
- Files modified
- Breaking changes
- Performance improvements
- Code refactoring
-->

### 🔧 Technical Details
<!-- Provide technical implementation details if relevant -->

## 🔗 Related Tasks & Commit Analysis
<!-- Task tracking and commit analysis section -->

### 🔍 Task IDs & Links from Commits
<!--
Task IDs extracted from commit messages and their ClickUp links:
- Format: #task-id or CU-task-id
- ClickUp Link: https://app.clickup.com/t/[task-id]
- Example: #12345 → https://app.clickup.com/t/12345
-->

## 🧪 Testing
<!-- Describe how the changes were tested -->

- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing completed
- [ ] Cross-browser testing (if applicable)

## 🔍 Review Checklist
<!-- Use this checklist to ensure your PR is ready for review -->

### Code Quality
- [ ] Code follows project coding standards
- [ ] No console.log statements left in production code
- [ ] No hardcoded values that should be configurable
- [ ] Proper error handling implemented
- [ ] Code is properly documented

### Performance
- [ ] No performance regressions introduced

### Security
- [ ] No security vulnerabilities introduced
- [ ] Input validation implemented where necessary
- [ ] Sensitive data properly handled

### Accessibility
- [ ] WCAG guidelines followed
- [ ] Keyboard navigation works properly
- [ ] Screen reader compatibility tested

## 🚀 Deployment Notes
<!-- Any special considerations for deployment -->

## 📚 Documentation
<!-- Update any relevant documentation -->

- [ ] README updated (if applicable)
- [ ] API documentation updated (if applicable)
- [ ] Component documentation updated (if applicable)

## 🔄 Breaking Changes
<!-- List any breaking changes that might affect other parts of the system -->

## 📋 Additional Notes
<!-- Any other information that reviewers should know -->

---

**Template Version**: 1
**Last Updated**: 19 Jun 2025
**Summary Source**: Commit messages and code changes
39 changes: 39 additions & 0 deletions .github/workflows/auto-pr-code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# # https://github.com/marketplace/actions/codepress-review
# # How to use:
# # 1. Add the following to your PR description:
# # @codepress/review

# name: CodePress Review

# on:
# pull_request_target:
# types: []
# issue_comment:
# types: [created]
# workflow_dispatch: # Allows manual triggering from the Actions tab

# permissions:
# pull-requests: write
# contents: read
# issues: read # Required to read PR comments

# jobs:
# ai-review:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# ref: ${{ github.event.issue.pull_request && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }}

# - name: CodePress Review
# uses: quantfive/codepress-review@v2
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# model_provider: "openai"
# model_name: "gpt-4.1-mini-2025-04-14"
# openai_api_key: ${{ secrets.OPENAI_API_KEY_FOR_PR_DESC_GENERATOR }}
# # Comment triggers are enabled by default
# run_on_comment_trigger: false # Disable comment triggers
# # comment_trigger_phrase: "@codepress/review" # Default
56 changes: 56 additions & 0 deletions .github/workflows/auto-pr-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Generate PR Description

on:
pull_request:
types: [opened, edited, synchronize]

env:
TEMPLATE_FILE_PATH: .github/pr-description-template.md

jobs:
generate-description:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Read template content
id: read-template
run: |
content=$(cat ${{ env.TEMPLATE_FILE_PATH }} | sed ':a;N;$!ba;s/\n/\\n/g')
echo "template_content=$content" >> $GITHUB_OUTPUT

- name: Get Git Diff
id: git_diff
run: |
DIFF=$(git diff HEAD^ HEAD)
echo "diff=$(echo "$DIFF" | jq -sRr @uri)" >> $GITHUB_OUTPUT

- name: Generate PR Description

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 OPTIONAL: Consider adding comments in the workflow YAML to briefly explain the purpose of the steps for future maintainers. This can improve clarity about the use of the OpenAI API key and the custom prompt.

id: generate_desc
uses: alvarocperez/pull-request-description@v1.0.2
with:
api_key: ${{ secrets.OPENAI_API_KEY_FOR_PR_DESC_GENERATOR }}
prompt: ${{ steps.read-template.outputs.template_content }}
git_diff: ${{ steps.git_diff.outputs.diff }}

- name: Update PR Description
uses: actions/github-script@v6
env:
PR_DESCRIPTION: ${{ steps.generate_desc.outputs.description }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo } = context.repo;
await github.rest.pulls.update({
owner,
repo,
pull_number: context.payload.pull_request.number,
body: process.env.PR_DESCRIPTION
});
17 changes: 11 additions & 6 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,20 @@
{
"preset": "angular",
"releaseRules": [
{"type": "refactor", "release": "patch"}
{
"type": "refactor",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
{
"path": "@semantic-release/changelog",
"condition": "branch.name === 'main'"
},
[
"@semantic-release/changelog",
{
"changelogFile": "${branch.name === 'main' ? 'CHANGELOG.md' : 'CHANGELOG-DEV.md'}"
}
],
[
"@semantic-release/npm",
{
Expand All @@ -34,7 +39,7 @@
{
"assets": [
"package.json",
"CHANGELOG.md"
"${branch.name === 'main' ? 'CHANGELOG.md' : 'CHANGELOG-DEV.md'}"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"version": "1.19.0",
"version": "1.17.0-dev.27",
"type": "module",
"files": [
"dist",
Expand Down
Loading