From ca7629f65869561881ba71a3f2e5b16eb8d9e681 Mon Sep 17 00:00:00 2001 From: manumoreira Date: Fri, 16 Jan 2026 12:20:12 -0300 Subject: [PATCH 1/2] Fix #2397. Add vertical scroll on ImportSampleModal --- assets/js/components/surveys/ImportSampleModal.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/js/components/surveys/ImportSampleModal.js b/assets/js/components/surveys/ImportSampleModal.js index 2c0e14a9d..42de0269b 100644 --- a/assets/js/components/surveys/ImportSampleModal.js +++ b/assets/js/components/surveys/ImportSampleModal.js @@ -82,7 +82,12 @@ class ImportSampleModal extends Component {

{t("You can import the respondents that haven't been contacted in finished surveys of the project")}

- { unusedSample ? surveysTable : loadingDiv } + { unusedSample ? ( +
+ {surveysTable} +
+ ) : loadingDiv } +
{t("Cancel")} From 74eafe7941891f3ab2321d971bed4124fd834f1b Mon Sep 17 00:00:00 2001 From: manumoreira Date: Thu, 5 Mar 2026 09:12:40 -0300 Subject: [PATCH 2/2] update-instructions Update readme and setup cloud files based on a recent experience --- README.md | 1 + docs/dev-setup-cloud.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a4aa83e6..72fd5de48 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ You can setup your local environment following different approaches. If you don't need to connect to Verboice nor Nuntium, you can move forward with this setup. 1. You need to use [dockerdev](https://github.com/waj/dockerdev) to access the web app at `app.surveda.lvh.me` and ngrok at `ngrok.surveda.lvh.me`. Just follow the project's readme. **WARNING:** You should install `dockerdev` _before_ creating your stack's network in Docker. If you have already run `./dev-setup.sh`, you may want to run `docker compose down -v` to **delete every container, data and other artifacts** from the project and start from scratch _after_ running `dockerdev`. +Make sure you use the right `dockerdev` image `docker pull --platform linux/arm64 manastech/dockerdev` 2. Clone this repository. 3. In the project's root, execute `./dev-setup.sh`. 4. Start the app with `docker compose up`. diff --git a/docs/dev-setup-cloud.md b/docs/dev-setup-cloud.md index ba38bbb20..6c9417424 100644 --- a/docs/dev-setup-cloud.md +++ b/docs/dev-setup-cloud.md @@ -7,14 +7,14 @@ This guide describes the steps needed to have a development environment that wil * Nuntium for sending and receiving https://nuntium-stg.instedd.org 1. Install [dockerdev](https://github.com/waj/dockerdev) -2. Checkout the project +2. Checkout the project. Suggested `dockerdev` image `linux/arm64 manastech/dockerdev` 3. Execute `$ ./dev-setup.sh` 4. `$ docker compose up ngrok` * NOTE: if `ngrok` container is restarted the assigned tunnel URL will change and it will need to be updated in config and in Guisso. 5. Go to `http://ngrok.surveda.lvh.me/` and grab the tunnel URL: like `https://ef6e48ea.ngrok.io`. 6. Setup [Guisso](https://login-stg.instedd.org) with: * Any hostname, no need to be `app.surveda.lvh.me` - * Redirect urls `http://app.surveda.lvh.me/session/oauth_callback`, `http://app.surveda.lvh.me/oauth_client/callback` (one per line) + * Redirect urls `https://your-id.ngrok-free.dev/session/oauth_callback`, `https://your-id.ngrok-free.dev/oauth_client/callback` (one per line) * No need to be trusted * Keep the identifier `MY_SURVEDA_GUISSO_CLIENT_ID` and secret `MY_SURVEDA_GUISSO_CLIENT_SECRET`. @@ -34,7 +34,7 @@ config :alto_guisso, client_secret: my_surveda_guisso_client_secret config :ask, AskWeb.Endpoint, - url: [host: "app.surveda.lvh.me"] + url: [host: "your-id.ngrok-free.dev", scheme: "https", port: 443] config :ask, Verboice, base_url: "https://verboice-stg.instedd.org/",