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

S2 us 21 #39

Open
wants to merge 105 commits into
base: main
Choose a base branch
from
Open

S2 us 21 #39

wants to merge 105 commits into from

Conversation

YoungkoonLi
Copy link
Contributor

User story 21 test pull

PattyNagatani and others added 30 commits October 3, 2022 17:18
Updated repository structure so that we can use the same setup throughout the sprints
Updated Club Schema to include owner, clubTags and list of members.
Updated User schema to include password and user role
Feed post retrieval in newest first order (/feed)
Feed post retrieval in newest first order (/feed)
Merge pull request #7 from UTSCCSCC01/User-Story-1.2
Update Branch to match changes
commit 389a56e
Merge: 1594fb6 537169a
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 17:43:10 2022 -0400

    Merge pull request #4 from UTSCCSCC01/Develop

    Develop

commit 537169a
Merge: a84b9c2 a42fd4b
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 17:41:58 2022 -0400

    Merge pull request #3 from UTSCCSCC01/zeneo's-branch

    Zeneo's branch

commit a42fd4b
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 17:40:57 2022 -0400

    Verify club search when posting

commit 6529981
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Fri Sep 30 20:16:55 2022 -0400

    Created post schema in database and basic post functions
commit 93d0d71
Merge: 389a56e 8dd0845
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 18:37:12 2022 -0400

    Merge pull request #7 from UTSCCSCC01/User-Story-1.2

    Feed post retrieval in newest first order (/feed)

commit 8dd0845
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 18:35:19 2022 -0400

    Feed post retrieval in newest first order (/feed)

commit 389a56e
Merge: 1594fb6 537169a
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 17:43:10 2022 -0400

    Merge pull request #4 from UTSCCSCC01/Develop

    Develop

commit 537169a
Merge: a84b9c2 a42fd4b
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 17:41:58 2022 -0400

    Merge pull request #3 from UTSCCSCC01/zeneo's-branch

    Zeneo's branch

commit a42fd4b
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 17:40:57 2022 -0400

    Verify club search when posting

commit 6529981
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Fri Sep 30 20:16:55 2022 -0400

    Created post schema in database and basic post functions
commit 93d0d71
Merge: 389a56e 8dd0845
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 18:37:12 2022 -0400

    Merge pull request #7 from UTSCCSCC01/User-Story-1.2

    Feed post retrieval in newest first order (/feed)

commit 8dd0845
Author: Zeneos <95008961+Zeneos@users.noreply.github.com>
Date:   Mon Oct 3 18:35:19 2022 -0400

    Feed post retrieval in newest first order (/feed)
…unfollow clubs and it be updated to the database
CAT 49 - Added a follow and unfollow button allowing users to follow/…
-Created post UI and fetching posts from the DB
-Changed the UI of navbars
-Added the ability to user to retrieve posts
-Changed the UI of the Navbars
Updated frontend with simple form to test backend submission
And added a mock links to redirect instead of a navbar for tests as well
Updated the create club component to fix functions to create a club.
 - URL was directing to PORT 3000
 - HandleChange function was wrong
 - Renamed name to clubName to be more intuitive
CAT-9-US-8 - completed the filtering of feed so that users can only s…
- Changed /clubs/testClub to pull from /feed instead of /posts to better implement backend functions

- Added basic documentation for models and routes for backend code (feel free to update with more extensive documentation)
- Actual documentation content
- Implemented delete user by id function in users.js to better match other models

- Added documentation for user delete function
- Implemented function to query users by username to assist in
…t, record keeping)

- Implemented function to query users by username to assist in group join functions
- Implemented function to delete users from database by id (convenience)
- Documentation for both functions
CAT-4/US-3 --- Implemented user functions
- Implemented public field (bool) in posts schema determining if a post is for everyone or those in the group only

- Implemented feed sorting where feed now checks if posts are public before displaying

- Implemented feed sorting where feed checks if a user is following a group and displays private posts from said group

- Documentation updated
CAT-2/US-1 --- Public/Private group posts feed sorting
MarioLiao and others added 30 commits October 18, 2022 18:46
…also removed some hard code that was used previous for testing
…tend part for clubs and posts, changed some styling, and adjusted /search backend code for axios

-Reorganized code, so that all jsx code for the Top Navbar is in the separate Top_Navbar.js component, not in App.js anymore
-Created Search_bar.js component, which gets as a prop a function, running when form is submitted
-Added functions to search for
(a)posts by post title In clubs-feed.js component,
(b) clubs by club name in clubs-list.js component
They are passed as props to Search_bar.js
-Changed clubs-feed.js and clubs-list.js components, so that they also render Search_bar.js
-Added same tailwind styles to div container of clubs-list.js as clubs-feed.js had
-Adjusted some backend code in search/posts and search/groups, so that it works with my axios requests from frontend
-Removed some console.log() statements, used for past debugs
- Added tag searching to default title search function (no impact on current frontend)

- Added search input getting from either query or body

- Tag search returns results that include ALL given tags

- Removed duplicate delete function

- Updated relevant documentation
…o-use-the-search-functionality-to-find-groups/clubs,-users,-posts.-Frontend-part
…-able-to-use-the-search-functionality-to-find-groups/clubs,-users,-posts.-Frontend-part

US-9 Reorganised components, created search functionality on the frontend part for clubs and posts, changed some styling
Added a link to the Club Name on clubs list to lead user to specific club id url
+ Started skeleton for club page
+ Removed console log test from clubs.js
…h bar flexibility

-Made new App.js route for "users", on which users-list.js component renders
-Created new component users-list.js, which renders user_list-element.js elements when the search is done
-Created user_list-element.js component, which is responsible for the style of users data rendered
-Changed Search_bar.js component, so that now placeholder variable can be passed to it
-Renamed route to the feed from "/clubs/testClub" to '/clubs/create'
Added a form to create a post inside club page
+ Cleaned the whitespace/commented on App.js
+ Added ClubPage Route
+ Fixed link to direct to specific club page
+ Added function to retrieve current club id page
+ Removed commented code on  Create Club Component
…-able-to-use-the-search-functionality-to-find-groups/clubs,-users,-posts.-Frontend-part

US-9 Search functionality for users search (frontend part) + new Search bar flexibility
- Fixed an issue with search returning incorrect information
…ing component for that

-Made new component clubs-list-search-interface.js, through which user can search for clubs both by club name and tags
…e-to-search-clubs-by-predefined-tags,-so-that-I-can-filter-clubs-of-my-interest.-Frontend-part
…-be-able-to-search-clubs-by-predefined-tags,-so-that-I-can-filter-clubs-of-my-interest.-Frontend-part

US-19 Can search clubs by tags now (frontend part) and created searching component for that
Now the Club Page gets all posts that are from that specific page
+ Added a /:clubName/Posts router on clubs.js
+ Minor changes on syntax and removing console.log
Added Post Method to add posts from a specific club page
+ Added a filter that only the owners of the club will be able to see the post form submission
Us 22 Club Page + Posts submission
Added button to lead user to specific club page
Only owners can submit posts
Get posts that belong to that specific club
Sprint 2 US 21: fixed edit_club-component.js errors"
Sprint 2 US 21: rewrote rendering for login.
Sprint 2 US 21: fixed Login component export error.
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

Successfully merging this pull request may close these issues.

5 participants