Skip to content

Conversation

@Darren52BT
Copy link
Collaborator

No description provided.

Darren52BT and others added 30 commits October 24, 2023 00:03
implementing fetch after search bar button is clicked, response is wacky because of "no-cors", looking into enabling cors
* global header (search functionality pending)

* search bar + useState Hook implemented
* global header (search functionality pending)

* implementing fetch

implementing fetch after search bar button is clicked, response is wacky because of "no-cors", looking into enabling cors

* added cors middleware for server, implement query string for title

* Update header

* commit again

* m

* merge with new server update and fetch function

* fixing commit

* random notes

* reformat

* fix conflict

* search bar design complete (rendering article searh page pending)

* fetch works with searchbar

* search bar + useState Hook implemented

* add DescriptionBox.js

* working on routing and creating two pages (article search results and artive view pages)

* search bar and article list working

* search result

* linked description box now brings to url based on id

* fixed error displaying article list page

* fixed issue with displaying article list page

* change title query to title that contains string

* fetching single article data from article list

* moved code to articleview.js

* removed mdbreact

* adapted to not use mdbreact col

---------

Co-authored-by: davidgit3000 <[email protected]>
Co-authored-by: CerealAaa <[email protected]>
Co-authored-by: Patrick Nguyen <[email protected]>
Co-authored-by: jdang9191 <[email protected]>
* implemented BodySection component, fixed header-marker from disappearing at smaller screen widths

* refactored body content into a separate component and used body content component with header component to create section body component
* create topic list component

* fixed conflicts
* implemented BodySection component, fixed header-marker from disappearing at smaller screen widths

* refactored body content into a separate component and used body content component with header component to create section body component

* completed basic structure and font sizes

* adapted article components to not use container

* added key to topic list
* finished image banner

* merged dev

* finished image banner

* fix merge
* implemented BodySection component, fixed header-marker from disappearing at smaller screen widths

* refactored body content into a separate component and used body content component with header component to create section body component

* completed basic structure and font sizes

* adapted article components to not use container

* added key to topic list

* implemented styling for table of contents

* * finished image banner

* merged dev

* finished image banner

* fix merge

* refactored body content into a separate component and used body content component with header component to create section body component

* completed basic structure and font sizes

* adapted article components to not use container

* implemented styling for table of contents

* completed merge, removed redundant scss
* implemented BodySection component, fixed header-marker from disappearing at smaller screen widths

* refactored body content into a separate component and used body content component with header component to create section body component

* completed basic structure and font sizes

* adapted article components to not use container

* added key to topic list

* finished related topics component
pv-nguyen and others added 29 commits May 30, 2024 03:09
add image Storage file
getting a user now requires authentication and it will only return information for the user for which the token belongs to
created new bookmark endpoints
created a new optionalAuth middleware which adds a user to the request body if the request was sent with a token
altered current GET articles endpoints to add bookmarked property to articles requested with a token
Make some changes about .env and connection refused
fix some issues
small change
Make some changes regarding connecting backend/frontend
…d up bookmarks/profiles (#58)

* added basic editorjs page

* added block limiting

* refactored article editor data into one state, created adding body sections

* add form to editor page

* separated placeholder ui from editorjs components for now

* starting code for drag drop

* implemented solution for visually rendering body section swaps + refactored datatransfer of index

* implemented visuals for drag drop icon

* created article editor hook for create, edit, delete

* removed local storage lines from article editor hooks

* Updates to UI of body section and creation of MyArticles page

* added basic routes for creating/editing/publishing/unpublishing articles

* updated routes and pages to reflect changes to user tables

* Updated hooks to match with routes and updated My Article Page to use hooks

* Integrated cloudinary in profile routes, set up edit profile routes and integrated with frontend

* added toasts to profile page for success/errors

* updated header to reflect avatar changes

* changed block limits for editors, refactored body section data to use UUIDs to mitigate the constant rerenders

* created basic EditorJS parser and implemented basic preview for article editor

* added article image to preview

* Finished styling for article editor "edit" page

* updated routes to store images

* Added image previews and minor style changes

Style changes made to:
- article preview
- article editor
- my articles
- header

* fixed multiple bugs with routes, integrated with frontend, updated editor components to support repopulating with retrieved article data

* added some toast messages, article validation to edit/post routes, fixed bug with delete route

* fixed bug with delete route

* refactored tableofcontents and added into article preview

* added publish_date to articles, integrated article data with results/article page

* Added preview images to block parser, floating buttons for article editor, routes to my-articles page buttons

Minor changes:
- cursor when hovering over preview image
- added my articles to profile menu

* added article processing to GetMyArticles route

* created frontend folder for admin portal

* added admin to run dev script

* Fixed my articles page to show correct dates

* added basic routes for admin portal

* implemented admin frontend design

* added admin database checks in middleware + added article search route

* added login form, integrated login routes into admin frontend

* added alternate home page for when admin is signed out

* implemented search users and articles routes into admin frontend

* integrated admin routes, added loading spinner to admin frontend

* added and integrated loading spinner to frontend

* added and integrated route for changing password in the edit profile page

* implemented article and user data routes to admin frontend

* added route for getting all admins

* Fixed click navigation on users and articles list views

* Separated users/articles dashboard and implemented protected routes

* Implemented URL search parameters to maintain search state

* implemented and integrated bookmark routes

* implemented article likes and comments tables and triggers for counts, implemented liking/unliking routes, refactored article routes to apply middleware individually to avoid unintentional middleware conflicts between routes

* implemented comment routes

* added id to comments that are retrieved

* implemented admin routes for comments

* Visual fix for save/create button when minimizing

* Integrated article comments and likes into the frontend

* Integrated likes and comments into article results and home page articles

* Integrated user's comments into admin frontend

* fixed bug with avatar in header, added back optionalAuth middleware to some article routes, added isLiked to article results and updated like counts to like/unlike routes

* added avatar to admin user routes and updated in admin frontend

* Added comment sorting by newest/oldest, delete button for comment authors, and fixed article bug when logged out

* Added style changes to article view to make it centered

* fixed bug that limited article search to users own articles

* accounted for case insensitivity in article searching, user token not attaching properly on searching

* increase header char limit

---------

Co-authored-by: unknown <[email protected]>
Co-authored-by: Kristie Lee <[email protected]>
Co-authored-by: Kristie Lee <[email protected]>
Co-authored-by: Kristie Lee <[email protected]>
@Darren52BT Darren52BT merged commit f541cf1 into main Aug 8, 2025
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.

9 participants