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

Rented Devices View should show Expiration Date #6

Open
christroutner opened this issue Jul 12, 2018 · 2 comments
Open

Rented Devices View should show Expiration Date #6

christroutner opened this issue Jul 12, 2018 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@christroutner
Copy link
Contributor

The scope of this issue is to create a PR for adding the expiration date to the rendedDeviceItem component in the Rented Devices view. The feature has these parts:

  1. The expiration date is stored in the public device model. This information is automatically retrieved from the server and populated into the Vuex store in the state.ownedDevices object when the user logs in. That information is for devices owned by the user. The logic for that feature can be copied to retrieve data on devices rented by user.

  2. The expiration date should be displayed prominently, in the location indicated by the screenshot below. It would be nice if the expiration date changed color, based on the amount of time till the expiration date is reached. An idea: red for less than 24 hours, orange for less than 4 days, and green for anything greater than 4 days.

@christroutner
Copy link
Contributor Author

image

@christroutner
Copy link
Contributor Author

Instructions for interacting with the Rented Devices view can be found in the July 2018 video:
https://p2pvps.org/july-2018-project-update/

@christroutner christroutner added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant