Sneaky Anvil Updates

1 Like

They did not went very sneaky this time

2 Likes

The new editor has adjustable width app browser! So many features!

4 Likes

In Beta, the tabs names are shortened automatically. Love it
image

3 Likes

I cloned the app, added a folder with some tests that I run on my computer using the uplink to interact with the database and other services, pushed and… it’s there!

Anvil says “Unknown file”, but… it’s there!

The new editor has a much more refined way to work with branches in the git repository than the old editor.

Here is an use case that was not the reason why it has been designed as it was, but you can do it and it just saved me some time and helped me not playing with fire. Hence I think it qualifies as a sneaky new feature.

I was working on the dev branch, modifying many forms and modules and didn’t want to merge to prod because I would have very likely broken the production app.

I also did a little and safe change to an http endpoint. The new endpoint was compatible with the production app, but was in dev, so I couldn’t test it because it was called by another application that I didn’t want to modify.

So I copied the http endpoint code, set the current branch to prod, pasted the code, set the current branch back to dev, and now I had the new http endpoint working in the old production app, without needing any merge or modifying the 3rd application that was calling the http endpoint or doing anything crazy like I used to do.

3 Likes

I am not sure when this changed but I now see that errors in data bindings have a link in the output panel that takes you to the component with the error. I am sure it never used to be like this but definitely a nice little feature :slight_smile:

3 Likes

New icons have been added to the component ‘icon’ property. I suppose they upgraded their font awesome version.

2 Likes

When an event binding is registered to a component but the function doesn’t exist, there is now a nice output in the serial monitor telling you what failed. Has helped tremendously with some overdue code cleanup

5 Likes

The little star icon next to your app will pin the app so that it always remains at the top of your list.

2 Likes

Not sure if anyone has seen this - the Beta IDE checks the app and the database schema to see if there are any mismatches! It even helps you rectify what is not correct!! Nice additional Anvil Team :smiley:

1 Like

For anyone that missed this (like myself):
Excel import to data tables … the Docs now document this with code examples

4 Likes

I just noticed a few UI changes to the Anvil forum. How long has it been like that?

Not sure when it changed but the IDE seems to be a lot smoother - no more text delays when typing. Nice work and Thank you Anvil Team

Also - I cannot overstate how cool the Beta IDE is!!

3 Likes

Everytime I see those delays I open the Chrome Task Manager and the Anvil tab is consuming 1GB+ of memory. Stopping the process and THEN reloading usually works for me and for a lot of time until it happens again.

2 Likes

It seems that the IDE is saving a lot faster! I used to have to wait for the spinner next to the app name for a couple of seconds before I run the debug, but it seems to save almost instantaneously now :slight_smile:

1 Like

You may or may not have noticed that the App Logs now have a how lot more functionality including search by session, filter by device and skipping to timeframes (at the bottom).

Thank you Anvil Team!!

6 Likes

@stefano.menci will like to see that!

1 Like

Each log session in the App Sessions window has a View sessions button that allows to keep a session open in its own tab.

Then using Alt + PgUp and Alt + PgDn it is possible to quickly compare them:

image

5 Likes

I see that data table exports to csv now names the file with the date and table it was imported from rather than just ‘export’. This makes a lot more sense.

3 Likes