{"action":"created","issue":{"url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/317","repository_url":"https://api.github.com/repos/OriginProtocol/origin-dapp","labels_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/317/comments","events_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/317/events","html_url":"https://github.com/OriginProtocol/origin-dapp/pull/317","id":343478099,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMTAyMzE0","number":317,"title":"Fractional usage UI - Initial Work","user":{"login":"jordajm","id":5402813,"node_id":"MDQ6VXNlcjU0MDI4MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5402813?v=4","gravatar_id":"","url":"https://api.github.com/users/jordajm","html_url":"https://github.com/jordajm","followers_url":"https://api.github.com/users/jordajm/followers","following_url":"https://api.github.com/users/jordajm/following{/other_user}","gists_url":"https://api.github.com/users/jordajm/gists{/gist_id}","starred_url":"https://api.github.com/users/jordajm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordajm/subscriptions","organizations_url":"https://api.github.com/users/jordajm/orgs","repos_url":"https://api.github.com/users/jordajm/repos","events_url":"https://api.github.com/users/jordajm/events{/privacy}","received_events_url":"https://api.github.com/users/jordajm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-23T03:47:51Z","updated_at":"2018-07-23T23:53:12Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/OriginProtocol/origin-dapp/pulls/317","html_url":"https://github.com/OriginProtocol/origin-dapp/pull/317","diff_url":"https://github.com/OriginProtocol/origin-dapp/pull/317.diff","patch_url":"https://github.com/OriginProtocol/origin-dapp/pull/317.patch"},"body":"### Checklist:\r\n\r\n- [x] Test your work and double check you didn't break anything\r\n\r\n### Description:\r\nThis is finally ready for review. \r\n\r\nApologies to the reviewers for the size of this PR - I kept wanting to merge but I didn't want to submit anything that was truly \"broken\" since this can't be easily hidden once it's released, and I'm just now getting everything pretty much working - with quite a few caveats. \r\n\r\n#### This PR includes:\r\n- Seller's calendar (daily calendar for Housing and hourly calendar for Services)\r\n- Buyer's calendar (visible on listing detail pages)\r\n- Seller's \"edit listing\" workflow (currently only accessible via an \"edit\" button on listing detail pages)\r\n- Updates to schemas\r\n\r\nI'm making progress toward matching [Aure's designs](https://app.zeplin.io/project/59fa2311bac7acbc8d953da9?seid=5b1826bd16e713444156ae61) (which are still a WIP) but some styling stuff is hard and time consuming in the calendar components, so it's not pixel perfect yet.\r\n\r\n#### Testing Hints\r\n- Create a Housing listing (notice daily availability calendar)\r\n- Create a Services listing (notice hourly availability calendar)\r\n- As a seller, view the listings you created and use the new \"edit\" button to update a listing\r\n- As a buyer, view the listings you created and book a time slot using the calendar on the Listing Detail page\r\n\r\nHere's my current fractional usage to-do list, which I'll continue working through in other (smaller) PRs:\r\n\r\n```\r\n- /update/:listingId route should check to make sure user is listing’s seller before rendering for security purposes\r\n- seller’s calendar - pressing back button breaks calendar functionality\r\n- buyer’s hourly calendar - show price of each slot in the slot \r\n- seller’s hourly (and maybe daily) calendar shouldn’t allow user to create overlapping events \r\n- seller’s hourly calendar - hide price and show “unavailable” if slot is unavailable\r\n- implement recurring events for events that occur at the same day/time every week\r\n- in seller’s view, using date dropdowns creates duplicate event\r\n- seller’s steps are different for fractional listings\r\n- buyer’s steps may be different for fractional listings\r\n- localization of calendar strings\r\n- seller’s hourly calendar - add dropdown menus to change selected start/end dates\r\n- seller’s calendar - implement custom radio button styles for availability toggle\r\n- make hourly calendar scroll to about 8am on page load instead of showing midnight - 9am\r\n- seller’s hourly calendar - customize styling of data select carat per zeplin\r\n- buyer’s and seller’s calendar - pressing enter key while dates are selected should “submit” form\r\n- buyer’s calendar - style “unavailable” message to look more like error message\r\n- buyer’s calendar - clicking “cancel” should remove highlighting from selected cells\r\n- add hover state to calendar time slots to emphasize interactive features\r\n- add link to \"edit listing\" workflow on \"my listings\" list\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/comments/407235998","html_url":"https://github.com/OriginProtocol/origin-dapp/pull/317#issuecomment-407235998","issue_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/317","id":407235998,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzIzNTk5OA==","user":{"login":"tyleryasaka","id":6504519,"node_id":"MDQ6VXNlcjY1MDQ1MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/6504519?v=4","gravatar_id":"","url":"https://api.github.com/users/tyleryasaka","html_url":"https://github.com/tyleryasaka","followers_url":"https://api.github.com/users/tyleryasaka/followers","following_url":"https://api.github.com/users/tyleryasaka/following{/other_user}","gists_url":"https://api.github.com/users/tyleryasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tyleryasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyleryasaka/subscriptions","organizations_url":"https://api.github.com/users/tyleryasaka/orgs","repos_url":"https://api.github.com/users/tyleryasaka/repos","events_url":"https://api.github.com/users/tyleryasaka/events{/privacy}","received_events_url":"https://api.github.com/users/tyleryasaka/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T23:53:12Z","updated_at":"2018-07-23T23:53:12Z","author_association":"MEMBER","body":"I will leave this one to you for review @micahalcorn unless you need help from me."}}
{"actor":{"display_login":"tyleryasaka"}}