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

refactor!: manifest v3 support #1051 #1124

Merged
merged 62 commits into from
Mar 22, 2023
Merged

Conversation

escapedcat
Copy link
Contributor

@escapedcat escapedcat commented Jul 8, 2022

CURRENT FINDINGS ALL GOOD SO FAR

Describe the changes you have made in this PR

Trying to prepare the switch to v3

Link this PR to an issue

Fixes #1051

Type of change (Remove other not matching type)

  • refactor: Breaking refactor

How has this been tested?

...not yet

Checklist

  • My code follows the style guidelines of this project and performed a self-review of my own code
  • New and existing tests pass locally with my changes
  • I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

@github-actions
Copy link

github-actions bot commented Jul 8, 2022

Build files:

@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 82bc8a9 to 9a2c69f Compare July 11, 2022 07:26
src/manifest.json Outdated Show resolved Hide resolved
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from fc57c7d to 363a87c Compare July 13, 2022 10:26
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 363a87c to 2804f1f Compare July 14, 2022 09:31
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 2804f1f to e958323 Compare July 14, 2022 09:39
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from e958323 to 686eb1a Compare July 14, 2022 09:42
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 686eb1a to 63f570a Compare July 14, 2022 10:18
escapedcat

This comment was marked as outdated.

@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 63f570a to 5c1c617 Compare July 19, 2022 03:47
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 5c1c617 to 4ce4034 Compare August 23, 2022 06:29
@github-actions
Copy link

github-actions bot commented Aug 23, 2022

🚀 Thanks for the pull request!

Here are the current build files for testing:

Download and unzip the file for your browser. Refer to the readme for detailed install instructions.


This build is brought to you by: Moritz (who recently dropped 1000 sats):

Merry Christmas to the Alby team

Want to sponsor the next build? send some sats to ⚡️builds@getalby.com (don't forget to provide your name)

Don't forget: keep earning sats!

@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from a6bdc08 to 902713c Compare September 9, 2022 03:31
@reneaaron reneaaron removed this from the v1.19 milestone Jan 23, 2023
@escapedcat escapedcat force-pushed the refactor/manifest-v3-support branch from 7be75ce to 18fa751 Compare February 7, 2023 13:22
@escapedcat

This comment was marked as outdated.

@im-adithya

This comment was marked as outdated.

@escapedcat
Copy link
Contributor Author

escapedcat commented Feb 13, 2023

popup doesn't close on "lock" (in chrome/osx)

I suspect this: https://github.com/getAlby/lightning-browser-extension/pull/2025/files#diff-3eda5a900b82096e98a0204c9e75d6b1d1b5e212de86fca7e6d107b123c0b412R125

...).extension.getViews is not a function

Yup, let me have a look

Findings:

RESULT: fixed ✅

@escapedcat

This comment was marked as outdated.

@escapedcat

This comment was marked as outdated.

@@ -3,11 +3,11 @@ import type { MessageReset } from "~/types";
import state from "../../state";

const reset = async (message: MessageReset) => {
await state.getState().password(null);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@im-adithya please check if this is correct. Just adjusted it according to the mv3 way of handling the password.

@escapedcat
Copy link
Contributor Author

escapedcat commented Mar 20, 2023

COMMANDO / LNMESSAGE UPDATE

Status

Commando was already tested and checked ✅ above.

Now this didn't work anymore:
image

image

Findings

  • Commando connector worked here: 43a4091
  • Commando connector did not work here anymore: dd85f9a

What happened in between?: lnmessage v.01.0

Assumption is we do not have a window object in the SW. Reverting this works:
lnbc1QWFyb24/lnmessage@3d00360#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L159-R164

Solution

Reverting back to lnmessage v0.0.19 is fixing this for now

@escapedcat
Copy link
Contributor Author

DEBUG ALBY (USING) WINDOW

Status

image

@escapedcat escapedcat requested a review from bumi March 22, 2023 10:28
@escapedcat escapedcat merged commit aafee44 into master Mar 22, 2023
@escapedcat escapedcat deleted the refactor/manifest-v3-support branch March 22, 2023 10:31
@escapedcat escapedcat restored the refactor/manifest-v3-support branch April 7, 2023 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Update extension manifest from v2 to v3
5 participants