Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display users (frontend) #35

Open
FredrikEH opened this issue Oct 29, 2024 · 1 comment
Open

Display users (frontend) #35

FredrikEH opened this issue Oct 29, 2024 · 1 comment
Assignees

Comments

@FredrikEH
Copy link

EPIC: Dashboard - Student View

Requirements:
A logged in user should be able to see all users in a column list fixed under the search bar. The list of users should display their name and pfp with a button for each user (no inhearant functionality?). The list should be updated based on input from the search field above, so it functions as a display for all users, but also as search result

The design should adhere to the specs presented in Figma:
https://www.figma.com/design/j9QIHvgM0wOVw3xDe9KdWB/My-Copy%3A-Cohort-Manager-app---Designs?node-id=135-15021&node-type=frame

Plan:

  1. Create listItem and the list to contain each item.
    Example of listItem
export default function UserItem({
    userItem: { SomeInfoOrSomething }
}) {
    return (
        <li>
			//something which displays the users name
      </li>
    );
}

Example of list

  return (
    <ul>
      {contacts.map((userItem, i) => (
        <UserItem userItem={userItem} key={i} />
      ))}
    </ul>
  );
@amos1969
Copy link

Approved

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

No branches or pull requests

3 participants