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

Company show page FE #18

Closed
4 of 6 tasks
epintozzi opened this issue Dec 4, 2024 · 0 comments
Closed
4 of 6 tasks

Company show page FE #18

epintozzi opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@epintozzi
Copy link
Contributor

epintozzi commented Dec 4, 2024

A logged-in user should be able to view the saved details of the companies they have saved, including links to the company's website and individual contacts (with placeholders until the contact show pages are ready). This issue will break down the tasks into manageable steps for implementation.

Details
The company url should link out to the companies website in a new tab. The other contacts at this company should link out to those individual show pages (eventually - those views might not exist yet). Hint: You might need to note a blocker here OR create a new issue that tells us to convert those to links after the show views are completed. I'd lean towards the second option personally.

Detailed view:
Image

Empty State
Image

  • Create Saved Companies View for Logged-In User
    Task: Create a new page or component that displays the list of companies the user has saved.

Acceptance Criteria:

  • The page shows the saved companies of the logged-in user.

  • Each company displays relevant details, such as the company name, website URL, and contact list.

  • Company URL Link
    Task: Make the company URL clickable and open the company’s website in a new tab.
    Acceptance Criteria:

  • The company’s website URL is shown as a clickable link.

  • When the user clicks the URL, it opens the company website in a new tab.

  • Ensure the link opens correctly and is styled appropriately.

  • Contacts at the Company
    Task: Display contacts for each company, showing their names, titles, and roles.
    Acceptance Criteria:

  • A list of contacts for each company is displayed.

  • Each contact’s name

  • Link Contacts to Individual Show Pages (Placeholder for Now)
    Task: Create placeholder links for each contact that will eventually link to their individual show pages.
    Acceptance Criteria:

  • Each contact has a placeholder link next to their name (e.g., “View Profile” or a similar label).

  • These links currently point to a placeholder or a dummy route until the contact show pages are built.

  • Ensure these links are styled consistently, such as with a button or underlined text.

  • Handle Empty State for No Saved Companies
    Task: Display a clear empty state message if the user has no saved companies.
    Acceptance Criteria:

  • If the user has no saved companies, an empty state message is shown.

  • The message should clearly indicate that no companies are saved, with a possible prompt to encourage adding a company (e.g., "No companies saved. Start by adding your favorite companies!").

  • Testing Links and Functionality
    Task: Test the functionality of the company website links and contact links (placeholder).
    Acceptance Criteria:

  • Clicking the company URL should open the website in a new tab.

  • Clicking on the placeholder contact links should not break the app and should navigate to a dummy or placeholder route for now.

@epintozzi epintozzi moved this to Backlog in Tracker CRM Dec 4, 2024
@epintozzi epintozzi moved this from Backlog to Todo in Tracker CRM Dec 9, 2024
@epintozzi epintozzi moved this from Todo to In Progress in Tracker CRM Dec 10, 2024
@jimmacur jimmacur moved this from In Progress to Todo in Tracker CRM Dec 10, 2024
@MDelarosa1993 MDelarosa1993 moved this from Todo to In Progress in Tracker CRM Dec 13, 2024
@jimmacur jimmacur changed the title Company show page Company show page FE Dec 16, 2024
@jimmacur jimmacur moved this from In Progress to Ready for Review in Tracker CRM Dec 20, 2024
@CCirbo CCirbo moved this from Ready for Review to Done in Tracker CRM Jan 6, 2025
@CCirbo CCirbo closed this as completed by moving to Done in Tracker CRM Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants