dappros / ethora

A 'super app' engine for your project. React Native (iOS, Android) and React.js (Web, desktop). Social Sign In 🄵, Messaging 💬 (chat, voice, push notifications), Web3 Wallet 🪪 (profile QR, documents, coins, NFT), DLT 🔐 (provenance, crypto signing), Gamification 🤩, Social Commerce and more.
https://ethora.com/
GNU Affero General Public License v3.0
400 stars 74 forks source link

API - App b/g image and color - update via Admin (need API change) #476

Closed phwizard closed 11 months ago

phwizard commented 11 months ago

To be updated as discussed:

Screenshot 2023-07-27 at 16 49 48

Context:

Mykhailo Mohyliuk 30 minutes ago then i cant remove it

Borys 29 minutes ago you can set it to white binary image

taras.filatov 28 minutes ago need some method for Misha to remove it

taras.filatov 28 minutes ago otherwise user can’t get rid of a b/g image once uploaded

taras.filatov 28 minutes ago and it always show the b/g image even if color is selected

Borys 24 minutes ago does the image has the higher priority? if the image and bg is specified what we should show on the screen?

taras.filatov 22 minutes ago we discussed this - simple solution is simply to overwrite with the latest change if user updates b/g image (and Saves) then color is deleted if user updates b/g color (and Saves) then b/g image is deleted

Borys 16 minutes ago sure, but they can come both from UI

Borys 9 minutes ago @taras.filatov if they comes both, should I update bg and delete previos image?

taras.filatov 8 minutes ago yes, whatever new record / file comes it should update the old record I don’t know if Misha sends 2 records or just 1, I thought it would be just one if one of them changes

--

I guess don’t send both from the front end. Whatever user has updated last, just send that. So it will be clear for the backend that this needs to be updated, and the other deleted.

====

transkarpation commented 11 months ago

done