Skip to content
Snippets Groups Projects
  1. Sep 08, 2023
  2. Sep 05, 2023
    • Saurabh Kumar's avatar
      Update typography to be consistent and scaled properly (#3478) · 19d69d9a
      Saurabh Kumar authored
      Use reference scale from tailwind to update the styles of different
      headers.
      
      Overall the fonts for headers were little too large and they are now
      little scaled down so they don't look blown up.
      
      Sensible formatting is applied to form elements, esp. help-text is made
      smaller.
      
      Adminbar component used on even more pages.
      
      PS: A lot of files are touched and also a lot of code cleanup can still
      be done. So for now the best way to test this would be to navigate
      through the pages pages and find any obvious issues.
      Unverified
      19d69d9a
  3. Aug 11, 2023
    • Saurabh Kumar's avatar
      Add pre-commit with black,prettier and djhtml (#3502) · 4ce14204
      Saurabh Kumar authored
      - Add black, djhtml, prettier
      - Add precommit
      
      
      This PR add configurations for black, djhtml and prettier.
      
      - black is used for formatting python files
      - djhtml for formatting html files. Use `{# fmt: off #}` and `{# fmt: on
      #}` where needed.
      - prettier for formatting of sass,css,yml and js files
      
      Note: prettier picks up some of it's config from `.editorconfig`, so
      it's updated appropriately
      
      Formating of mardown files, minified or vendored js files are ignored.
      
      Formatting used off-the-self rules for better consistency with the
      community as large.
      
      The formatting is not applied to all the files as it will introduce a
      lot of merge conflict with
      current PRs, instead `pre-commit` config is provide which can be
      installed by `precommit install`
      locally. It will format only the modified files in the PR/commits. 
      
      Once majority of the current active PRs are either rebased & formatted
      using precommit or merged, we can
      run the `make fmt` on the full repo and activate additional prettier and
      black checks in our lint rules.
      
      The modified sass files fixes the eslint error that would came up if we
      were to apply the prettier formatter on them.
      
      Fixes #3500
      Unverified
      4ce14204
  4. Jul 13, 2023
  5. Jun 15, 2023
  6. Mar 20, 2023
  7. Feb 20, 2023
  8. Jan 03, 2023
  9. Dec 07, 2022
  10. Nov 17, 2022
  11. Nov 09, 2022
  12. Sep 01, 2022
  13. Jul 20, 2022
  14. Apr 14, 2022
  15. Mar 26, 2022
  16. Mar 16, 2022
  17. Mar 08, 2022
  18. Feb 28, 2022
  19. Feb 17, 2022
  20. Feb 12, 2022
  21. Feb 10, 2022
  22. Jan 31, 2022
  23. Jan 26, 2022
  24. Jan 13, 2022
  25. Dec 07, 2021
Loading