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

feat: firefly rp #11305

Merged
merged 62 commits into from Feb 19, 2024
Merged

feat: firefly rp #11305

merged 62 commits into from Feb 19, 2024

Conversation

guanbinrui
Copy link
Member

Description

Closes MF-0000

Type of change

  • Documentation
  • Code refactoring (Restructuring existing code w/o changing its observable behavior)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (a fix or feature that would make something no longer possible to do/require old user must upgrade their Mask Network to this new version)

Previews

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
    • I have removed all in development console.logs
    • I have removed all commented code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have read Internationalization Guide and moved text fields to the i18n JSON file.

If this PR depends on external APIs:

  • I have configured those APIs with CORS headers to let extension requests get passed.
    • chrome extension: chrome-extension://[id]
    • firefox extension: moz-extension://[id]
  • I have delegated all web requests to the background service via the internal RPC bridge.

@@ -137,9 +137,8 @@ export class ECKeyIdentifier extends Identifier {
)
}
declare [Symbol.toStringTag]: string
#ec: undefined
Copy link
Member

Choose a reason for hiding this comment

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

I think this change should not be landed. I can provide help with toolchain on firefly side.

@@ -2,8 +2,7 @@ import { SnapshotContext } from '../context.js'
import { getProposalIdentifier } from './helpers.js'
import { Snapshot } from './Snapshot.js'
import { LoadingFailCard } from './LoadingFailCard.js'
// @ts-expect-error undocumented api
import { unstable_Cache as Cache, unstable_useCacheRefresh } from 'react'
import { unstable_useCacheRefresh } from 'react'
Copy link
Member

Choose a reason for hiding this comment

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

unstable_Cache and unstable_useCacheRefresh should be used together. use only one may cause bug.

@guanbinrui guanbinrui modified the milestones: 2.25.0, firefly-rp, 2.25.0-firefly-rp Jan 24, 2024
guanbinrui and others added 3 commits January 24, 2024 13:26
* refactor: migrate ff-PC preset

* refactor: preset & dimension
@@ -0,0 +1,34 @@
import type { Dimension } from './presets.js'

export async function getDimensionAsBlob(file: Blob | string): Promise<Dimension | undefined> {
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this should go here. Maybe you should add it in https://github.com/DimensionDev/kit this library (@masknet/kit). If you need help, please ping me

Copy link
Member

Choose a reason for hiding this comment

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

please remove this file as it has already landed in the kit package.

guanbinrui and others added 8 commits January 25, 2024 16:29
Co-authored-by: Jack Works <jackworks@protonmail.com>
* feat: fw-276 claim redpacket

* fixup! feat: fw-276 claim redpacket

* fixup! feat: fw-276 claim redpacket
* feat: create redpacket with api

* chore: reply review

* fix: bugfix

* fix: bugfix
* feat: redpacket history

* fix: page loading

* fix: remove unused

* chore: remove debug code

* fix: page loading

* chore: code review

* chore: lint

* fix: height

* chore: lint

* chore: revert lock file

* refactor: root url

* chore: prettier

* chore: code review

* chore: review

---------

Co-authored-by: guanbinrui <guanbinrui@dimension.im>
nuanyang233 and others added 17 commits February 7, 2024 15:06
* fix: bugfix for claim ui

* chore: prettier

* chore: reply review
* fix(RedPacket): fw-396 allow to omit password in payload

* fixup! fix(RedPacket): fw-396 allow to omit password in payload
* fix: share rp

* feat: update rp payload

* fix: fw-333

* fix: fw-363

* fix: action button

* fix: fw-363

* fix: fw-381

* feat: fw-372

* feat: add post on

* fix: post on

* fix: history claimed

* fix: review

* fix: code review

* chore: code review

* chore: code review
Co-authored-by: guanbinrui <52657989+guanbinrui@users.noreply.github.com>
* fix: bugfix for wallet status bar

* fix: share compose
* fix: should pass current profile id instead of author's

* fixup! fix: should pass current profile id instead of author's
* fix: type error

* fix: type error

* chore: prettier

* chore: eslint

---------

Co-authored-by: nuanyang233 <nuanyang233@gmail.com>
@guanbinrui guanbinrui marked this pull request as ready for review February 19, 2024 00:34
@guanbinrui guanbinrui merged commit 400a2f5 into develop Feb 19, 2024
14 checks passed
@guanbinrui guanbinrui deleted the firefly-rp branch February 19, 2024 01:14
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.

None yet

5 participants