Skip to content

Conversation

@jbostoen
Copy link

@jbostoen jbostoen commented Mar 31, 2021

  • Initial work on an attempt to support OneDrive Business
  • Also took the liberty to correct a Dutch translation and update one untranslated string
  • fixes a typo in the OneDrive (personal) approach

As discussed in #633 : OneDrive is stuck on 'account loading...' and does not work properly for professional accounts.

I noticed that you just added a new comment with a different approach, but this is what I had now and which seems to be working: it adds a separate page for OneDrive Business.

Only thing to consider: use the "common" string in the authorization URL; or go for "organizations" or even offer the option for a tenant ID. For now (and to avoid potential conflicts with OneDrive personal), I just went with "common".

This work might still help you for the working version :)

* Initial work on an attempt to support OneDrive Business
@codecov
Copy link

codecov bot commented Mar 31, 2021

Codecov Report

Merging #638 (ca43f37) into dev (63f25ac) will decrease coverage by 0.78%.
The diff coverage is 4.91%.

❗ Current head ca43f37 differs from pull request most recent head 75194b5. Consider uploading reports for the commit 75194b5 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #638      +/-   ##
==========================================
- Coverage   15.15%   14.36%   -0.79%     
==========================================
  Files          15       15              
  Lines        1452     1573     +121     
  Branches      317      341      +24     
==========================================
+ Hits          220      226       +6     
- Misses       1214     1329     +115     
  Partials       18       18              
Impacted Files Coverage Δ
src/models/credentials.ts 0.00% <ø> (ø)
src/popup.ts 5.16% <0.00%> (-0.52%) ⬇️
src/store/Backup.ts 15.38% <0.00%> (-2.80%) ⬇️
src/models/backup.ts 5.41% <5.82%> (+0.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63f25ac...75194b5. Read the comment docs.

@mymindstorm
Copy link
Member

Closing in favor of #641

@mymindstorm mymindstorm closed this Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants