Giter VIP home page Giter VIP logo

nexong_frontend's Introduction

Bluejay Dashboard Codacy Badge

Getting Started with NexONG_Frontend

This project was bootstrapped with Create React App.

Getting started

  1. Clone repository (in VSCode)
  2. Make sure you have installed: React extension in VSCode and Node.js in your computer
  3. Open folder and a new terminal
  4. Move to branch develop:
    git checkout develop
    
  5. Create your branch (Do not forget to write develop at the end):
    git checkout -b new-branch-name develop
    
  6. Install dependencies (make sure to install the material design last and to include the --legacy-peer-deps tag):
    npm install react-scripts
    npm install axios
    npm install react-big-calendar
    npm install react-toastify
    npm install react-youtube
    npm install iban
    npm install @testing-library/dom
    npm install @material-ui/core --legacy-peer-deps
    
  7. If you have any problem installing the dependencies try the tag --force.
  8. If you need to add any new dependency, please uninstall the material design like follows or include the --force tag when installing the new dependency
    npm uninstall @material-ui/core
    
  9. When installed, you can run the project with:
    npm start
    

Stylesheet

For every homepage screen has to start with the following Layout (title, description and image can be removed if intro = false):

<LayoutHomepage 
   title={titulo} 
   description={descripcion}
   image={imagen} // mirar las distintas imagenes en el intro-container de styles.css
   info={info}
   intro={false} // optional
   toastcontainer={true} //optional
 />   

For every profiles screens this is not needed but it is needed to call the component Layoutprofiles instead. Here is an example of screen Familias from admin, depending which screen modify the profile and selected parameters for the corresponding of your screen (you can see every screen name in MenuProfiles):

<LayoutProfiles profile={'admin'} selected={'Familias'}>
   /* Your content here */
</LayoutProfiles>

There are some fixed styles so it has a consistent style over every screen. Those styles are: h1, h2, h3, p, label, input, textarea, select


- IF NEEDED TO BE CHANGED CHANGE IT FOR YOUR SCREEN LIKE FOLLOWS:

.my-screen h1{
  color: white;
  font-size: 2rem;
}

This will just change the color and font size of the h1 but still use the rest of the styles for the h1 (f.e: font-family will be the same).

If you want to create a completely new style for a h1 on a specific screen, just create a new class and use it in the component. Like this:

.my-screen-h1{
  color: white;
  font-size: 2rem;
  text-align: justify;
}

IF THIS DOESN'T WORK, USE !IMPORTANT TO OVERRIDE THE STYLES OR WRITE INLINE STYLES ON YOUR HTML COMPONENTS.


- IF YOU NEED TO ADD A NEW BACKGROUND IMAGE FOR THE INTRO COMPONENT

Copy this and change the name as liked:

.intro-container.name::before {
  background-image: url('../logo/image-wanted.bmp');
}

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

nexong_frontend's People

Contributors

claugp06 avatar samrodman avatar marnunrey2 avatar manbarjim2 avatar ivaramlar avatar franciscorossor avatar fracalrod3 avatar felixogudiel avatar martaines avatar ahydul avatar pabpercab1 avatar

nexong_frontend's Issues

Feature/83-AdminProfile-Back-End

Describe the bug
The admin profile and update screen are not following the same strcuture as the other screens on admin. Also, the image of the user for updating the profile and the information it is not the same.
Instead of using not real data, use the information from the API of admin to update and see the data of the admin.
To Reproduce
Steps to reproduce the behavior:

  1. Go to AdminFamilie
  2. Click on 'Admin' in the header
  3. See the error

Expected behavior
The style should be respesct on the whole app and the use of diffent images it is not realistic. When you see the information a profile you should be able to update those and see that data.

Feature/87-Volunteers Formation

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The screen of volunteers formation should be access once the form of the volunteers it is completed. This screen should show the 3 different videos that the applicant for volunteer should watch.
Also create the second form needed for the volunteers and check if the first one works.

Describe alternatives you've considered
Not applicable
Additional context
Any doubt with the design have a look on the mock ups.

Feature/91-VolunteersAttendence

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The volunteer can see the event name and date of an event that she/he assist
Describe alternatives you've considered

Additional context
For style doubts you can always look the mockups.

Feature/52-asociationDropdown-1

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
Creation of the corresponding screens for the asociations dropdown more specifically: About us/ History/ Mision, Overview and values. In case of needing info use the one in the actual website from the NGO and followed the same style as the rest screens on the navbar and homepage.
Describe alternatives you've considered
Not applicable
Additional context
Not applicable

HotFix/Commit error

Describe the bug
One commit message in develop does not follow the rules and now it is causing merging problems,
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Fix/99-Agenda

Describe the bug
The agenda of 2030, the objetives in the PDF of the NGO it is not included it.

Expected behavior
The objetives should be included it

Additional context
Add any other context about the problem here.

Fix/62-Activities screens

Describe the bug
Screens from the Activities navigation bar not fixed to the new format.

Expected behavior
They all should match the format.

Feature/89-Volunteers Documentation

Is your feature request related to a problem? Please describe.
Once the volunteers have watched the 3 videos, it should access the Documentation screen.
Describe the solution you'd like
This screeen should show the documents needed to be completed by the applicant and once it is completed to send it to the backend.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Feature/51-volunteers

Is your feature request related to a problem? Please describe.
Not applicable

Describe the solution you'd like
Creation of the screen for the volunteers. This scren should contain a bit about the importnace of the volunteers and button for navigate to the form.
Describe alternatives you've considered
Not applicable
Additional context
Not applicable

Feature/92-Change favicon

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The favicon right now shown it is the one given by default by react. This issue objective consist on changing it so the our logo it is use instead.
Describe alternatives you've considered
Not applicable
Additional context
Not applicable

Fix/101-AdminFamilies

Describe the bug
The screen for families in the admin roles it is not working with the data from the backend.

Expected behavior
The screen should be connect it to the backend and show the data from it.
Screenshots
Not applicable
Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Fix/44-Home page

Describe the bug
The footer occupies most of the space of the screens.Also there is some info missing from the Home Page such as the botton for the volunteers form.
To Reproduce
Steps to reproduce the behavior:

  1. Go to '.Home page..'
  2. See error

Expected behavior
The footer should not occupied so much space in the screen.

Screenshots
image

Fix/88-Volunteers form

Describe the bug
The volunteers form should send the data to the backend.
The form it is created but the style it is not following the one from the mock up and also not data it is send.

Fix/42-register

Describe the bug
The content on the register screen should be in Spanish.Also the social log in with Google was not finished.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'navbar '
  2. Click on 'register'
  3. See error

Expected behavior
The content should be in Spanish and the social log in should be an option.
Screenshots
Not applicable
Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome, safari
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Feature/61-Landing Page

Improving and translating Landing Page to js doing what Claudia asks for:
· Responsive design
· Team Members
· Version links

Fix styles for admin

Describe the bug
Better styling for admin view

To Reproduce
Same as before

Expected behavior
A clear and concise style for all kind of windows.

Feature/97-Educators Component

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The aim of this issue it is to crete the components for the side menu and header for the educators screen.
Describe alternatives you've considered
In order to do that component will be created so it can be used and reused in the different screens as need it.
Additional context
Not applicable

Fix/82-Styles

Describe the bug
The styles on all the screens of the home page (does that can be access withou a log in) are not 100% responsive.
To Reproduce
Steps to reproduce the behavior:

  1. Go to home page
  2. Click on the screeen activities as an example
  3. Minimize the screen
  4. See error

Expected behavior
The container should not be blocking other content.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Feature/80-Navbar:Donations

Describe the solution you'd like
The aim of this issue it is to create the donations screen on the navbar.
The screen should:

  1. Have the option for puntual donations (see on the mockup)
  2. Option to create an account and became a partner, not consider at the moment the social log in.
  3. The data for any of the forms should be send to the backend.

Feature/40-Conection with the backend

Is your feature request related to a problem? Please describe.
Not applicable

Describe the solution you'd like
The connection between the back and front will be done by creating an environment for development and other for deployment.

Describe alternatives you've considered
None
Additional context
None

Feature/54-AsociationDropdown2

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
Creation of the screens where we are and colaboratin entities for the association dropdown. Please follow as an example of the style the one provided in home page and the info can be used from the actual web page of the NGO.
Describe alternatives you've considered
Not applicable
Additional context
Not applicable

Feature/86-VolunteersProfile

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The idea of this issue it is that the users log in as volunteers can see their profile information and update it. Use the volunteers API for it and you can use the same style and structure than in the admin screen
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
If there is any doubt of the style, you can have an overlook to the mockups

Feat/43-Side menu component

Is your feature request related to a problem? Please describe.
Create the lateral menu as a component to reuse it.
Describe the solution you'd like
The lateral menu should be a component which can be call in different screens. Do it in a way which it is not only reusable in admin but also in the different roles.
Describe alternatives you've considered
Not applicable

Additional context
Not applicable

Feature/90-VolunteersAgenda

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The volunteers should be able to see their weekly agenda with the information of the activity they could assist and join if they can go. Once a volunteer has sig in the data should be send to the backend and show in the calendar that the volunteer it is sign in for that activity
Describe alternatives you've considered
Not applicable
Additional context
Not applicable

Feature/81-Navbar suggestions

Describe the solution you'd like
The aim of this issue it is to create the suggestions screen. A form containing the name in a input box (not mandatory) and a input box for comments so that suggestions can be done.
The information inside the form of suggestion should reach the API of suggestions.
Describe alternatives you've considered
Not applicable

Additional context
Not applicable

Feature/53-AsociationTranparency

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
Creation of the association "transparencias" as requested by the NGO as it is mandatory for them to include it.
Describe alternatives you've considered
Not applicable
Additional context
Not applicable

Fix/84-Admin classes,projects and events

Describe the bug
The screen content it is not seen to the corresponding APIs.

Expected behavior
The admin should be able to create an event, project and class and this info should be saved on the backend
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Fix/39-styles

Describe the bug
The styles of the app are not responsive at the moment which causes an overlapping of the content of the page.
If you start the frontend, and minimize the tab you will see the problem.

Expected behavior
The page should adjust to different sides of screens.

Screenshots
image
Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome
  • Version [e.g. 22]

Smartphone (please complete the following information):
-Not applicable

Additional context
Nothing to add

Navbar-Register

Create the strcuture for the register while the backend creates the authentication system

Feature/85-LogIn

Is your feature request related to a problem? Please describe.
The log in form it is already created but not data it is processed through it.

Describe the solution you'd like
The idea it is to create a login (without the authentication) so that different roles can access their specific screens
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Admin-Families

Screen for the admin role with the info from the families.

Agenda 2030

Feature for a page with the NGO agenda for 2030

Feature/94-Creation volunteers component

Is your feature request related to a problem? Please describe.
The volunteers screen does not have a component for the side bar and header
Describe the solution you'd like
The idea it is to create a component for the side bar a volunteers header
Describe alternatives you've considered
Reusing the component on admin of the side menu and header
Additional context
Not applicable

Feature/50-Agenda2030

Is your feature request related to a problem? Please describe.
Not applicable

Describe the solution you'd like
As requested by the NGO a space in the nav bar it is required to include the 2030 Agenda.
Describe alternatives you've considered

Additional context

Fix/47-Admin view for families

Is your feature request related to a problem? Please describe.
This is a new issue to include a new branch for admin families since changes in rules of repo won't allow me to merge branch to develop

Describe the solution you'd like
This issue is to implement a view for admin of the families

Describe alternatives you've considered
I had another issue for this feature but I cannot merge the branch due to previous commits done in develop which do not follow conventional commits and where made before the workflow

Additional context
This is a test to see if I can do it without merging develop into branch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.