Commit graph

19 commits

Author SHA1 Message Date
Ruidy
719455da07
📋 Forms (#16)
* chore: add url type on input and enable autocomplete

* style: fix textarea and date picker font bug
2020-06-04 08:09:00 +02:00
Ruidy
8cf1f1f577
🏗 Folder Structure and General Refactoring (#15)
* refactor: AddEducation folder

* refactor: AddExperience folder

* refactor: separate Dashboard Buttons, Experience section

* refactor: add Dashboard Education section

* refactor: Developers  folder

* refactor: EditProfile folder

* refactor: use React.memo

* refactor: Post folder

* refactor: Posts folder

* refactor: Profile folder

* refactor: delete useless store/auth folder
2020-06-02 22:49:13 +02:00
e67047fa46 fix: use current user info when writing a comment 2020-06-02 14:12:37 +02:00
88efe1a33b fix: prevent a user to like a post multiple times 2020-06-02 14:04:16 +02:00
Ruidy
be59fa12aa
🐙 Fetch GitHub Repos (#14)
* edit package.json

* eslint

* fetch git repos

* create repo array on fetch

* update repo array on profile edit

* edit profile presentation

* show only public repos

* repo link target blank
2020-06-02 13:44:23 +02:00
07e7aef540 pwa 2020-05-20 22:04:00 +02:00
1d03d6ccbd repo link target blank 2020-05-20 18:18:12 +02:00
Ruidy
191130a7ad
🐙 GitHub (#13)
* edit package.json

* eslint

* fetch git repos

* create repo array on fetch

* update repo array on profile edit

* edit profile presentation
2020-05-20 18:12:25 +02:00
Ruidy
4880d2853d
📬 Post (#12)
* update deploy test

* switch picture to avatarUrl; addLike and removeLike methods placeholders

* fix signup bug

* fetch posts from db, can post and like posts

* fetch posts from db, can post and like posts

* add params to post route

* connect to redux store

* can add comments
2020-05-20 15:07:55 +02:00
3c00f9e999 fix profiles bug in production by removing misplaced comment 2020-05-17 19:41:55 +02:00
Ruidy
309ee76a32
📑Profile list (#11)
* edit github workflows

* document Altert type

* add firestore reducer

* connect developers profile to store

* switch picture field to avatarUrl

* handle document uid

* add param to profile route

* use id parameter for profile

* redirect to notfound page if dev is null

* wait for profile to be loaded before displaying profile

* add Dev class, IDev interface, remove blankDev and getDescription method

* profile-top

* format social links

* profile-about

* profile description

* add placeholders to profile

* alt tag on placeholders

* deploy.yml
2020-05-17 19:15:27 +02:00
Ruidy
9e30322ffc
📊Dashboard (#7)
* connect Dashboard to store

* delete account button logs out...

* buttons routing functional

* refactor enhance to store

* use an enum for routes and statuses

* add statuses enum and enable EditProfile Form

* conditional display of social links

* Links type,

* display alert on EditProfile form submit

* refactor extract alert interface

* update useForm hook to handle checkboxes

* enable add education form

* enable add experience form

* add blank dev Profile on signup

* enable delete credential button

* delete account set profile to inactive

* add isActive field to dev, checks for user existance on sign up to not overwrite inactive profiles
2020-05-16 14:17:37 +02:00
Ruidy
07dd7c5624
Signin (#6)
* install redux and set authSlice

* connect navBar to the sotre

* create User type

* install react-redux-firebase

* bind to firebase

* connect App to firebase auth; display splash screen while loading auth state

* install firestore

* install firestore

* enable interactive form

* signup page functional

* fix navbar bug

* extract useForm hook

* extract Alert component

* sign in page functional

* commenting

* log out function

* add private route
2020-05-14 14:18:22 +02:00
Ruidy
7333e3474b
Redux (#5)
* install redux and set authSlice

* connect navBar to the sotre

* create User type

* install react-redux-firebase

* bind to firebase

* connect App to firebase auth; display splash screen while loading auth state

* install firestore

* install firestore

* refactor tests

* edit env variables in ci

* refactor tests

* refactor tests

* edit env variables in ci
2020-05-13 19:40:23 +02:00
Ruidy
1bde399408
Navigation (#4)
* specification test

* set public and private links sets based on authentication state

* enable frontend navigation

* set frontend link in sign in/up and landing pages

* refactor navbar tests

* style 404 page
2020-05-13 10:59:51 +02:00
Ruidy
cdba48cc72
General layout (#3)
* specify layout

* create components folder and Navbar

* create pages folder and Landing page component

* create Sign Up page component

* set basic routing

- install react-router-dom
- create Router folder and component

* add constant routes file

* verify all routes are accessible

* add signin page

* extract header component

* add developers page

* extract dev profiles

* extract DevSummary type

* update tests

* add types

* lay profile top and about out

* lay experience section out

- install moment
- define Experience interface
- define TimePeriod type & method

* lay education section out

- define education interface

* lay repos section  out

* add Dashboard page and test

* lay dashboard top section out

* [refactor] Experience.ts: change employer to company; move TimePeriod to its own file

* experience credential table in dashboard

* education credential table in dashboard

* dashboard done

* edit profile

* add experience page

* add education page

* create Comment and Post types; PostPage

* postpage

* posts page

* refactor
2020-05-12 23:09:40 +02:00
Ruidy
ef6d97f2fc
Create and style Landing page (#2)
* readme

* specify landing must show app name

* clean default project

* write landing page layout

* add static assets for styling

* add Landing page unit test
install fontawesome
2020-05-12 11:09:51 +02:00
8cc47c2f82 create React App with TypeScript 2020-05-12 09:41:58 +02:00
f1a9f722bc Initialize project using Create React App 2020-05-12 09:30:57 +02:00