Skip to content

Tags: paastech-cloud/website

Tags

iter-0

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
feat(api): link projects functionalities (#18)

* feat(api): change types according to api + fetch /projects & /status & zustand store for projects

* refactor(api): separate helpers into multiple methods

* cut(store): remove `projects` from store because unused

* chore: change path to helper getAllProjectsStatus + remove log

* feat(api): fetch project details with store

* feat(store): calling api directly from the store

* fix(api): fix merge ApiProject -> Project for ConfigType

* feat(dashboard): button disabled depending on ProjectStatus

* fix(store): use new action from useProjectStore + use toast

* feat(store): save Environment variables with action from the store + toast

* feat(api): fetch project's logs

* fix(api): update to latest api openapi spec

* feat(api): action on deploys

* fix(ui): placeholder for logs

- when project is not running
- or no logs are returned

* feat(api): add delete project method

* fix(ui): infinite logs refetch, causing errors

* feat(ui): add loading state to login/register form

* feat(ui): update links in menu & navbar

* feat(ui): tutorial if not project in list

* fix(ui): update links & redirection on logout

* feat(ui): add momentjs for humanized dates