Feature/change fees interest and search to general availability (#2525)

* Change features to general availability

* Fees on account level
* Interest on account level
* Search for a holding

* Update changelog

* Add documentation for experimental features
pull/2527/head
Thomas Kaul 1 year ago committed by GitHub
parent a59f9fa037
commit b8626c2086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Moved the fees on account level feature from experimental to general availability
- Moved the interest on account level feature from experimental to general availability
- Moved the search for a holding from experimental to general availability
- Improved the error message in the activities import for `csv` files - Improved the error message in the activities import for `csv` files
- Removed the application version from the client - Removed the application version from the client
- Allowed to edit todays historical market data in the asset profile details dialog of the admin control panel - Allowed to edit todays historical market data in the asset profile details dialog of the admin control panel

@ -1,5 +1,17 @@
# Ghostfolio Development Guide # Ghostfolio Development Guide
## Experimental Features
New functionality can be enabled using a feature flag switch from the user settings.
### Backend
Remove permission in `UserService` using `without()`
### Frontend
Use `*ngIf="user?.settings?.isExperimentalFeatures"` in HTML template
## Git ## Git
### Rebase ### Rebase

@ -164,10 +164,10 @@ export class UserService {
let currentPermissions = getPermissions(user.role); let currentPermissions = getPermissions(user.role);
if (!(user.Settings.settings as UserSettings).isExperimentalFeatures) { if (!(user.Settings.settings as UserSettings).isExperimentalFeatures) {
currentPermissions = without( // currentPermissions = without(
currentPermissions, // currentPermissions,
permissions.accessAssistant // permissions.xyz
); // );
} }
if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) { if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) {

@ -21,10 +21,7 @@
>Stocks, ETFs, bonds, cryptocurrencies, commodities</small >Stocks, ETFs, bonds, cryptocurrencies, commodities</small
> >
</mat-option> </mat-option>
<mat-option <mat-option value="FEE">
*ngIf="data.user?.settings?.isExperimentalFeatures"
value="FEE"
>
<span><b>{{ typesTranslationMap['FEE'] }}</b></span> <span><b>{{ typesTranslationMap['FEE'] }}</b></span>
<small class="d-block line-height-1 text-muted text-nowrap" i18n <small class="d-block line-height-1 text-muted text-nowrap" i18n
>One-time fee, annual account fees</small >One-time fee, annual account fees</small
@ -36,10 +33,7 @@
>Distribution of corporate earnings</small >Distribution of corporate earnings</small
> >
</mat-option> </mat-option>
<mat-option <mat-option value="INTEREST">
*ngIf="data.user?.settings?.isExperimentalFeatures"
value="INTEREST"
>
<span><b>{{ typesTranslationMap['INTEREST'] }}</b></span> <span><b>{{ typesTranslationMap['INTEREST'] }}</b></span>
<small class="d-block line-height-1 text-muted text-nowrap" i18n <small class="d-block line-height-1 text-muted text-nowrap" i18n
>Revenue for lending out money</small >Revenue for lending out money</small

Loading…
Cancel
Save