]> juplo.de Git - demos/kafka/chat/log
demos/kafka/chat
2 weeks agofeat: `user.component` handels errors frontend
Kai Moritz [Mon, 13 Oct 2025 20:19:41 +0000 (22:19 +0200)]
feat: `user.component` handels errors

2 weeks agofeat: If not known, an existing user can be selected or a new one created
Kai Moritz [Sun, 12 Oct 2025 20:23:00 +0000 (22:23 +0200)]
feat: If not known, an existing user can be selected or a new one created

* Introduced the method `setUser(id: string)` in `UserService`.
* The method fetches the user from the backend and remembers it.
* Also updated the pact between the `UserService` and the
  `ChatBackendController`.
* Remodeld the `user.component` accordingly.

2 weeks agofeat: Introduced method `createUser()` in `UserService`
Kai Moritz [Sun, 12 Oct 2025 07:20:07 +0000 (09:20 +0200)]
feat: Introduced method `createUser()` in `UserService`

* The method requests the creation of a new user and remembers the created
  instance of `User`, if the requests ist successful.
* The remembered `User` can be retrieved via `UserService.getUser()`.
* Also added a pact between the `UserService` and the
  `ChatBackendController`, that formulates the expectations of the
  `UserService`, that are not implemented yet by the backend.

2 weeks agofix: HTTP-errors are communicated via the field `status`
Kai Moritz [Sun, 12 Oct 2025 17:26:13 +0000 (19:26 +0200)]
fix: HTTP-errors are communicated via the field `status`

2 weeks agofix: The backend comunnicates errors as `application/problem+json`
Kai Moritz [Sun, 12 Oct 2025 17:24:57 +0000 (19:24 +0200)]
fix: The backend comunnicates errors as `application/problem+json`

2 weeks agofeat: `ChatroomService` remembers the current `Chatroom`
Kai Moritz [Sun, 12 Oct 2025 11:18:19 +0000 (13:18 +0200)]
feat: `ChatroomService` remembers the current `Chatroom`

2 weeks agorefactor: Prepared for version V2 of `ChatroomService`
Kai Moritz [Sat, 11 Oct 2025 22:24:31 +0000 (00:24 +0200)]
refactor: Prepared for version V2 of `ChatroomService`

2 weeks agofeat: Shared refined pact with provider
Kai Moritz [Sat, 11 Oct 2025 11:54:53 +0000 (13:54 +0200)]
feat: Shared refined pact with provider

2 weeks agofeat: Shared the refinements with the provider
Kai Moritz [Sat, 11 Oct 2025 20:38:33 +0000 (22:38 +0200)]
feat: Shared the refinements with the provider

2 weeks agorefactor: Shared the renamed pact
Kai Moritz [Sat, 11 Oct 2025 19:01:56 +0000 (21:01 +0200)]
refactor: Shared the renamed pact

2 weeks agofeat: Shared the refinements with the provider
Kai Moritz [Sat, 11 Oct 2025 18:34:53 +0000 (20:34 +0200)]
feat: Shared the refinements with the provider

2 weeks agofeat: Shared a first version of the pact
Kai Moritz [Sat, 11 Oct 2025 13:27:24 +0000 (15:27 +0200)]
feat: Shared a first version of the pact

2 weeks agochore: Moved generated pacts into a GIT-submodule
Kai Moritz [Sat, 11 Oct 2025 13:24:14 +0000 (15:24 +0200)]
chore: Moved generated pacts into a GIT-submodule

2 weeks agotest: Formulated more expections for the pact
Kai Moritz [Sat, 11 Oct 2025 12:37:50 +0000 (14:37 +0200)]
test: Formulated more expections for the pact

2 weeks agorefactor: Removed barrel-file for app
Kai Moritz [Sat, 11 Oct 2025 12:06:17 +0000 (14:06 +0200)]
refactor: Removed barrel-file for app

2 weeks agorefactor: switched back to simpler syntax with `lastValueFrom()`
Kai Moritz [Sat, 11 Oct 2025 11:53:24 +0000 (13:53 +0200)]
refactor: switched back to simpler syntax with `lastValueFrom()`

2 weeks agorefactor: pact-tests returns a promise
Kai Moritz [Sat, 11 Oct 2025 11:18:18 +0000 (13:18 +0200)]
refactor: pact-tests returns a promise

2 weeks agotest: Intorduced a pact for ChatroomService
Kai Moritz [Sat, 4 Oct 2025 15:57:26 +0000 (17:57 +0200)]
test: Intorduced a pact for ChatroomService

2 weeks agofeat: Extracted configurable properties
Kai Moritz [Fri, 10 Oct 2025 14:05:22 +0000 (16:05 +0200)]
feat: Extracted configurable properties

2 weeks agorefactor: migrated the tests to jest
Kai Moritz [Fri, 10 Oct 2025 20:02:45 +0000 (22:02 +0200)]
refactor: migrated the tests to jest

* The https://thymikee.github.io/jest-preset-angular/docs[documentation from jest-preset-angular] was slightly outdated
* Therefore, the configuration was copied from the example https://github.com/thymikee/jest-preset-angular/tree/main/examples/example-app-v20[example-app-v20] of the sources (Version `v15.0.2`)
* The configuration of the example was simplified, using the setup `ems-isolated`
* A *Downgrad* was needed for Angular from `20.3.0` to `20.0.0`

2 weeks agostyle: Switched favicon to a minimized version of the logo
Kai Moritz [Fri, 19 Sep 2025 06:39:34 +0000 (08:39 +0200)]
style: Switched favicon to a minimized version of the logo

2 weeks agostyle: Added juplo-artwork
Kai Moritz [Fri, 19 Sep 2025 06:31:29 +0000 (08:31 +0200)]
style: Added juplo-artwork

2 weeks agorefactor: Introduced barrel-files
Kai Moritz [Thu, 18 Sep 2025 22:06:04 +0000 (00:06 +0200)]
refactor: Introduced barrel-files

2 weeks agorefactor: Moved model for `chatroom` into file `chatroom.model.ts` -- ALIGN
Kai Moritz [Thu, 18 Sep 2025 21:45:55 +0000 (23:45 +0200)]
refactor: Moved model for `chatroom` into file `chatroom.model.ts` -- ALIGN

2 weeks agorefactor: Moved model for `chatroom` into file `chatroom.model.ts` -- MOVE
Kai Moritz [Thu, 18 Sep 2025 21:45:49 +0000 (23:45 +0200)]
refactor: Moved model for `chatroom` into file `chatroom.model.ts` -- MOVE

2 weeks agorefactor: Aligned structure & code with a new 20.3.1-project -- ALIGN
Kai Moritz [Wed, 17 Sep 2025 20:50:01 +0000 (22:50 +0200)]
refactor: Aligned structure & code with a new 20.3.1-project -- ALIGN

5 weeks agorefactor: Aligned structure & code with a new 20.3.1-project -- MOVE
Kai Moritz [Thu, 18 Sep 2025 20:23:50 +0000 (22:23 +0200)]
refactor: Aligned structure & code with a new 20.3.1-project -- MOVE

5 weeks ago@angular/core migration - control-flow-migration
Kai Moritz [Wed, 17 Sep 2025 20:34:28 +0000 (20:34 +0000)]
@angular/core migration - control-flow-migration

Converts the entire application to block control flow syntax

5 weeks ago@angular/cli migration - use-application-builder
Kai Moritz [Wed, 17 Sep 2025 20:34:00 +0000 (20:34 +0000)]
@angular/cli migration - use-application-builder

Migrate application projects to the new build system. Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder. You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration

5 weeks ago@angular/cli migration - update-module-resolution
Kai Moritz [Wed, 17 Sep 2025 20:33:46 +0000 (20:33 +0000)]
@angular/cli migration - update-module-resolution

Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this, here: https://www.typescriptlang.org/tsconfig/#moduleResolution

5 weeks ago@angular/cli migration - previous-style-guide
Kai Moritz [Wed, 17 Sep 2025 20:33:46 +0000 (20:33 +0000)]
@angular/cli migration - previous-style-guide

Update workspace generation defaults to maintain previous style guide behavior.

5 weeks agoAngular CLI update for packages - @angular/cli@latest
Kai Moritz [Wed, 17 Sep 2025 20:33:45 +0000 (20:33 +0000)]
Angular CLI update for packages - @angular/cli@latest

5 weeks ago@angular/core migration - explicit-standalone-flag
Kai Moritz [Wed, 17 Sep 2025 20:00:57 +0000 (20:00 +0000)]
@angular/core migration - explicit-standalone-flag

Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone

5 weeks ago@angular/cli migration - use-application-builder
Kai Moritz [Wed, 17 Sep 2025 20:00:55 +0000 (20:00 +0000)]
@angular/cli migration - use-application-builder

Migrate application projects to the new build system. Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder. You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration

5 weeks ago@angular/cli migration - update-workspace-config
Kai Moritz [Wed, 17 Sep 2025 19:55:59 +0000 (19:55 +0000)]
@angular/cli migration - update-workspace-config

Update the workspace configuration by replacing deprecated options in 'angular.json' for compatibility with the latest Angular CLI changes.

5 weeks agoAngular CLI update for packages - @angular/cli@19
Kai Moritz [Wed, 17 Sep 2025 19:55:59 +0000 (19:55 +0000)]
Angular CLI update for packages - @angular/cli@19

5 weeks agoAngular CLI update for packages - @angular/cli@18
Kai Moritz [Wed, 17 Sep 2025 19:53:10 +0000 (19:53 +0000)]
Angular CLI update for packages - @angular/cli@18

5 weeks agorefactor: Migrated the project to standalone -- step 3
Kai Moritz [Wed, 17 Sep 2025 19:04:37 +0000 (21:04 +0200)]
refactor: Migrated the project to standalone -- step 3

prong generate @angular/core:standalone
? Choose the type of migration: Bootstrap the application using standalone APIs
? Which path in your project should be migrated? ./

5 weeks agorefactor: Migrated the project to standalone -- step 1
Kai Moritz [Fri, 19 Sep 2025 10:44:32 +0000 (12:44 +0200)]
refactor: Migrated the project to standalone -- step 1

ng generate @angular/core:standalone
? Choose the type of migration: Convert all components, directives and pipes to standalone
? Which path in your project should be migrated? ./

5 weeks agofix: Fixed compile issues after upgrade
Kai Moritz [Wed, 17 Sep 2025 19:22:12 +0000 (21:22 +0200)]
fix: Fixed compile issues after upgrade

5 weeks agoAngular CLI update for packages - @angular/cli@16
Kai Moritz [Wed, 17 Sep 2025 18:39:54 +0000 (18:39 +0000)]
Angular CLI update for packages - @angular/cli@16

5 weeks agoAngular CLI update for packages - @angular/core@16
Kai Moritz [Wed, 17 Sep 2025 18:34:48 +0000 (18:34 +0000)]
Angular CLI update for packages - @angular/core@16

5 weeks agofix: Fixed unit-tests
Kai Moritz [Tue, 16 Sep 2025 20:28:18 +0000 (22:28 +0200)]
fix: Fixed unit-tests

5 weeks agorefactor: Moved services & model into the according domains -- ALIGN
Kai Moritz [Tue, 16 Sep 2025 20:14:01 +0000 (22:14 +0200)]
refactor: Moved services & model into the according domains -- ALIGN

5 weeks agorefactor: Moved services & model into the according domains -- MOVE
Kai Moritz [Tue, 16 Sep 2025 20:14:01 +0000 (22:14 +0200)]
refactor: Moved services & model into the according domains -- MOVE

5 weeks agofix: Fixed handling of null-values for shard in chatroom-uri
Kai Moritz [Sat, 23 Sep 2023 09:12:12 +0000 (11:12 +0200)]
fix: Fixed handling of null-values for shard in chatroom-uri

5 weeks agofeat: An according `X-Shard` header is send, when a `ChatRoom` is requested
Kai Moritz [Sun, 15 Jan 2023 19:04:17 +0000 (20:04 +0100)]
feat: An according `X-Shard` header is send, when a `ChatRoom` is requested

5 weeks agofeat: Replaced `EventSource` by @microsoft/fetch-event-source
Kai Moritz [Sat, 14 Jan 2023 20:15:31 +0000 (21:15 +0100)]
feat: Replaced `EventSource` by  @microsoft/fetch-event-source

- EventSource lacks the posibility to set a request-header.
- The library is a replacement for the browser-side, that uses the Fetch API.
- https://www.npmjs.com/package/@microsoft/fetch-event-source

5 weeks agorefactor: Adjusted the chatroom-service to the changed URI's
Kai Moritz [Sat, 14 Jan 2023 19:26:57 +0000 (20:26 +0100)]
refactor: Adjusted the chatroom-service to the changed URI's

5 weeks agostyle: Fixed code-style in `chatroom.component.ts`
Kai Moritz [Sat, 7 Jan 2023 18:46:57 +0000 (19:46 +0100)]
style: Fixed code-style in `chatroom.component.ts`

5 weeks agofix: Chatroom stops listening, when destroyed
Kai Moritz [Sat, 7 Jan 2023 18:45:48 +0000 (19:45 +0100)]
fix: Chatroom stops listening, when destroyed

5 weeks agofix: Chatroom redirects to chatrooms, if the chatroom-id is missing
Kai Moritz [Sat, 7 Jan 2023 18:44:03 +0000 (19:44 +0100)]
fix: Chatroom redirects to chatrooms, if the chatroom-id is missing

2 years agochore: Enabled strict-null-checks
Kai Moritz [Sat, 7 Jan 2023 18:40:29 +0000 (19:40 +0100)]
chore: Enabled strict-null-checks

2 years agofeat: Implemented automatic reconnection in chatroom-service
Kai Moritz [Sat, 7 Jan 2023 17:16:06 +0000 (18:16 +0100)]
feat: Implemented automatic reconnection in chatroom-service

2 years agofeat: Stiched in the juplo-Logo
Kai Moritz [Sat, 7 Jan 2023 16:18:01 +0000 (17:18 +0100)]
feat: Stiched in the juplo-Logo

2 years agorefactor: Switched from Bootstrap 3.4.1 to Bootstrap 5.2.3
Kai Moritz [Sat, 7 Jan 2023 15:42:42 +0000 (16:42 +0100)]
refactor: Switched from Bootstrap 3.4.1 to Bootstrap 5.2.3

2 years agofeat: The chatroom-components listens to the SSE-stream of the chatroom
Kai Moritz [Sun, 25 Dec 2022 23:08:25 +0000 (00:08 +0100)]
feat: The chatroom-components listens to the SSE-stream of the chatroom

2 years agofeat: Added a chatroom component, that is navigatable by the chatroom's ID
Kai Moritz [Sun, 25 Dec 2022 22:03:47 +0000 (23:03 +0100)]
feat: Added a chatroom component, that is navigatable by the chatroom's ID

2 years agofeat: A Username must not be empty
Kai Moritz [Sun, 25 Dec 2022 21:53:18 +0000 (22:53 +0100)]
feat: A Username must not be empty

2 years agofeat: Added validation for the "Pick Name"-form
Kai Moritz [Sun, 25 Dec 2022 21:35:36 +0000 (22:35 +0100)]
feat: Added validation for the "Pick Name"-form

2 years agofeat: Switched styling to Bootstrap and applied basic stylings
Kai Moritz [Sun, 25 Dec 2022 20:54:51 +0000 (21:54 +0100)]
feat: Switched styling to Bootstrap and applied basic stylings

2 years agofeat: Added a user-service, that asserts, that a user is known
Kai Moritz [Sun, 25 Dec 2022 15:13:13 +0000 (16:13 +0100)]
feat: Added a user-service, that asserts, that a user is known

2 years agofeat: The available chatrooms are fetched and displayed in a component
Kai Moritz [Sun, 25 Dec 2022 01:21:49 +0000 (02:21 +0100)]
feat: The available chatrooms are fetched and displayed in a component

2 years agofeat: Renamed app, added styles from the heroes-tutorial
Kai Moritz [Sun, 25 Dec 2022 01:20:53 +0000 (02:20 +0100)]
feat: Renamed app, added styles from the heroes-tutorial

2 years agofeat: Generated an empty Angular 15.x App
Kai Moritz [Tue, 20 Dec 2022 17:17:49 +0000 (18:17 +0100)]
feat: Generated an empty Angular 15.x App