freeCodeCamp / chapter

A self-hosted event management tool for nonprofits
BSD 3-Clause "New" or "Revised" License
1.92k stars 360 forks source link

feat(ui): adding link to event page from chapter dashboard #2384

Closed sneha-afk closed 1 year ago

sneha-afk commented 1 year ago

Co-authored by: dianachu18 and jamesrcramos

Closes #1941

Events have two pages, their dashboard and their public page. Previously, clicking on the event name within the chapter dashboard lead to the event dashboard (/dashboard/events/${id}). The event name is now plain text, and two buttons have been added: one to lead to the dashboard (/dashboard/events/${id}) and another to lead to the public page (/events/${id}). The page has been re-formatted to use a Grid component instead of a Flex component.

The page containing these changes is:

/dashboard/chapters/${id}

The file containing these changes is:

client/src/modules/dashboard/shared/components/EventList.tsx

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/freeCodeCamp/chapter/2384/abd57f34/9e4ab5b31fa2404221b785e8a092a7146968f9b0.svg)](https://app.codesee.io/r/reviews?pr=2384&src=https%3A%2F%2Fgithub.com%2FfreeCodeCamp%2Fchapter) #### Legend ![CodeSee Map Legend](https://app.codesee.io/Legend_v2.png)
gikf commented 1 year ago

Hey @sneha-afk,

could you confirm how many people were involved in this PR as a first-time contributors and are needed to be added to the contributors?

sneha-afk commented 1 year ago

Hello @gikf , we worked as a group of 3: myself, @dianachu18 and @jamesrcramos. Thank you!

gikf commented 1 year ago

@all-contributors please be so kind and: add @dianachu18 for code.

allcontributors[bot] commented 1 year ago

@gikf

I've put up a pull request to add @dianachu18! :tada:

gikf commented 1 year ago

Welp

@all-contributors please add @jamesrcramos for code.

allcontributors[bot] commented 1 year ago

@gikf

I've put up a pull request to add @jamesrcramos! :tada:

gikf commented 1 year ago

@all-contributors please add @sneha-afk for code.

allcontributors[bot] commented 1 year ago

@gikf

I've put up a pull request to add @sneha-afk! :tada: