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

Fix garage deletion #1085

Conversation

KoalaSat
Copy link
Member

@KoalaSat KoalaSat commented Jan 22, 2024

What does this PR do?

Fixes the (non) deletion of the garage in local storage. This was caused because of the robotUpsert action and the fact that some coordinators took longer to respond, generating the re-creation of the robot.

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

@KoalaSat KoalaSat changed the base branch from main to the-federation-layer-v0.6.0 January 22, 2024 21:31
};
},
[fav.mode],
);
Copy link
Member Author

Choose a reason for hiding this comment

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

I think all modifications on this file was caused by the lintern, I'm pretty sure I didn't change anything here

@Reckless-Satoshi
Copy link
Collaborator

Reckless-Satoshi commented Jan 23, 2024

Thank you for this fix @KoalaSat ! Please submit an invoice for 100K Sats.

@Reckless-Satoshi Reckless-Satoshi merged commit d080b6a into RoboSats:the-federation-layer-v0.6.0 Jan 23, 2024
1 check passed
@Reckless-Satoshi Reckless-Satoshi mentioned this pull request Jan 23, 2024
20 tasks
@KoalaSat
Copy link
Member Author

🎉

lnbc1m1pj6ltkqpp5ljk4rf2g4r0t4qx40afcxh3mfcfw8ahkwy5rt2jvgxn4qmcl6gksdqqcqzzsxqyz5vqsp5epv8slxguugu3lde7l24sx3q5znf55vxeul7mrjd5pk8ua7pnems9qyyssqrf6xs0y0tumferdkxffefzgf6y0cv472eqfee5uhfe6ax3uz2w6ngpmf3n8z70yxdu8p2rs9lc230sp48s2k3vh49r9a07nzw56qyqgpzlqdah

@Reckless-Satoshi
Copy link
Collaborator

lnbc1m1pj6ltkqpp5ljk4rf2g4r0t4qx40afcxh3mfcfw8ahkwy5rt2jvgxn4qmcl6gksdqqcqzzsxqyz5vqsp5epv8slxguugu3lde7l24sx3q5znf55vxeul7mrjd5pk8ua7pnems9qyyssqrf6xs0y0tumferdkxffefzgf6y0cv472eqfee5uhfe6ax3uz2w6ngpmf3n8z70yxdu8p2rs9lc230sp48s2k3vh49r9a07nzw56qyqgpzlqdah

e9df8e357f05fd43d47cb71b104859ca0d470cb745d8e446ad0540c0c061ca39

Reckless-Satoshi added a commit that referenced this pull request Mar 17, 2024
* Refactor contexts and models (#921)

* Add SVG icons for map pins

* Add federation basis and new coordinator form (#793)

* Add new coordinator entry issue form

* Add Federation basis

* Fix eslint errors from F2F and fix languages

* Redo eslint @typescript-eslint/strict-boolean-expressions

* Robot Page working

* Contexts Working

* Garage Working

* CurrentOrder working

* Federation model working

---------

Co-authored-by: Reckless_Satoshi <[email protected]>
Co-authored-by: Reckless_Satoshi <[email protected]>

* Fix version, release_note and small typo

* Fix (some) lint issues

* Fix old merge conflict on federation.md

* Add cordinator: Temple of Sats

* Federation view fixes (#923)

* Fix lint issues

* More fixes

* Fix PRO

* Remove template coordinator

* Add coordinator: Satstralia

* Add Simplex contact method to coordinator dialog

* Add new X icons, replace Twitter

* Add satstralia PGP keys

* Add PGP keys to /static

* Fix robot recovery (#945)

* Fix Robot recovery

* Change testralia onion

* Fix order page

* Fix last order

* Not expose current notification order

* Fix

* Change getRobot by getSlot (#955)

* Fix order workflow (#957)

* Order workflow working

* Refactoring

* Add coordinator notice

* Fix and update About

* Update Dispute prompts for multi-coordinator

* Adapt garage to coordinators

* Fix mobile app (#969)

* Update temple of sats, new prettier format

* Fix statusToDelay, linting and others

* Add robo-identity-wasm

* Small fixes

* Small fixes

* Avatar hashid in Garage (#983)

* Fix and disable strict boolean lintern

* Fix un-silence all mainnet coordinators

* Fix add extra JS bundles and .wasm to uploaded artifacts

* Fix navbar and book duplication (#1031)

* Add coordinator: TheBigLake

* Feat hide LocalDev coordinator conditionally

* Robohash gereator queue (#1035)

Robohash generator queue

* Fix coordinator table avatars flip

* Fix coordinator avatar on maker form

* Fix update coordinators urls on network change

* Fix depth chart and coordinator table (#1039)

Fix depth chart and Coordinator table

* Add coordinator warning

* Fix show coordinator warning only once

* Remove generating avatar animation

* Fix order tab navigation

* Fix order flow (#1040)

Fix Order flow

* Add extra row to coordinator table

* Fix order autoupdate and chat (#1047)

* Fix Order autoupdate and chat

* Remove console.log

* fix: Remove .js files from linting (#1049)

Co-authored-by: count-null <[email protected]>

* Perf hide animated backgrounds

* Fix onboarding offers/create navigation

* Fix undefined currencyCode

* Fix chat avatars and numeric displays

* Fix successful prompt avatars, rate text and txid

* Small fixes and lint fixes

* Fix coordinator avatars orientation

* Fix unsafeAlert and grab safe urls from federation.json

* Fix click order on order map

* Fix cancel button, add debug console log fetchOrder

* Add setAcknowledgeWarning to initialAppContext

* Add simple web hosted federated client

* Update federated frontend url

* Fix Contexts

* Fix do not share chat logs on disputes by default

* fix infinite re-render loop

* Re-set fetchOrder on page change, empty book on not_found

* Add coordinator endpoint to stats for nerds

* Fix navigation

* Small fixes

* Fix too-many fetchRobots and coordinator endpoints print

* Fix currentOrder fetch

* Fix duplicated version on stats for nerds

* Minor lint fixes

* Fix coordinator hosted web app

* Fix amount string on order details

* Fix unsafe_alert locale string

* Add devfund donation to coordinator summary accordion

* Fix book table in the v0.6.0 version (#1083)

* Get favorites from context

* Rerender objects on favorite mode change

* Format sats amount in millionths

* Revert to v0.6.0 deps and notes

* Fix devfund fraction validation

* Fix garage deletion (#1085)

* Fix compute exchange active robots by max

* Fix book loading (#1086)

* Fix book loading

* Fix Robot page

* Code Review

* Book coordinator filter (#1087)

* Fix book loading

* Fix Robot page

* Code Review

* Book coordinator filter

* Fix matches in MakerPage

* Fix book filter avatar sizes and bookUpdate on refresh

* Fix host filter overflow on small displays

* Delete Rebellion

* Fix decimal fees and exchange stats

* Fix telegram link (#1099)

* Fix rewards claim

* Fix hide collab cancel request after fiat sent

* Add federation coordinator est. date and hard limits

* Add programatic order size limit to new coordinators

* Add size limits and onchain swap status to coordinator prof

* Update templeofsats tg handle

* Update dispute prompt contacts

* update temple of sats

* Add coordinator: BitcoinVeneto

* fix change veneto coordinator badges

* update bitcoinveneto contact methods

* Fix coordinator selector maker page (#1157)

* Fix coordinator selector on Maker page

* Refactor onUpdate naming

* Fix loading robots (#1166)

* Fix loading Robot orders

* remove logs

* feat: move looking for orders loading bar

---------

Co-authored-by: KoalaSat <[email protected]>

* Add loading robot profile (#1176)

* Add loading robot profile

* Typo

* Fix undefined prices error (#1173)

* Makes filtering by multiple payment methods in desktop possible (#1172)

* Make the payments autocomplete header text independant on isFilter prop

* makes filtering by MULTIPLE PAYMENT METHODS possible without great impact in the current experience on DESKTOP only

---------

Co-authored-by: Reckless_Satoshi <[email protected]>

* Fix order navbar (#1178)

* Fix renew order refresh (#1179)

* Fix federation summary (#1180)

* Fix federation summary

* Fix federation summary

* Make it dynamic

* Make it dynamic

* Fix depth chart borked and premium precision

* Update coordinator BitcoinVeneto

* Add established date to coordinator dialog

---------

Co-authored-by: KoalaSat <[email protected]>
Co-authored-by: nullcount <[email protected]>
Co-authored-by: count-null <[email protected]>
Co-authored-by: aftermath <[email protected]>
Co-authored-by: Renato Peres <[email protected]>
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