Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Apr 04, 2024
  2. Apr 03, 2024
  3. Apr 02, 2024
    • dpsutton's avatar
      Creator sentiment emails iterate (#40922) · 12ea8d42
      dpsutton authored
      * Send creator emails every week
      
      mod the email by 52 instead of by 12 and use the current week as an
      anchor
      
      ```clojure
      user=> (require '[java-time.api :as t])
      nil
      user=> (let [every-day (take 1000 (t/iterate t/plus (t/local-date 2024 1 1) (t/days 1)))
                   f         (fn [d]
                               (let [wf (java.time.temporal.WeekFields/of (java.util.Locale/getDefault))]
                                 (.get d (.weekOfWeekBasedYear wf))))]
               (sort (keys (frequencies (map f every-day)))))
      (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
       22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
       40 41 42 43 44 45 46 47 48 49 50 51 52)
      ```
      
      ```clojure
      user=> (metabase.util.cron/cron-string->schedule-map "0 0 2 ? * 7")
      {:schedule_minute 0,
       :schedule_day "sat",
       :schedule_frame nil,
       :schedule_hour 2,
       :schedule_type "weekly"}
      ```
      
      * fix typo in creator sentiment email, clean up a bit
      
      typo: had `:verison` instead of `version`.
      
      And while I'm in there, make the payload all in one file and have the
      email namespace json->bytes->b64-encode so the data is all in one place
      and the setting that allows it to be present or not is co-located.
      Unverified
      12ea8d42
    • Nick Fitzpatrick's avatar
      command palette trigger in app bar search (#40747) · 32c0bf9e
      Nick Fitzpatrick authored
      * command palette trigger in app bar search
      
      * remove tabbing to the trigger button
      Unverified
      32c0bf9e
    • Nemanja Glumac's avatar
      SQL in a sidebar - Milestone 2: Visual tweaks (#40694) · e36669d9
      Nemanja Glumac authored
      * Move all notebook containers styles to one place
      
      * Make NotebookStep wide again
      
      * Tweak sidebar width and breakpoints
      
      * Remove top margin from NotebookSteps
      
      * Stop line wrapping in an ace editor
      
      * Uniform width between step header and step body
      
      * Remove stray styles
      
      * Scroll content independently
      
      * Use named export
      
      * Use Mantine button for "Visualize"
      
      * Convert notebook step width to rem
      
      * Adjust the position of the step close button
      
      * Adjust notebook step max-width to 1200px
      
      * Remove the `cx` where not needed
      
      * Use HTML 5 `aside` element for the sidebar
      
      * Use Mantine responsive styles
      
      * Fix E2E test
      Unverified
      e36669d9
    • Denis Berezin's avatar
      CI for Embedding SDK (#40629) · 9526eaa9
      Denis Berezin authored
      Unverified
      9526eaa9
Loading