Giter Club home page Giter Club logo

vue-users's Introduction

GitHub dependabot GitHub last commit GitHub issues GitHub forks GitHub stars GitHub watchers

Vue Users

Image of App Vue Users

๐ŸŽฏ Description

Vue Users is an application that obtains a list of random users from an API and print the information.

It has 3 views: the home, the user list and the user detail. There are several buttons with different actions to delete, hide and select random users. By clicking on a user you can see the complete information of the selected user, this page has a map made with Google Maps or Leaflet.

๐Ÿ—๏ธ Developed with

Is developed with Vue 2 a Javascript framework, use Vue Cli and has dependencies as Vue Router, Vue Leaflet and Google Maps.

๐Ÿš€ Commands

Install dependencies

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Prettier

Format js, json and vue files with Prettier
npm run prettier:fix

Stylelint

Catches bugs, enforces conventions and sorts properties of css, scss, sass and vue files with Stylelint
npm run stylelint:fix

Eslint

Find and fix bugs of js, json and vue files with EsLint
npm run eslint:fix

Publish in Github Pages

npm run deploy

vue-users's People

Contributors

beatrizsmerino avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vue-users's Issues

Change the position of the user map

image

image
image

Hi, I want to give another aspect to the user detail page:

  • I would like to put the map to the right of the user data, as I show in the screenshot.
  • For the structure I want 'user-detail' and 'user map' to be inside the 'inner' div as shown in the screenshot.
  • The map and the user's details must have the same height.
  • And for smaller screens place user-details and user-map one below the other.
  • Reduce the elements of 'user-detail' with vh units for show data at all times for screens bigger than lg.

Requirements:

  • Please do not rename or move the files.
  • Please just keep the same indentation and nomenclature that is in the whole project (lint, prettir, BEM...)
  • Use vh sizes and reduce the size of the text inside 'user-detail__content' and the image 'user-detail__image'.
  • For the responsive design use the mixin media -> @include media("lg").
    image

If you have any questions, do not doubt to ask

Change the `user-buttons` styles to make the mobile version simpler and more compact.

Task

Change the user-button styles to make the mobile version simpler and more compact.

To make this change:

  1. Go to the UserButttons.vue file located in the ./src/components/User/ folder.
  2. See the CopePen reference styles
  3. Update the styles for the media query 'md' (Using the mixin @include media('md') {})

Reference

See the following styles in this link to CopePen, as a reference for a similar result:
https://codepen.io/abxlfazl/pen/VwKzaEm

image

Screenshots

Current desktop version

image

Current mobile version

image

Show API data well

In the view users the street information is not showing well. It looks in json format. I think the API changed because it didn't look like this before.

I need solved as the second screenshot.

To do it create a branch with the name of hotfix/api, I am using git flow.
The command it is:
git flow hotfix start api

image

image

There is also another error, when the page reloads stops working.

Captura de pantalla 2019-10-17 a las 6 33 00

Thanks!!

When reloading the browser page disappear the user/s data

BUG DESCRIPTION

When reloading the browser page an error occurs:

  1. If you are on the user page, the user data is lost.
  2. If you are on the user page and recharge you are redirected to the user page.
    In the browser path you can see how the name of the user you were viewing disappears.

SCREENSHOTS

image
image
image
image

SOLUTION

I think that in order to fix it, the data obtained should be saved in the Local Storage.

Scroll problem loading component

When you scroll down in the user list and click on one the user (more info) the detail user component loads in the middle of the screen.
It is necessary that when loading the component resets the scroll and starts at the top of the page.

Screenshot_1

Google maps need a key for create it custom

In the view users the map is not showing. Ask for the key. How can I display a custom map without a key to test as a developer?

To do it create a branch with the name of hotfix/map, I am using git flow.
The command it is:
git flow hotfix start map

Captura de pantalla 2019-10-17 a las 6 28 38

Create a dark/light switch theme with css variables

Tasks:

  • Create a new component vue called SwitchTheme.
  • Create the structure as used in this repo: git-bible
    image
  • Places the SwitchTheme inside the PageHeader, to the right of the navigation menu.
    image
  • The SwitchTheme adds a css class is-theme-dark or is-theme-light to the html tag for overwrides the elements of the page.
    image
  • Overwrite the background-color, color and fill css properties for the dark mode, inside each component

Important

  • For the colors use scss variables and scss functions as mix($color-white, $color-brand-1, 90%).
  • When finished, execute the command npm run lint to format the code.

Designs

SwitchTheme component

is-theme-light

image

is-theme-dark

image

Pages is-theme-dark

Home

image

Users

image
image

User

image

Vulnerabilities in the Dependabot alerts

image

Hi! I need help to remove these annoying security alerts on the dependencies.
I would like to upgrade the packages to a stable version.

Security Alerts:

  • ansi-regex
  • nth-check
  • set-value
  • ansi-html

Many of these alerts indicate this to me:
โš  Dependabot cannot update set-value to a non-vulnerable version

I don't know if I should:

  1. update the stable version you indicate me, manually in the package-lock.json file.
  2. Install it as a dependency so that it appears in the package.json file with npm install.
  3. Search for a more stable version of the package or its dependencies.

I appreciate any PR and advice

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.