This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 02, 2023
-
-
Braden Shepherdson authored
This also moves the CLJS output out of `frontend/src/cljs{,_release}` to `target/cljs_{dev,release}`. If that causes problems for FE tooling I don't know about, it could be moved back. Hot reloading: CLJS changes are hot-reloaded into the running app by Shadow CLJS - no action is needed. Note that the UI will not refresh; you usually have to click around so the updated MLv2 code gets executed. Usage of the CLJS REPL: - Open the browser (you should see `shadow-cljs: #N ready!` in console) - Connect to nrepl on 50655 - "Select" the `:app` build; - https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration - Conjure: `:ConjureShadowSelect app` - Plain REPL: Eval in CLJ mode `(shadow/repl :app)` - Consider running `yarn build-hot:cljs` and `yarn build-hot:js` in separate terminals; then when `yarn build-hot:js` crashes you don't have to reconnect your REPL. - The REPL works beautifully, even loading files outside the :entries of the shadow-cljs build like tests! "Stale" error in browser: - This can happen if the webpack bundle is created before the CLJS is done building. - If you ran `yarn build-hot:cljs` and `:js` separately, let `:cljs` finish compiling first. - If you see this otherwise: (a) contact Braden so it can be fixed; and (b) either restart `build-hot:js` or force webpack to rebuild by hitting http://localhost:8080/webpack-dev-server/invalidate Yarn commands: `dev`, `dev-ee`, `build-hot`, and `build-static-viz:watch` all now wait for the CLJS build to be complete by watching for files to be generated. They should work the same from a user's POV. (Since the webpack build no longer watches the CLJS output, it won't notice the changes and immediately rebuild after the first build. This avoids errors on the clean build, or "stale build" messages in the app from Shadow CLJS.) Fixes #32674.
-
- May 24, 2023
-
-
Uladzimir Havenchyk authored
* Fix tsconfig errors * fixup! Fix tsconfig errors --------- Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
-
- Mar 03, 2023
-
-
Mahatthana (Kelvin) Nomsawadi authored
Previously, JS files isn't picked up by VS Code, so they'll have limited intellisence. Also, Jest and Cypress has conflicting names e.g. `describe` or `expect`. So, this commit attempt to resolve that as well.
-
- Mar 01, 2023
-
-
Nemanja Glumac authored
* Register new E2E path alias * Move E2E support files * Move E2E runner files * Move E2E snapshot related files * Move E2E visual regression tests * Move E2E `downloads` scenarios * Move E2E `admin` scenarios * Move E2E `auditing` scenarios * Move E2E `bining` scenarios * Move E2E `ccollections` scenarios * Move E2E `cross-version` scenarios * Move E2E `custom-column` scenarios * Move E2E `dashboard` scenarios * Move E2E `dashboard-filters` scenarios * Move E2E `dashboard` reproductions * Move E2E `embedding` scenarios * Move E2E `filters` scenarios * Move E2E `joins` scenarios * Move E2E `models` scenarios * Move E2E `native-filters` scenarios * Move E2E `native` scenarios * Move E2E `onboarding` scenarios * Move E2E `organization` scenarios * Move E2E `permissions` scenarios * Move E2E `question` scenarios * Move E2E `visualizations` scenarios * Move E2E `sharing` scenarios * Move E2E `docker-compose` * Fix commands imports * Fix helpers imports * Fix downloads reproductions imports * Fix integration imports * Move visual regression tests * Various fixes * Move `validate-e2e-files` script * Add eslint rules for E2E folder * Improve file paths * Move `cross-version` tests into scenarios * Path fixes * Register E2E alias in tsconfig * Fix failing tests after rebase
-
- Jan 05, 2023
-
-
Anton Kulyk authored
* Remove not used `StaticEntitiesProvider` * Fix typos * Convert sample database fixture to TypeScript * Fix `EnhancedState` typing * Remove global eslint comment * Fix invalid import * Fix incorrect type
-
- Dec 14, 2021
-
-
Alexander Lesnenko authored
* tune admin nav and remove premium embedding offer * update SecretKeyWidget style
-
- Nov 30, 2021
-
-
Alexander Lesnenko authored
* add funnel static viz * prettier * support funnel formatting options, change measureText signature * fix tests * fix types * unhardcode legend text style * decrease static funnel step font size, fix warnings * update specs
-
- Oct 08, 2021
-
-
Alexander Kiselev authored
* set `allowJs` to true in tsconfig. This allows TS to infer types from JS files * added decorators
-
- Oct 07, 2021
-
-
Alexander Lesnenko authored
* add basic typescript configuration * convert a tiny hook use-debounced-value to typescript * allow any for now? * update terser and static viz configs * adjust config * change extension of QuestionActivityTimeline from jsx to js to match jest config * adjust config * skip failing tests * Fix missing question method in unit tests (#18314) * review fix * fix Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-