Skip to main content

changelog.md for @in.work/in.work

2025-12-07 - 1.2.0 - feat(comments)

Add comments subsystem: backend models & routes, realtime events, UI components, and tooling updates

  • Backend: new Comment model with CRUD helpers, soft-delete/restore, mention and card-link parsing, and card comment count updates
  • API: added comment routes (list/create/update/delete) and autocomplete endpoints for member/card suggestions; router registers comment routes
  • Realtime: added comment events (comment:created, comment:updated, comment:deleted) and broadcast helpers in RealtimeService
  • UI: added comment components (CommentList, CommentItem, CommentInput) and integrated comments into CardDetail; ApiService client methods for comments and suggestions
  • UI library integration: migrated many form controls and buttons to @design.estate/dees-catalog components and added CUSTOM_ELEMENTS_SCHEMA where required
  • Styling & build: added Tailwind (tailwind.config.js), PostCSS config, updated main.scss to include Tailwind base/components/utilities and dees-catalog theme overrides
  • Dependencies & tooling: bumped @design.estate/dees-catalog, added clsx, tailwind-merge, tailwindcss, postcss, autoprefixer and updated pnpm lockfile; added "up" script to root package.json for updating UI deps
  • Models index and exports updated to include Comment; interfaces extended with IComment and related types

2025-12-06 - 1.1.0 - feat(api)

Add full REST API, core models, auth, realtime and sync services

  • Add API router and modular route handlers for authentication, organizations, projects, boards, columns, cards, connections and tokens
  • Implement AuthService with JWT access/refresh tokens, session management, registration and OAuth flows
  • Add core models: User, Session, ApiToken, Board, Card, Organization, ExternalConnection and related model helpers
  • Introduce RealtimeService (WebSocket) for presence, typing indicators and broadcast events
  • Add PermissionService for RBAC resolution and NotificationService (email templates / placeholders)
  • Implement connection/webhook endpoints and ExternalConnection model to support external sync providers
  • Seed default admin in DB initialization and provide DB connection singleton (db.ts)
  • Expose shared TypeScript interfaces under ts/shared and update UI API client mapping for getOrganization

2025-12-06 - 1.0.0 - BREAKING CHANGE(auth)

Auto-login on registration and align frontend API responses

  • Backend: after successful user registration the server now attempts to auto-login the user and returns accessToken, refreshToken and sessionId along with an enriched user object (avatarUrl, isPlatformAdmin). The registration flow captures IP and User-Agent for session creation. This changes the auth response shape (no more success/expiresIn).
  • Frontend (UI): auth.service.ts updated to expect accessToken/refreshToken/sessionId, removed reliance on response.success/expiresIn and now schedules token refresh with a fixed 15-minute interval. Login/register flows updated to set auth from the new token response.
  • Frontend (API client): organizations endpoints updated to map the API's organization payload shape (displayName -> name, plan typing), and createOrganization now posts displayName+slug fields and maps the returned organization object to the frontend model.
  • Config: Angular CLI analytics disabled in ui/angular.json.
  • Tests / tooling: Playwright screenshots (test artifacts) were added under .playwright-mcp.
  • Compatibility note: The auth and some API response shapes changed — clients relying on the old fields (e.g. response.success or expiresIn, or older organization JSON shapes) will need updates.

2025-12-06 - 0.2.0 - feat(ui)

Add full Angular frontend, embed built UI into backend, and implement core realtime/sync/services

  • Add a complete Angular 19 frontend (ui/) with routes and many standalone components: login, register, dashboard, organization, project, board, card detail, settings, sidebar, toasts and shared layout/styles.
  • Introduce client-side services and utilities: ApiService, AuthService, RealtimeService, ToastService, and HTTP auth interceptor for the UI.
  • Add build/dev orchestration: top-level package.json (concurrently), ui/package.json, angular.json, tsconfig, proxy.conf.json and deno.json script updates for build, watch and bundle tasks.
  • Add scripts/bundle-ui.ts to embed compiled Angular UI files into a generated TypeScript module (ts/embedded-ui.generated.ts) and a watch mode for live rebundling.
  • Serve embedded UI from the backend: ts/inwork.ts now uses getEmbeddedFile/hasEmbeddedFiles, serves embedded assets with SPA fallback, and retains a dev console fallback page (with WebSocket hot-reload UI).
  • Large backend additions and enhancements: expanded ApiRouter routes, AuthService, RealtimeService, PermissionService, NotificationService, SyncEngine and Gitea provider, and many SmartData models (users, sessions, boards, columns, cards, memberships, card links, history, tokens, auth providers, oauth state, board shares, etc.).
  • Database init now seeds a default admin user when needed (db init), and models include rich public info/CRUD helpers and lifecycle hooks.
  • UI styling and theme: add ui/src/styles/main.scss with design system, utilities and animations.

2025-12-06 - unknown - initial

Initial commit: project scaffold and first files.

  • Repository initialized.
  • Initial project structure and placeholder files added.