Skip to content

Latest commit

 

History

History
102 lines (91 loc) · 5.66 KB

File metadata and controls

102 lines (91 loc) · 5.66 KB

Sprint 3 Summary

Work Completed

Frontend

  • Workspace UI Redesign: Modernized "Create Workspace" and "Edit Workspace" interfaces into interactive monochrome flows, resolved infinite loading states during editing, and improved workspace deletion UX.
  • Jira Integration Workflows: Implemented complete Jira OAuth connection flow, rendering authorization pages in isolated new tabs, handling automated dashboard reloads, and standardizing metadata signals rendered for Jira components.
  • Profile & Auth Adjustments: Built out signup profile fields mapping into new robust UI forms and designed a comprehensive Profile Settings component for user-centric state controls and an extensive Password Reset flow layout.
  • UI & Typography Alignments: Enforced global fonts (Inter + Space Grotesk), updated component padding grids, refined dashboard layout spacing for improved aesthetics, and managed dynamic visual feedback loops during async requests.
  • Decision Workflow Elements: Structured robust Decision form interfaces mirroring core workspace designs for seamless team activity coordination.

Backend

  • Jira API Integration: Orchestrated comprehensive OAuth scopes resolving Jira routing requests, safely managing local encryption for credentials across instances, and standardizing Sync Handlers to harvest Jira assignments into user dashboards.
  • SMTP & Email Notification Services: Developed dedicated email service hooks tying into password reset mechanics securely issuing tokens via direct emails to domains.
  • Auth System Maturation: Implemented extended profile API responses, augmented endpoint logging systems isolating malformed active sessions handling 400 vs 401 states gracefully, and enforced robust logout cookie invalidation patterns.
  • Refined Data Integrations: Scoped GitHub integration tokens directly to contextual Workspaces isolating scope access safely. Expanded additional OAuth pipeline connectors laying groundwork for impending Gmail parsing components.
  • Improved Security and Metrics Middleware: Layered comprehensive test coverage checks along routing matrices and installed native request logging channels feeding system observability.

Unit Tests

Frontend Tests

  • Components:
    • app.component.spec.ts
    • dashboard.spec.ts
    • login.spec.ts
    • profile.spec.ts
    • reset-password.spec.ts
    • workspace-integrations.spec.ts
    • workspace-members.spec.ts
    • accept-invitation.spec.ts
    • workspace.spec.ts
  • Routing & Services:
    • auth-guard.spec.ts
    • integration.service.spec.ts
    • search.service.spec.ts
    • signal.service.spec.ts
    • user-profile.service.spec.ts
    • workspace-member.service.spec.ts

Backend Tests

  • Handlers:
    • auth_test.go
    • coverage_routes_test.go
    • integrations_test.go
    • invitations_test.go
    • signals_test.go
    • workspaces_test.go
  • Middleware:
    • cors_test.go
    • roles_test.go
    • auth_test.go
  • Services & Utils:
    • github_coverage_test.go
    • github_test.go
    • mailer_test.go
    • sync_test.go
    • encryption_test.go
    • validation_test.go

Updated API Documentation

The backend implements the following public/protected endpoints mapping out the functional bounds of functionality provided:

Authentication & Public Routes

  • POST /api/signup: Register a new user profile
  • POST /api/login: Authenticate and obtain JWT
  • POST /api/logout: End active sessions and invalidate cookies
  • POST /api/forgot-password: Invoke SMTP flows transmitting reset token
  • GET /api/reset-password/: Validate current reset token integrity
  • POST /api/reset-password/: Issue mutated credentials securing the user object
  • GET /api/integrations/{slack,github,gmail,jira}/callback: OAuth callback endpoints handling multi-directional payloads

Protected Routes (Require Valid JWT Token)

Profiles

  • GET /api/protected: Debug authorization context confirmation
  • GET /api/profile: Retrieve existing active profile constraints
  • POST /api/profile: Mutate profile definitions

Workspaces

  • GET|POST /api/workspaces: Query list or create a main Workspace.
  • GET|PUT|DELETE /api/workspaces/{id}: Detailed operations for workspace lifecycle.

Invitations

  • GET /api/invitations/: Verify validity logic for invitations
  • DELETE /api/invitations/: Purge outstanding unresolved invites
  • POST /api/invitations/{id}/accept: Redeem workspace membership tokens

Signals

  • GET /api/signals: Bulk view active stream metrics mapped per session and workspaces
  • GET /api/signals/{id}: Retrieve detailed parameters per payload
  • POST /api/signals/{id}/read: Toggle visibility flag for interface read actions
  • POST /api/signals/{id}/archive: Soft-delete or flush out specific signal bounds

Integrations (OAuth Configuration)

  • GET /api/integrations: Display all authorized systems tethered to the workspace
  • DELETE /api/integrations/: Purge core linked configurations implicitly
  • DELETE /api/integrations/{provider}: Distinctly unlink localized domains
  • GET /api/integrations/status: Integration sanity status probe
  • GET /api/integrations/{slack,github,gmail,jira}/auth: Begin explicit outbound OAuth redirection loops
  • GET /api/integrations/{github,jira}/sync: Re-sync components directly overriding schedule maps
  • GET /api/integrations/github/repos: Query bounded application properties locally mapped
  • GET /api/integrations/slack/channels: Return authorized communication arrays
  • GET /api/integrations/jira/projects: Detail configured Jira system spaces

Webhooks

  • POST /api/webhooks/github: Internal endpoint fielding standard issue/PR structures mapping normalized signals.