diff --git a/docs/index.md b/docs/index.md index 41c0550313..b96f4cd534 100644 --- a/docs/index.md +++ b/docs/index.md @@ -40,7 +40,7 @@ Developed internally by Open Technology Fund (OTF) and community partners, Hypha - Two-factor authentication is available to enhance your platform security. - **Your data is yours**. Hypha is self-hosted. This means that application data and all associated information is available on your own systems. -View our [Roadmap](https://github.com/HyphaApp/hypha/wiki/Roadmap) for upcoming features and enhancements. +View our [Roadmap](https://github.com/HyphaApp/hypha/projects?query=is:open) for upcoming features and enhancements. ## Hypha Community @@ -74,5 +74,5 @@ We are grateful to organizations that have chosen to implement Hypha and appreci ## Technology -* Built with [Django](https://www.djangoproject.com/), [PostgreSQL](https://www.postgresql.org/) and [Wagtail](https://wagtail.io/) +* Built with [Django](https://www.djangoproject.com/), [htmx](https://htmx.org), [PostgreSQL](https://www.postgresql.org/) and [Wagtail](https://wagtail.io/) * Deploy with [Heroku](./setup/deployment/production/heroku.md), [Docker](./setup/deployment/production/docker.md), or [your own server](./setup/deployment/production/stand-alone.md). diff --git a/hypha/apply/funds/workflows/definitions/__init__.py b/hypha/apply/funds/workflows/definitions/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/hypha/apply/funds/workflows/models/__init__.py b/hypha/apply/funds/workflows/models/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/hypha/apply/funds/workflows/registry.py b/hypha/apply/funds/workflows/registry.py index a6aabb213e..29785b407d 100644 --- a/hypha/apply/funds/workflows/registry.py +++ b/hypha/apply/funds/workflows/registry.py @@ -12,6 +12,7 @@ import itertools from collections import defaultdict +from typing import List from .definitions.double_stage import DoubleStageDefinition from .definitions.single_stage import SingleStageDefinition @@ -22,7 +23,7 @@ from .models.workflow import Workflow -def phase_data(phases): +def phase_data(phases: List[dict]) -> dict[str, Phase]: """ Transforms a workflow definition into a dictionary of Phase objects. @@ -30,8 +31,7 @@ def phase_data(phases): phases: A list of dictionaries defining the workflow phases and their configurations. Returns: - dict: A dictionary where keys are phase names and values are Phase objects, each initialized - with: + A dictionary where keys are phase names and values are Phase objects, each initialized with: - phase name - step number (order in workflow) - additional configuration data from the phase definition