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
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
## 📜 $\textsf{\color{salmon}{List\ of\ updates}}$

### $\textsf{\color{skyblue}2026/04/28}$

$\textsf{[v2.0.5\ =>\ {\textbf{\color{brown}v2.0.7}]}}$ app
- $\textsf{\color{orange}Patch:}$ Updated
+ automatic scroll-to-top via withInMemoryScrolling parameter in provideRouter of app.config
+ email text of default answer for user offer

<br>

### $\textsf{\color{skyblue}2026/04/26}$

$\textsf{[v2.0.2\ =>\ {\textbf{\color{brown}v2.0.5}]}}$ app
$\textsf{[v2.0.2\ =>\ v2.0.5]}$ app
- $\textsf{\color{orange}Patch:}$ Updated
+ SSR configuration by removing settings and package due to wrong creation
+ loading behaviour by initializing theme and default background color
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yqni13 | $\texttt{\color{seagreen}{TAXI-VARGA}}$
### $\textsf{\color{brown}{v2.0.5}}$
### $\textsf{\color{brown}{v2.0.7}}$

<br><br>

Expand Down Expand Up @@ -236,11 +236,10 @@ $ npm run lint
## 📈 $\textsf{\color{salmon}Updates}$
[see changelog for all updates](CHANGELOG.md)

$\textsf{[v2.0.2\ =>\ {\textbf{\color{brown}v2.0.5}]}}$ app
$\textsf{[v2.0.5\ =>\ {\textbf{\color{brown}v2.0.7}]}}$ app
- $\textsf{\color{orange}Patch:}$ Updated
+ SSR configuration by removing settings and package due to wrong creation
+ loading behaviour by initializing theme and default background color
- $\textsf{\color{red}Bugfix:}$ Navigating to service works as expected. [Before: Service was navigating back to overview when no previous page was navigated (entering from 'home' or after refresh). Fixed by manually setting a previous URL.]
+ automatic scroll-to-top via withInMemoryScrolling parameter in provideRouter of app.config
+ email text of default answer for user offer

<br>

Expand Down
4 changes: 2 additions & 2 deletions backend/src/models/mailing.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class MailingModel {
: `Sehr geehrter Herr ${data.lastName}!`;
}

return `\n${introduction}\nVielen Dank für Ihre Anfrage bei taxi-varga.\nWir werden uns sobald wie möglich bei Ihnen melden!\n\nBitte antworten Sie NICHT auf dieses automatische Mail.\n`
return `\n${introduction}\nVielen Dank für Ihre Anfrage bei taxi-varga.\nWir werden uns sobald wie möglich bei Ihnen melden!\n\nBitte antworten Sie NICHT auf dieses automatische Mail.\n\nMöchten Sie Ihre angefragte oder bestätigte Beförderungsfahrt stornieren, dann benachrichtigen Sie mich ehest möglich per Mail unter laszlovarga@gmx.at oder über Telefon: +436644465466`
}

configEmailConfirmEN(data) {
Expand All @@ -153,7 +153,7 @@ class MailingModel {
: `Dear Mr. ${data.lastName}!`;
}

return `\n${introduction}\nThank you for your inquiry at taxi-varga.\nWe will get back to you as soon as possible!\n\nPlease DO NOT reply to this automatic mail.\n`
return `\n${introduction}\nThank you for your inquiry at taxi-varga.\nWe will get back to you as soon as possible!\n\nPlease DO NOT reply to this automatic mail.\n\nIf you wish to cancel your requested or confirmed transport, please notify me as soon as possible by mail at laszlovarga@gmx.at or via phone: +436644465466`
}

configEmailBodyDE(data) {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/models/meta.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MetaModel {
"author": "yqni13",
"environment": Secrets.MODE,
"maintenance-code": Secrets.MAINTENANCE_CODE,
"version": "2.0.5",
"version": "2.0.7",
};
}
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, ElementRef, Inject, OnInit, DOCUMENT } from '@angular/core';
import { NavigationStart, Router, RouterOutlet } from '@angular/router';
import { NavigationEnd, Router, RouterOutlet } from '@angular/router';
import { NavigationComponent } from './common/components/navigation/navigation.component';
import { FooterComponent } from './common/components/footer/footer.component';
import { SnackbarComponent } from './common/components/snackbar/snackbar.component';
Expand Down Expand Up @@ -34,7 +34,7 @@ export class AppComponent implements OnInit {
private readonly router: Router,
) {
this.router.events.subscribe(event => {
if(event instanceof NavigationStart) {
if(event instanceof NavigationEnd) {
this.navigation.scrollToTop(this.scrollAnchor, this.document);
// destroy session (token) leaving a service mask
const servicePaths = Object.values(ServiceRoute) as string[];
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ApplicationConfig, importProvidersFrom, inject, provideAppInitializer, provideZoneChangeDetection } from '@angular/core';
import { PreloadAllModules, provideRouter, withPreloading } from '@angular/router';
import { PreloadAllModules, provideRouter, withInMemoryScrolling, withPreloading } from '@angular/router';
import { routes } from './app.routes';
import { provideClientHydration } from '@angular/platform-browser';
import { HttpClient, provideHttpClient, withFetch, withInterceptors } from '@angular/common/http';
Expand All @@ -20,7 +20,11 @@ export const appConfig: ApplicationConfig = {
const themeHandler = inject(ThemeHandlerService);
themeHandler.initTheme();
}),
provideRouter(routes, withPreloading(PreloadAllModules)),
provideRouter(
routes,
withPreloading(PreloadAllModules),
withInMemoryScrolling({scrollPositionRestoration: "top"})
),
provideClientHydration(),
provideHttpClient(
withFetch(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,17 @@ export class NavigationComponent implements OnInit {
protected routes: Route[];
protected preloadImages: string[];
protected isPreloading: boolean;

protected deviceMode: DeviceOptions;

private maxMobileWidth: number;
private window: any;
private isLocalStorageAvailable: any;

constructor(
private readonly router: Router,
private readonly navigation: NavigationService,
@Inject(DOCUMENT) private document: Document,
private readonly assetPreload: AssetsPreloadService,
) {
this.isLocalStorageAvailable = typeof localStorage !== 'undefined';

this.window = this.document.defaultView;
this.maxMobileWidth = 1024;
this.routes = [];
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/modules/imprint/imprint.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class ImprintComponent implements OnInit, OnDestroy {

this.devData = {
project: 'taxi-varga',
version: 'v2.0.5',
version: 'v2.0.7',
github: 'https://github.com/yqni13/taxi-varga/tree/production',
portfolio: 'https://yqni13.com',
contact: BaseRoute.SUPPORT
Expand Down
Loading