digidem / comapeo-mobile

The next version of Mapeo mobile
GNU General Public License v3.0
5 stars 1 forks source link

feat: add config importing to project creation flow #379

Closed achou11 closed 4 months ago

achou11 commented 4 months ago

Related to #161

Would say that this is maybe 80% done. Didn't want to go further until answering some of the following questions:


Preview:

After successful import:

image
ErikSin commented 4 months ago
  • what's the success state after selecting the file? so far, i just plainly show the name of the file below the import button

Aldo is going to take this to the codesign team. But we can leave it as is for now

ErikSin commented 4 months ago

what's the error state if the file selected is invalid? should we use the error modal that's already part of this screen?

Yes, lets just use the error modal that is there

ErikSin commented 4 months ago
  • should there be a way for the user to remove the imported file? (e.g. they decide they don't want to use an imported file)

Aldo is also going to take it to the codesign team. So for now, we can leave it as (aka the user cannot remove it)