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

[Merged] Feature/firefox #83

Closed
wants to merge 19 commits into from
Closed

[Merged] Feature/firefox #83

wants to merge 19 commits into from

Conversation

guanbinrui
Copy link
Member

@guanbinrui guanbinrui commented Aug 3, 2019

Support Firefox #25

  • Fix setup-mobile page crashed #97
  • Fix auto pasting not working in FF;
  • Fix request camera permission not working in FF;
  • Fix double error messages when camera permission was denied;
  • Fix user discover not working in FF;
  • Fix page flash while loading QR code image;
  • Support scanning QR code in web worker;

@guanbinrui guanbinrui mentioned this pull request Aug 3, 2019
6 tasks
@Jack-Works
Copy link
Member

Merge branch 'master' of github.com:/...

You can rebase master instead of leaving so many commits

@Jack-Works Jack-Works self-assigned this Aug 3, 2019
@Jack-Works Jack-Works added the bug label Aug 3, 2019
@Jack-Works Jack-Works modified the milestone: Next Release Aug 3, 2019
@guanbinrui
Copy link
Member Author

guanbinrui commented Aug 3, 2019

@Jack-Works it's clean now.

@Jack-Works
Copy link
Member

Not sure if this got fixed.

  • QR scanning is not working
  • Background page throws "Can't parse the page." it caused by User-Agent, we may fall back to a classic way to fetch the key (Note: feature/multiple-network has done this.)

Copy link
Member

@Jack-Works Jack-Works left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a try to fix QR scanning on Firefox, good luck

@Misaka-0x447f Misaka-0x447f self-assigned this Aug 5, 2019
@Misaka-0x447f
Copy link
Contributor

Misaka online. testing qr-code.

@Misaka-0x447f
Copy link
Contributor

firefox does not support request camera using this api. working on find a polyfill.

@guanbinrui
Copy link
Member Author

I'm working on figuring out the difference between Chrome & FF when fetching other user's public key and try to cherry-pick the classic way from feature/multiple-network branch.

@Jack-Works
Copy link
Member

@guanbinrui you can leave that problem. After multiple network get merged and this branch get rebased, I can fix it

@guanbinrui
Copy link
Member Author

guanbinrui commented Aug 5, 2019

@Jack-Works I think it's not the best way of extracting user bio/post content by the 'classic way'. It's easy to break.
What I found that in raw user profile page there is a code snippet:

<div id="intro_container_id"><!-- user bio box html --></div>

so I wonder we can parse the html snippet in FF too.

@Misaka-0x447f
Copy link
Contributor

using a polyfill of permissions.query is required? no available polyfill at this time on the npm, only permissions.request available but broken.

use a magic selector to locate bio node in old version profile page
@Misaka-0x447f
Copy link
Contributor

Do you have your prettier enabled?

Emmmmm No force use of prettier in this project. Maybe need to chain it in the webpack and git commit hook.

@Jack-Works
Copy link
Member

Does this pr ready for review?

@Misaka-0x447f
Copy link
Contributor

no the qr component performance problem is not resolved

Does this pr ready for review?

config-overrides.js Outdated Show resolved Hide resolved
src/social-network-provider/facebook.com/parse-html.ts Outdated Show resolved Hide resolved
guanbinrui and others added 5 commits August 8, 2019 13:28
use browser.runtime.getURL directly will cause this code to fail in the storybook
Jack-Works
Jack-Works previously approved these changes Aug 8, 2019
Copy link
Contributor

@SunriseFox SunriseFox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to test more... it seems that not entire post is used as a thing to decrypt the post, though unable to decrypt may related to GUN.

image

@guanbinrui
Copy link
Member Author

guanbinrui commented Aug 8, 2019

need to test more... it seems that not entire post is used as a thing to decrypt the post, though unable to decrypt may related to GUN.

image

I'm working on this bug. It looks like maskbook fail to recognize current user.
#/setup-mobile page is crash on this branch too which is fine on master branch.

@Jack-Works Jack-Works changed the title Feature/firefox [Merged] Feature/firefox Aug 8, 2019
@Jack-Works Jack-Works closed this Aug 8, 2019
@Jack-Works Jack-Works deleted the feature/firefox branch August 12, 2019 06:36
lucasespinosa28 pushed a commit to lucasespinosa28/Maskbook that referenced this pull request Dec 13, 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.

setup-mobile page crashed
4 participants