[Fixed] Secrets feature deleted/removed from app

I have an app that calls upon an external API for which i have a client id and client secret which were both in the secrets feature which was activated and has been running for a month now in test.
this morning the entire secrets feature of my app have been remove along with any data. just completely gone and needed re-adding and all my secrets saved again. i cant work out why, it was there last night when i was testing, and theres nothing in my version history to suggest why.

any ideas?

the only option i can think of is i rewrote the module from scratch in an external ide and hadnt imported the secrets module, then pasted it into anvil. would that delete the feature?

Worked it out, i have some sort of ghosting issue in Chrome. if you hover over the button it displays the option to remove secrets (or any other added feature), but once you move out, it hides the delete option, but its still there albeit not visible. if i put the cursor back exactly where the delete button was i can trigger it as though i was trying to place the cursor at that line of the IDE.

anvil ghosting

and hitting enter by mistake deletes the feature.

please excuse the terrible gif, couldnt upload a video!

2 Likes

Thanks for taking the time to track down and illuminate this most puzzling and indirect effect!

1 Like

it was bugging me, spent far too long trying to work out why but found it by accident!

I can recreate it in Safari and Edge, and across all apps I’ve built and new ones to test if it still happens.

Moved to bug reports - we’ll get that fixed

1 Like