Commit Graph

53 Commits

Author SHA1 Message Date
235e76be4e fix: processing gift wraps and notifications (#193)
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m16s
This change will potentially close multiple issues related to the gift-wrapped events processing (#168, #158). Further testing will be required to confirm before closing each.

The commented-out code causes the race condition during the processing of the gift wraps with sigits.

During the processing we perform checks to see if sigit is outdated. In cases where sigit includes multiple signers it's possible for a signer to receive multiple sigit updates at once (especially noticeable for 3rd, 4th signer). Due to async nature of processing we can have same sigit enter processing flow with different states. Since this code also updates user's app state, which includes uploads to the blossom server it takes time to upload local user state which causes both to check against the stale data and un-updated app state. This results in both sigits being "new" and both proceed to update user state and upload app data. We have no guarantees as in which event will update last, meaning that the final state we end up with could be already stale.

The issue is also complicated due to the fact that we mark the gift wraps as processed and it's impossible to update the state without creating a new gift wrap with correct state and processing it last to overwrite stale state.

This is temporary solution to stop broken sigit states until proper async implementation is ready.

Co-authored-by: b
Reviewed-on: #193
Reviewed-by: eugene <eugene@nostrdev.com>
Co-authored-by: enes <mulahasanovic@outlook.com>
Co-committed-by: enes <mulahasanovic@outlook.com>
2024-09-12 08:26:59 +00:00
2be7f3d51b fix(tabs): add tab icons
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-09-04 14:05:36 +02:00
36281376bc fix(mobile): use dynamic vh and one-by-one horizontal scroll 2024-09-04 13:44:10 +02:00
757012399a fix: main css background, avoid overscroll showing white edge 2024-09-02 14:41:25 +02:00
be9bfc28c8 refactor(mobile): tabs navigation, observer active for tabs, tabs layout scrolling 2024-08-30 17:39:32 +02:00
6f7d4c9dcf fix(mobile): active tab default state and styling 2024-08-30 10:57:51 +02:00
d9be05165f feat(mobile): tabs and scrolling 2024-08-29 17:18:32 +02:00
a48751b9a8 refactor(footer): make footer a portal and use as needed 2024-08-29 16:43:09 +02:00
b3564389f9 refactor(sticky-columns-layout): initial responsiveness and breakpoints 2024-08-29 13:09:56 +02:00
a8020e6db2 fix(column-layout): wrap content column to prevent expanding 2024-08-28 13:25:56 +02:00
ea09daa669 fix(pdf): dynamic mark scaling
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
Caveat: scaling is not fluid, refresh is required
2024-08-23 21:30:32 +02:00
c3a39157ff fix(verify-page): remove mark border in production, enable dev flag for css classes
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m14s
Hotfix
2024-08-20 15:47:51 +02:00
15e01f530f chore(git): merge branch 'staging' into 148-create-page 2024-08-20 14:39:19 +02:00
s
0f8a40e9f0 Merge branch 'staging' into relay-controller
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
2024-08-20 12:12:11 +00:00
48f54d8568 refactor(create-page): update designs and add files navigation 2024-08-20 11:44:54 +02:00
2c586f3c13 feat(verify-page): add files view and content images 2024-08-20 11:18:30 +02:00
daniyal
a775d7b265 feat: implemented relay controller and use that for fetching and publishing events
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-08-15 22:13:39 +05:00
bff590f532 Merge branch 'staging' into signing-page-design 2024-08-14 17:19:32 +03:00
64dbd7d479 feat(pdf-marking): integrates layouts 2024-08-14 12:36:51 +03:00
50c8f2b2d0 refactor: rename Files to StickySideColumns and update css 2024-08-14 12:28:39 +03:00
dfe67b99ad feat: add sticky layout with slots 2024-08-14 12:28:39 +03:00
276ad23e2c chore(git): merge branch 'staging' into issue-121 2024-08-08 16:27:55 +02:00
5015cefe98 refactor: update loading description 2024-08-08 12:43:49 +02:00
f51afe3b67 fix: some linter warnings and an error 2024-08-05 09:49:56 +02:00
64b6f8309f fix: modal override removed
Mui modal overrides affected tooltip positioning
2024-08-05 09:24:14 +02:00
0a74ad97b2 fix: disable login, register fields, add coming soon
Login and register fields, and buttons are not interactive. Pages show Coming soon!
2024-07-31 18:35:45 +02:00
3470bf78b7 refactor: nostr gif, use it from assets instead link 2024-07-31 17:29:34 +02:00
6f4737d75c fix: icons, use FontAwesome package 2024-07-31 14:37:10 +02:00
dc11f5695d refactor: update main layout loading desc 2024-07-30 16:25:36 +02:00
f1a26e4dc4 chore: styling cleanup 2024-07-30 12:23:38 +02:00
99856fd8f2 fix: gap, spacing 2024-07-29 18:55:19 +02:00
9dae3a48be fix: IconButton conflict, username layout 2024-07-29 18:06:23 +02:00
e3ca3ab908 fix: popup forms designs 2024-07-29 17:12:47 +02:00
c7dfb2864a fix: list item key 2024-07-29 15:28:19 +02:00
55158fc313 fix: update popup design 2024-07-29 15:27:20 +02:00
5d59ffce28 fix: update design buttons 2024-07-29 14:03:16 +02:00
9189ff33bc fix: reduce mui usage, implement design updates 2024-07-29 11:22:04 +02:00
804bb6c9ac fix: composition for links and buttons 2024-07-26 16:03:45 +02:00
868ae6f23e feat: add modal with login, register, nostr routes 2024-07-26 15:38:44 +02:00
8fa074899c chore: move scss styles to separate folder 2024-07-26 10:42:15 +02:00
0a61ae5f64 feat: landing page implementation and styling 2024-07-25 15:05:47 +02:00
SwiftHawk
fa7a6e85f4 fix: fetch app data from after login 2024-07-08 14:27:09 +05:00
SwiftHawk
d4c50dabaf chore: update flow for storing sigits 2024-07-05 13:38:04 +05:00
SwiftHawk
5850ef7dce chore: push unfinished changes 2024-06-28 14:24:14 +05:00
SwiftHawk
2b9617232e feat: update findMetadata method of metadata controller 2024-05-30 22:28:40 +05:00
Davinci
194c564ddc style: lint fix 2024-05-17 13:35:37 +02:00
Davinci
8c5835c07f chore(git): Merge branch 'main' into pictures-fixes 2024-05-17 13:34:51 +02:00
Davinci
5f8e8fd6f4 fix: profile picture inconsistencies, login with enter 2024-05-17 13:33:01 +02:00
SwiftHawk
4f11b1c4a8 chore: add comments 2024-05-17 13:59:03 +05:00
Davinci
e3e15b7af1 fix: nsec login, metadata overlapping, robohash image in metadata state 2024-05-16 16:45:00 +02:00