Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 0 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,6 @@ jobs:
"text": "*Workflow:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>"
}
]
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Commit Message:*\n${{ github.event.head_commit.message }}"
}
}
]
}
Expand Down Expand Up @@ -148,13 +141,6 @@ jobs:
"text": "*Workflow:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>"
}
]
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Commit Message:*\n${{ github.event.head_commit.message }}"
}
}
]
}
Expand Down
183 changes: 183 additions & 0 deletions .github/workflows/pr-notifications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
name: PR Notifications

on:
pull_request:
types: [opened, closed, reopened]
pull_request_review:
types: [submitted]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify Slack on PR Opened
if: github.event.action == 'opened'
uses: slackapi/[email protected]
with:
payload: |
{
"text": "🔔 New PR in pie-website-ng",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "🔔 New Pull Request"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Repository:*\n${{ github.repository }}"
},
{
"type": "mrkdwn",
"text": "*PR:*\n<${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}>"
},
{
"type": "mrkdwn",
"text": "*Author:*\n${{ github.event.pull_request.user.login }}"
},
{
"type": "mrkdwn",
"text": "*Base:*\n${{ github.event.pull_request.base.ref }}"
},
{
"type": "mrkdwn",
"text": "*Head:*\n${{ github.event.pull_request.head.ref }}"
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PR_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

- name: Notify Slack on PR Merged
if: github.event.action == 'closed' && github.event.pull_request.merged == true
uses: slackapi/[email protected]
with:
payload: |
{
"text": "✅ PR Merged in pie-website-ng",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "✅ Pull Request Merged"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Repository:*\n${{ github.repository }}"
},
{
"type": "mrkdwn",
"text": "*PR:*\n<${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}>"
},
{
"type": "mrkdwn",
"text": "*Author:*\n${{ github.event.pull_request.user.login }}"
},
{
"type": "mrkdwn",
"text": "*Merged by:*\n${{ github.event.pull_request.merged_by.login }}"
},
{
"type": "mrkdwn",
"text": "*Into:*\n${{ github.event.pull_request.base.ref }}"
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PR_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

- name: Notify Slack on PR Closed (not merged)
if: github.event.action == 'closed' && github.event.pull_request.merged == false
uses: slackapi/[email protected]
with:
payload: |
{
"text": "❌ PR Closed in pie-website-ng",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "❌ Pull Request Closed"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Repository:*\n${{ github.repository }}"
},
{
"type": "mrkdwn",
"text": "*PR:*\n<${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}>"
},
{
"type": "mrkdwn",
"text": "*Author:*\n${{ github.event.pull_request.user.login }}"
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PR_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

- name: Notify Slack on PR Review
if: github.event_name == 'pull_request_review'
uses: slackapi/[email protected]
with:
payload: |
{
"text": "👀 PR Review in pie-website-ng",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "${{ github.event.review.state == 'approved' && '✅ PR Approved' || github.event.review.state == 'changes_requested' && '🔄 Changes Requested' || '💬 PR Reviewed' }}"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Repository:*\n${{ github.repository }}"
},
{
"type": "mrkdwn",
"text": "*PR:*\n<${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}>"
},
{
"type": "mrkdwn",
"text": "*Reviewer:*\n${{ github.event.review.user.login }}"
},
{
"type": "mrkdwn",
"text": "*State:*\n${{ github.event.review.state }}"
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PR_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
2 changes: 1 addition & 1 deletion PIE-vs-Perseus-Analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ interface PieController {
- **PIE-QTI tooling**: Bidirectional import/export
- **QTI Assessment Model compatibility**: High degree of alignment
- PIE can be **exchanged directly** OR **via QTI**
- Dedicated project: [https://pie-framework.github.io/pie-qti](https://pie-framework.github.io/pie-qti)
- Dedicated project: [https://qti.pie-framework.org](https://qti.pie-framework.org)

**Philosophy**:
> "QTI (Question and Test Interoperability) is the industry standard for exchanging assessment content between systems. PIE complements QTI by providing rich interactive experiences and predictable rendering beyond QTI's specification."
Expand Down
2 changes: 1 addition & 1 deletion packages/pie-website-app/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@
<p class="mb-4">
We're actively developing importers and exporters to seamlessly move between QTI (2.x and 3.x) and PIE formats.
</p>
<a href="https://pie-framework.github.io/pie-qti" target="_blank" class="btn btn-primary btn-block">
<a href="https://qti.pie-framework.org" target="_blank" class="btn btn-primary btn-block">
Explore PIE-QTI Tools
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
Expand Down
Loading