View Code? Open in Web Editor
NEW
Your Office information... an example app showing how to use graph.microsoft.com with React, AD / Kurve, and Typescript
Home Page: http://johnshew.github.io/office-dashboard/public/
License: MIT License
TypeScript 1.96%
HTML 2.96%
JavaScript 95.07%
office-dashboard's People
office-dashboard's Issues
Enables you to get rid of sent and junk items
It would be nice for drivers if we had night mode styling (white/grey on black).
Close dashboard
Open it again
Expect: I stay logged in unless I explicitly logged out
Result: Forced to login
I sent myself an email with the following text:
This should look great .
Bill
Expect: text displays as sent
Result: looks like this:
Bill
. great This should look.
TSD is deprecated. Typings is the new hotness.
Enter an invalid login state (I had logged in to Microsoft elsewhere with my personal email address, which is not associated with Exchange)
Refresh the App
Expected: option to logout or login
Result: can't login with different account, and can't logout from current account. Dead in the water.
Run app on an empty inbox
Expect: Some positive feedback about what you're looking at, so that you know the app is functioning correctly.
Result: Three boxes in white, light grey, and dark grey. No text. Looks like something crashed.
Open error console
Open Settings dialog
Change Refresh interval
Expect: new timer set when Settings dialog is closed
Result: new timer set as soon as you finish typing, if not sooner
This is true for all the other settings too.
Add debug logger, e.g. *_console.log("subject:", subject); *_to MessageView.render
View error console
Refresh app
Click on message
Expect: one log entry for the message in question
Result: thirteen (13) log entries for the message in question
Run the app, login
Resize the window, making it narrower and wider
Expect: message list to either have a fixed width, or a minimum width that expands with the window width
Result: width goes through a number of gyrations
This will let us do a better job gathering data and sending it down through the component tree.
We've seen a couple of reports where the bootstrap styles have failed to load. Recommend we switch to use the same version hosted on the CloudFlare CDN.
Run office-dashboard without having to login to an Exchange server, using a set of test data.
Send yourself an email that is just plain text, with blank lines, e.g. "first\n\nsecond\n\nthird"
Expect: show blank lines between the lines
Result: shows "first second third"
Might want to clear a text selection when an item selection occurs.
In Settings, set browser refresh to 0 seconds
In Settings, set browser refresh to 5 seconds
Expect: contents refresh in 5 seconds
Result: contents do not refresh
Reload app
Now contents correctly refresh every 5 seconds (because the app started with a 5 second refresh)
It's a compiled file. Seems like it would be better to force folks to generate it using npm bulld .
Might be fine to leave it as an example of using an existing non-typescript library.
Might be good to create one if it is a broadly used library.
Should be a pure Office React project.
App.tsx can use Kurve to load Graph data objects that are used by the Office react components.