[ Enhancement ] Add Array field to include custom labels, such as `TEC`, `iVenture`, `Zero2One`, etc.
Closed this issue · 1 comments
daviskeene commented
Description
The startup directory is all about visibility into entrepreneurship. To encourage this, we want to make it so that when users are scrolling through the directory, they can see all of the entrepreneurship resources that are available to them. To do this, let's create an Enum
that contains a few values for labels that define Startup Ecosystems at UIUC. Next, we'll create a new Array
field that stores a list of these Enum
s, and render these custom labels on the corresponding OrgCard
.
Steps to Solve
- Modify
models/Org.js
to create a newEnum
with a few entrepreneurship resources on campus. A few good places to start areTEC
,iVenture
,Zero2One
, andFounders
. (We could also do54
andForge
). - Include a new
Array
/Set
field that will store a list of theseEnum
s. - Modify
components/Form.js
to include a way for startups to select from these fields. The correspondingArray
field in theOrg
document should be updated to contain a list of all selected values. - Modify
components/OrgCard.js
to display newTags
if these properties exist for Organizations.
Definition of Done
This issue will be marked as Closed
when a PR is approved that accomplishes the following:
- A startup can click on their
Account
and select from a set of values that represent the organizations that they're part of / resources that they've used. - These new properties are displayed on their
OrgCard
.
SirajChokshi commented
Maybe we can use an array/set that is backed by an enum instead of adding more boolean fields to be more scalable 👍