Skip to content

Releases: 11neuty/bugFlow

v1.1.0 - Metrics Dashboard & Project RBAC

Choose a tag to compare

@11neuty 11neuty released this 09 Apr 11:21

Objective

Deliver CR #5 for BugFlow with project-scoped metrics and role-based access control so teams can operate with clearer permissions and better visibility.

Included

  • Project-scoped Metrics Dashboard with summary cards, status breakdown, 7-day trend, and average resolution time based on first DONE activity
  • ProjectMember-based RBAC with fixed roles: ADMIN, DEVELOPER, QA, VIEWER
  • Project member management APIs and UI with last-admin protection and duplicate-member validation
  • Permission enforcement across issues, comments, activity logs, metrics, and project lifecycle flows
  • Notification menu overlay fix to keep dropdown stable above dashboard content

API

  • GET /api/v1/metrics/overview?projectId=
  • GET /api/v1/projects/:id/members
  • POST /api/v1/projects/:id/members
  • PATCH /api/v1/projects/:id/members/:memberId
  • DELETE /api/v1/projects/:id/members/:memberId

Notes

  • All new behavior remains scoped by projectId
  • Existing issue, project, notification, and activity features remain backward-compatible
  • Empty metrics states return valid responses instead of errors

Verification

  • npm run lint
  • npm run build
  • Local smoke test covering RBAC rules, metrics aggregation/trend/resolution time, issue flows, activity log, and notifications
  • Production verification for /api/v1/metrics/overview and /api/v1/projects/:id/members

BugFlow v1.0 — Multi-Project, Activity Timeline & Notifications

Choose a tag to compare

@11neuty 11neuty released this 03 Apr 12:35
2086925

🚀 BUGFLOW — PRODUCTION RELEASE SUMMARY

Tanggal: 3 April 2026

🔥 HIGHLIGHTS
Multi-project workspace sekarang fully supported
Activity log system end-to-end
In-app notification system sudah live
Safe project deletion dengan data protection
UI notification diperbaiki dan sudah usable
✨ NEW FEATURES
🧩 Project / Workspace System
User sekarang bisa membuat dan memilih project
Issue terikat ke project (projectId enforced)
Default Project otomatis dibuat jika belum ada
Switching project langsung update dashboard
🔔 Notification System (In-App)
Notifikasi untuk:
Issue assigned
Status change
Comment added
Unread count real-time di bell icon
Mark as read & mark all read
Auto redirect ke issue saat klik notif
Dedupe system untuk mencegah duplicate notif
Skip self-notification
🧾 Activity Log Timeline
Tracking event:
ISSUE_CREATED
STATUS_CHANGED
ASSIGNED
PRIORITY_CHANGED
COMMENT_ADDED
Timeline vertikal di detail issue
Limit 50 aktivitas terbaru
🛠 IMPROVEMENTS
🧠 Project Handling
Fallback otomatis ke Default Project jika projectId kosong
Project selector di header
Dashboard hanya load data berdasarkan project aktif
🎨 UI / UX
Notification dropdown sekarang:
tidak ketimpa dashboard
clickable
fixed positioning + portal
Improved hover & interaction
Better visual hierarchy
🔐 Data Integrity
Issue tidak bisa orphan (projectId required)
Backfill migration untuk data lama
Validasi projectId saat create issue
🧨 BREAKING CHANGES
Issue sekarang wajib terkait project
API /issues mendukung filter projectId
Behavior lama tetap backward compatible (fallback ke default project)
🧹 FIXES
Fix notification dropdown tidak bisa diklik
Fix UI overlap antara dashboard dan dropdown
Fix UUID invalid pada default project
Fix duplicate project creation (409 response)
🛡 SAFETY & DATA
🗑 Safe Project Deletion
Tidak bisa delete Default Project
Issue otomatis dipindah ke Default Project
Soft delete via deletedAt
Project yang dihapus tidak muncul di list
🔍 VERIFICATION

Production sudah tervalidasi:

GET /api/v1/projects → 200
GET /api/v1/issues → 200
GET /api/v1/notifications → 200
DELETE project flow aman
Notification flow end-to-end berhasil
🚀 DEPLOYMENT
Commit: f2c4150 + 8ccbf1a
Branch: main
Platform: Vercel
Status: Production Live
🧠 IMPACT
Sistem sekarang fully multi-project
User dapat tracking activity secara lengkap
Notifikasi membuat workflow lebih real-time
Data integrity lebih aman
UX naik ke level SaaS production