FREE Chrome Extension that enhances the Expression Assistant [AppSheet Toolbox/QREW Tools]

Hi AppSheet Community

As someone who is in the App Editor 24/7, I frequently catch myself trying to remember the syntax for a particular expression, re-reading a formula several times to figure out where my missing parentheses are, or searching my mind for some fancy formula I put together ages ago.

I know many of you have experienced the same.

To make life a little easier on our favorite app making platform, the QREW Technologies team has released the first version of a Chrome Extension, QREW TOOLS, that adds some cool features to help address those pain points:

LIVE EXPRESSION FORMATTING
2X_f_f12f247e5ac91dc82a36536f51b16ff6d3950fe5.gif

IN-EDITOR DOCUMENTATION SEARCHING

SAVE AND INSERT CUSTOM FORMULA SNIPPETS

I hope you guys enjoy this and that it helps you get more enjoyment and productivity out of the AppSheet Platform.

Please give me a shout if you have any feature suggestions or find any bugs

105 226 20.1K
226 REPLIES 226

Can confirm. Your hugs are appreciated

โ€” QREW TOOLS UPDATES v1.000 โ€”

Hey Everyone,

Weโ€™ve pushed the first major update to QREW Tools. Chrome will update to this version automatically for you as it gets released, so no need to go and update manually.

Updates on this release: Open CODE EDITOR SETTINGS. Multiple Color Themes and the option to configure some of the text editor behaviors like autocompleting brackets (lookin at you @MultiTech_Visions)

2X_9_99360387924d796c92f104a612f8c3b1b455340f.png

  • FYI - I accidentally defaulted the editor to the โ€œBlackboardโ€ Themeโ€ฆ many apologies! The original theme is the โ€œDefaultโ€ theme.

Iโ€™m curious to know which themes are your favorite. - I think I like โ€œMaterialโ€ the best.

Alright, Iโ€™m gonna try itโ€ฆ

Right off the bat:

  • Would prefer the viewport expand to display the entire expression rather than a fixed height with scrolling.
  • Would be nice to collapse AppSheetโ€™s expression explanation and function help.

I think those are great feature requests. Definitely making the short list.

BUG: If I highlight rows and tab to indent, the indent does not honor my configured indent size.

FEATURE REQUEST: Grab focus! How nice it would be to just start typing upon entering the Expression Assistant, rather than having to click again in the editing window!

Hi @Steve Iโ€™ve just published an update that auto-sets the focus/cursor into the Editor upon opening. You should see this update in a day or two (becuase Chrome Store Review Process).

Me too
Thank you for your hard work.

โ€” QREW Tools Update v1.010 โ€”

We just released another public version with some major time-saving features.

There are now two more options in the Flyout: SCHEMA & VIEWS
These show a full listing of Tables, Columns & Data Types and All View Names and Types. This is a huge time saver for me when constructing deep links or writing dereferences.

Now you dont have to close the editor to lookup column names in another table, or search through the source data tables in another window.

ENJOY!!

The update will be rolling out automatically within a few days

This is awesome @Stefan_Quartemont! Workloads have taken me away a bit fro Appsheet, but itโ€™s great to see what you have done to make the environment even easier to work with! Huge thanks.

Boss! @MultiTech_Visions Check out what weโ€™ve got now!

Itโ€™s an addicitve featureโ€ฆ We have panic in the QREW office now when we have to write a cross table expression without this feature.

Steve
Platinum 4
Platinum 4

Wow!

@Stefan_Quartemont
Any chance of getting this extension for Firefox?

Iโ€™ve heard itโ€™s actually not very difficult to port a Chrome Extension to Firefox, though I havenโ€™t look I to specifics.

Iโ€™ll take a look and see what it takes. If itโ€™s super easy, it could still be a couple weeks before it would get approved for distribution once I upload it, just FYI

Awesome, thanks!

I very much enjoyed the fantastic QREW Editor, but today I noticed that it stopped working (11-30-2019). I tried reinstalling the Chrome extension, but it did not solve the issue. Some days ago I noticed some subtle changes to the Appsheet.com Ui; is the issue with the extension or with my browser? Thank you very much! Holger

Yikes! Sorry for that issue, everyone.

Iโ€™m not noticing any difference in functionality on Chrome for Mac v. 78.0.3904.108

Can any shoot me some Screen shots?

Nothing to screenshot; the tool simply doesnโ€™t occur in the Expression Assistant editing pane. No errors, no messages, nothing obvious in the JS console. Extension menu in the toolbar still works. Reinstalled the extension with no effect.

I have the same Chrome Version 78.0.3904.108 on Mac 10.15.1 (19B88), and QREW doesnโ€™t work anymore.

I think the problem is related to Appsheet changes. In the moment I see the changes no more see the extension working.

Gotcha!

It seems the editor changes have not reached my AppSheet account yet. Once they do, I will investigate the break and respond with an ETA on the fix

Thank you!
It is easy get attached to the QREW Editor.
Let me know if you need remote access to my Chrome browser?

Haha Right? Im especially missing the auto closing parenthesis and brackets!

Steve
Platinum 4
Platinum 4

Tools no longer working for me, too. Pixelbook, Chrome OS Version 78.0.3904.106 (Official Build) (64-bit).

Same chrome on win 10 laptop.

@Stefan_Quartemont interesting catch: The extension shows on a lot of my older apps. Tried updating version in the Manage-Version Tabs and after doing that it disappeared for that app.

Mainly confirming some sort of change in the appsheetโ€™s editor that the extension show/hides based on.

Former Community Member
Not applicable

Looks like the crash is from this function in the extension code that looks for the App ID in the page.

function scrapeAppId() {
    return (
        document.querySelector("#appPreviewLink")
            .href
            .match(/appId=([a-z0-9\-]+)/)
            [1]
    );
}

We made some changes to how the editor loads, which seems to have removed that link in so The extension runs just fine if I attach the debugger at the return statement and run this:

$(document.body).append(
  $('<a id="appPreviewLink" href="appId=deadbeef">bar</a>'))

Scraping code is always going to be kind of brittle, though weโ€™re certainly not trying to break stuff! We do have a window.getId() function, which is similarly an internal API but is less likely to change in the immediate future.

Steve,

Thanks for looking into that and reaching out! I suspected that could be the culprit based on the screenshot posted previously. I knew our method of extracting the Apps GUID from the HTML for the API call to return the app schema was kinda sketchy and would be likely broken based on an AppSheet editor update.

I will get that updated based on your feedback.

Thanks

Stefan

Hey Everyone,

Weโ€™ve just uploaded a patch for the issue. It has to go through a review process (0-3days) by Google and then it will appear automatically for everyone.

Thanks to everyone for flagging the issue and helping the debug process.

Keep Calm and AppSheet on!!

Hy
Is back again. Thank you

Hi Qrew, nice work with the feature. I just noticed with a long Snippet name it cuts the top row in half.
2X_2_22d8a5045b50dddc2f035410f1c2ca175cd9026f.png

@Craig_Clancy1 - Thanks for pointing that out. I will get a fix out for that in the near future

Agreed with collapse. Your add-on makes it unnecessary anyway.

Thank you for all of your hard work! This is a great addition to the AppSheet developer community.

This add a lot of important features that we were missing from the editor. But the 6-line limit is too small for many of my formulas.

I end up having to write my formulas in a text editor so I can see everything, then paste into the expression editor in AppSheet. This removes most of the benefits of the extension and adds a step-- making the original editor still a better choice for my regular work.

Are there any plans of adding a resizable editor? The regular AppSheet expression editor allows you to resize the window. And I have seen others request the same feature here:
https://community.appsheet.com/t/free-chrome-extension-that-enhances-the-expression-assistant/13313/...

I think youโ€™ve added a lot of great features, and I would love to use them, but youโ€™ve also removed a very important feature. Please consider adding a resizable window. Thanks!

@GreenFlux - We donโ€™t have a โ€œResizableโ€ solution for the editor at this point. Some easier options are Pop-Out (Think nearly 3/4 full screen size editing area) or Collapsing some or all of the expression library below.

Which would you prefer?

This.

Seconded.

Agree with @Steve and @Bahbus. A toggle button to collapse the library and give the extra space to the editor would be ideal.

Thanks, @Stefan_Quartemont ! I donโ€™t think the drag-to-expand feature is necessary if you can just toggle to a much larger view box with the library hidden.

Well, The collapsers have it!

Iโ€™ll get working on that fix and let you guys know when itโ€™s ready.

Thanks for the feedback - @Steve @Grant_Stead @GreenFlux @Bahbus

Top Labels in this Space