Social Network Template Reference
  • Welcome
  • Feature List
  • Quickstart Guide
  • GENERAL INFORMATION
    • Data Structure
    • Design & Layout
      • Styles
      • Homepage content and logos
      • Pages, groups, and popups
      • Padding
    • Functionality
      • Emails
      • Alerts
      • Hidden variables popup
  • ASSETS
    • Pages
      • index
      • search
      • feed
      • profile
      • login and loginsimple
      • owner
      • dashboard
      • termsofservice
      • privacypolicy
      • reset_pw
      • 404
      • standardpage
    • Reusables
      • header
      • footer
      • signup/login
      • popupsreusable
      • editpopupsreusable
      • menufocusgroup or Menu options (︙)
      • cookiespermission
      • homepageblocks
      • owner's portal reusables
        • ownerdashboard
        • ownergeneralsettings
        • ownerseosettings
        • ownersocialmediasettings
        • ownersocialmediainfo
        • ownerlegalpages
        • ownerhomepagesetup
        • ownerstyles
        • ownerfeaturebacklog
      • createpost
      • nestedcomments
      • postcell
      • messagesnotifcation
      • friendrequestnotification
    • API Workflows
Powered by GitBook
On this page
  • Profile Page Overview
  • Key Workflows
  • Key Elements

Was this helpful?

  1. ASSETS
  2. Pages

profile

Page containing information for a user

PreviousfeedNextlogin and loginsimple

Last updated 6 years ago

Was this helpful?

Profile Page Overview

This page contains the user's basic information and allows users to send a friend request to that page's user. Contains the and reusables. This page is only available to logged in users.

Key Workflows

Button Add Friend is clicked and Search for… is empty

  • This is triggered if there is not an existing friend request between these two users

  • Creates a new Friendship and effectively sends a friend request to this page’s user

Button Add Friend is clicked and Search for… is not empty

  • This is triggered if this page’s user already has a friend request out to the current user

  • Updates the relevant Friendship instance and adds the users to each other’s Friends field. It is important to update the Friends lists when accepting a friend request

Button Remove Friend is clicked

  • Undoes the friendship. Deletes the Friendship instance and removes the users from each other’s Friends field

Button Send Message is clicked

  • Sends a message to the user - creating a new Thread if one does not already exist between the two users - and navigates Current User to that chat thread on the page

Key Elements

RepeatingGroup Posts

  • Contains the list of Posts created by that page’s user, with the newest posts appearing at the top

RepeatingGroup Friends

  • Contains the list of friends (Users) for that page’s user. This group shows only the first 6 of the user’s friends

RepeatingGroup Friends (All)

  • Contains the entire list of friends (Users) for that page’s user. This interface is only accessible if the page’s user has more than 6 friends

Group Buttons Main

  • Contains buttons for the primary actions the user can take on this page

  • Only accessible if the current user is friends with this page's user

createpost
postcell
dashboard