Skip to content

Conversation

ofr1tz
Copy link
Collaborator

@ofr1tz ofr1tz commented Apr 27, 2023

With #611, the available project types are configurable. However, project type labels in TutorialList and ProjectDetails are still imported from utils/common.ts.

This PR fixes this issue by using the labels from projectTypes.ts instead and by removing the thus redundant projectTypeLabelMap.

It also introduces appropriate labels for the more generic webapp configuration project types and uses the more explicit value "webapp" instead of "crowdmap" to configure the project types for use of the manager dashboard with the web application. An example entry with explanation is added to .env.example.

ofr1tz added 4 commits April 27, 2023 15:52
uses project type labels from config in TutorialList and ProjectDetails
and removes redundant projectTypeLabelMap from utils/common.ts
…figuration

uses more appropriate labels for more generic webapp version project types
@ofr1tz ofr1tz requested review from Hagellach37 and a team April 27, 2023 14:38
@ofr1tz ofr1tz changed the base branch from dev to refactor-new-project-view-manager-dashboard June 7, 2023 08:42
@ofr1tz ofr1tz requested review from ElJocho and removed request for a team and Hagellach37 June 7, 2023 08:54
@ofr1tz ofr1tz merged commit 61b66c7 into refactor-new-project-view-manager-dashboard Jun 7, 2023
@ofr1tz ofr1tz deleted the project-type-labels-from-config branch June 7, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants