ghostfolio/DEVELOPMENT.md
Thomas Kaul b8626c2086
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
2023-10-21 10:25:05 +02:00

971 B

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

Rebase

git rebase -i --autosquash main

Dependencies

Nx

Upgrade

  1. Run yarn nx migrate latest
  2. Make sure package.json changes make sense and then run yarn install
  3. Run yarn nx migrate --run-migrations

Prisma

Access database via GUI

Run yarn database:gui

https://www.prisma.io/studio

Synchronize schema with database for prototyping

Run yarn database:push

https://www.prisma.io/docs/concepts/components/prisma-migrate/db-push

Create schema migration

Run yarn prisma migrate dev --name added_job_title

https://www.prisma.io/docs/concepts/components/prisma-migrate#getting-started-with-prisma-migrate