This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Nov 21, 2022
-
-
Nemanja Glumac authored
* Remove `cy2` (SorryCypress library) * Stop recording Cypress tests using Currents dashboard service
-
Nemanja Glumac authored
* Upgrade `jest` to the latest version (29.3.1) * Add `jest-environment-jsdom` as a separate package This was a breaking change since the version 28 * Upgrade `@types/jest` to the latest version * Upgrade `babel-jest` to the latest version * Upgrade `@testing-library/jest-dom` to the latest version * Upgrade `@types/testing-library__jest-dom` to the latest version * Upgrade `jest-localstorage-mock` to the latest version * Upgrade `jest-watch-typeahead` to the latest version * fix jest config for v29 * fix specs Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com>
-
- Nov 18, 2022
-
-
Alexander Polyankin authored
-
- Nov 16, 2022
-
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
- Nov 15, 2022
-
-
Nemanja Glumac authored
-
- Nov 11, 2022
-
-
Nemanja Glumac authored
-
- Nov 10, 2022
-
-
Luis Paolini authored
-
- Nov 09, 2022
-
-
Alexander Polyankin authored
-
Nemanja Glumac authored
* Upgrade `cypress/grep` library * Update Cypress config
-
- Nov 05, 2022
-
-
Luis Paolini authored
-
- Nov 02, 2022
-
-
Luis Paolini authored
-
Alexander Polyankin authored
-
- Nov 01, 2022
-
-
Alexander Polyankin authored
-
- Oct 26, 2022
-
-
Aleksandr Lesnenko authored
* dynamic row chart * fix bugs * test * fix ticks and labels were cut * bugfixes around ticks, data labels in certain chart states * fix bugs, polish * review * adapt settings * review, fix bugs * review * polish, specs * review * review * fix initial card size * fix crashing when settings code passes undefined as a metric dimension * specs
-
Alexander Polyankin authored
-
- Oct 21, 2022
-
-
Nemanja Glumac authored
-
- Oct 20, 2022
-
-
Nemanja Glumac authored
* Install `deploysentinel` Cypress analytics * Start recording Cypress runs on `master` using `deploysentinel`
-
- Oct 17, 2022
-
-
Luis Paolini authored
* Replace `isomorphic-fetch` with plain `XMLHttpRequest` * Remove `isomorphic-fetch` Co-authored-by:
Nemanja <31325167+nemanjaglumac@users.noreply.github.com>
-
- Oct 11, 2022
-
-
Aleksandr Lesnenko authored
* support static row chart on the backend * update and add types * update types * add chart columns helper, dataset grouping * add viz settings helpers * fix text measuring * add generic row chart component for static and dynamic rendering * update deps * fix jest config for d3 * allow importing cljs in static viz * add a hook for getting chart columns and series * add a static row chart * build cljs before static viz * specs * add stories, moved isomorphic row chart component to the shared folder * update import * fix backend merge * remove an extra line * one more extra line * exclude unused props from the row chart * cleanup * review * fix types * fix log scale * add visual spec, fix goal label truncate * review * fix mock path * fix specs
-
- Oct 07, 2022
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Basic static gauge chart * Add gauge segment min max labels * Add gauge segment label * Cleanup code * Fix React list key error * Remove hard-coded colors * Make the everything calculates at the gauge center * Make gauge segment data easier to understand * Example scaling chart to avoid label overflow * Avoid long labels overflow by scaling the gauge chart down * Match gauge needle color with the design * Fix hard coded gauge segment label anchor calculation * Fix static gauge chart not rotate gauge needle correctly * Add E2E for static gauge chart * Fix `transform-origin: center` not working with BE static chart * Truncate long segment label so charts can never be too small * Fix gauge segment not connected to each other * Static chart refactor part 1 * Final static gauge chart refactoring * Simplify clojure chart render function * Fix relative imports * Make overlapping gauge labels more legible * Make GaugeLabelData property orders consistent * Make a function easier to read * Make the calculation more correct though the behavior would still be the same * Separate presentational component out of the Gauge component * Remove unused tap> * Fix gauge chart not working on chart tester in internal static viz page * Fix gauge chart not rendered with Lato font * Improve internal page static chart tester option clarity * Support column settings in gauge charts * Add unit tests for static gauge chart utils * Address review * Fix unittest failure
-
- Sep 29, 2022
-
-
Nemanja Glumac authored
-
- Sep 28, 2022
-
-
Nemanja Glumac authored
* Upgrade Cypress to `v10.9.0` * Migrate Cypress plugins to the new config * Replace deprecated `ignoreTestFiles` option * Migrate `Cypress.json` to the new config * Extend the config * Upgrade `cypress-grep` library
-
- Sep 27, 2022
-
-
Nick Fitzpatrick authored
-
- Sep 09, 2022
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Render ordinal x-axis label 90deg instead of 45deg * Fix chart grid and x-axis size not equal when having left padding * Fix X-axis line covered by grid lines * Update static chart text size to match new designs * Handle 90deg rotated x-axis tick labels * Fix timeseries overlapping x-axis tick labels * Fix typo * Show data point circle to make reading line charts less confusing * Render data point circle only on visible data point values + fix types * Address review
-
- Aug 31, 2022
-
-
Anton Kulyk authored
* Remove `redux-logger` usage * Remove related lib file * Uninstall `redux-logger`
-
Mahatthana (Kelvin) Nomsawadi authored
* Handle negative bar data point value * Migrate static line chart values to Values component * Migrate static bar chart values to using Values component * Migrate static area chart values to using Values component * Fix stroke rendering * Fix multiseries value collision * Fix bar + y axis collision * Fix x-axis collision * Fix collision bug * Render chart last so it's above the Y axises * Fix value stroke collide with X-axis * Tidy up <Values /> and make it more readable * Fix auto compact formatting for stacked chart * Handle overlapping value with left Y-axis * `serie` -> `series`, and `series` -> `multipleSeries` So, it's grammatically correct. * Move some types to where they should belong * Add OutlinedText for static viz This is for <Text /> that has a stroke and has `pain-order: stroke`.
-
- Aug 30, 2022
-
-
Anton Kulyk authored
-
Anton Kulyk authored
-
- Aug 29, 2022
-
-
Jeff Bruemmer authored
-
- Aug 18, 2022
-
-
Aleksandr Lesnenko authored
* static viz measure text * update previous incorrect values in tests
-
- Aug 16, 2022
-
-
Aleksandr Lesnenko authored
* revert render throttling and remove the sidebar animation * skip the initial cards animation * extend comment
-
- Aug 08, 2022
-
-
Anton Kulyk authored
-
- Aug 05, 2022
-
-
Noah Moss authored
* Bump shadow-cljs This lets us use the template tag functionality ``` add experimental support for creating js template strings used like str but emits native JS `` template (js-template "foo" (+ 1 2) "bar") emits the literal `foo${(1 + 2)}bar` ``` But this required a few changes on our side as well. Required for this: -- LOGGING Bumped glogi ```diff ;; new stuff - [lambdaisland/glogi "1.0.106"]] - + [com.lambdaisland/glogi "1.1.144"]] ``` Annoying because it had a group name change due to Clojars policy. This had the same error as us below. That's why I'm hopeful that it will actually just work. There were some changes with the Google Closure library with things not included or referenceable. So I just removed these imports and the typehints that used them. We'll need to verify that this still works but both compiling for dev and release (with advanced compilation) work. Still possible there will be some runtime errors but i'm hopeful there wont be. We can grab a jar from CI and poke around ```shell ❯ npx shadow-cljs compile app shadow-cljs - config: /Users/dan/projects/work/metabase/shadow-cljs.edn shadow-cljs - connected to server [:app] Compiling ... [:app] Build completed. (100 files, 0 compiled, 0 warnings, 1.65s) metabase on nm-all-options-formatting [$!+?] via
v17.30 on metabase-query took 2s ❯ npx shadow-cljs release app shadow-cljs - config: /Users/dan/projects/work/metabase/shadow-cljs.edn shadow-cljs - connected to server [:app] Compiling ... [:app] Build completed. (100 files, 30 compiled, 0 warnings, 28.04s) ``` ```diff [lambdaisland.glogi.console :as glogi-console]) - (:require-macros metabase.shared.util.log) - (:import goog.debug.Logger - goog.debug.Logger.Level)) + (:require-macros metabase.shared.util.log)) ``` ```diff @@ -37,4 +35,4 @@ (defn is-loggable? "Part of the impl for [[metabase.shared.util.log/js-logp]] and [[metabase.shared.util.log/js-logf]]." [logger-name level] - (.isLoggable ^Logger (log/logger logger-name) ^Level (log/levels level))) + (.isLoggable (log/logger logger-name) (log/levels level))) ``` -- WARNINGS ABOUT shadowing `abs` - [medley "1.3.0"] + [medley "1.4.0"] Similar to what we bumped for the backend. ClojureScript 1.11.x has an `abs` function. * use update-keys and update-vals in cljs * bump clj-kondo in CI Co-authored-by:dan sutton <dan@dpsutton.com>
-
- Aug 02, 2022
-
-
Gustavo Saiani authored
-
- Aug 01, 2022
-
-
Alexander Polyankin authored
-
- Jul 20, 2022
-
-
Nemanja Glumac authored
* Install esbuild Cypress preprocessor * Register esbuild preprocessor in Cypress plugins * Remove Cypress webpack preprocessor * Remove webpack references from comments
-
- Jul 19, 2022
-
-
Aleksandr Lesnenko authored
* adjust font size on scalar cards * fix specs
-
- Jul 18, 2022
-
-
Nemanja Glumac authored
-
- Jul 13, 2022
-
-
Cal Herries authored
* logout when session expires, login when session appears * add setting UI * Add last_activity column to session table * Start implementing session middleware to check for expired sessions * Change last_activity field to include timezone offset * Update session middleware to check user activity timeout * Update last_activity after checking the timeout, or not at all if the setting is nil * Move session-timeout settings to server.middleware.session * Handcode timeout for testing * Fix migrations validation error * Fix whitespace * Change session timeout to use metabase.TIMEOUT cookie with expiry * Remove migration for last_activity column on session table * Revert changes to logout endpoint * Revert change to Session model pre-update * Remove tap> * Fix tests to include cookie value * Fix timeout when user is logged out. Timeout loop should only start when a user is logged in * Update comment and date format * Store the session-timeout setting as json and convert it to seconds on the fly * Set zoned date time to use GMT instead of default time zone * Refactor for testing * refactor session listener (#23686) * remove old session listener * Clear the timeout cookie when user signs out * Clear session cookie if the timeout cookie expires * fe tweaks * Update expires attribute for session and timeout cookies together * Reapply minimum limit on session-timeout * Rename functions and fix lint warnings * Fix resetting session-timeout * Fix sign out * Fix tests * Whitespace * Get full-app-embeds working * Add test for embedded session * session timeout ui tweaks * fix security issue * Fix test * Fix tests * Do not redirect to "/" if there isn't any redirect URL * Add test for session-cookies setting * Fix bug when toggling off timeout and adjust tests Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com> Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-