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.
      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
      4ce14204
  4. Jul 13, 2023
  5. Jun 15, 2023
  6. Apr 10, 2023
  7. Mar 20, 2023
  8. Feb 22, 2023
  9. Feb 20, 2023
  10. Feb 01, 2023
  11. Dec 07, 2022
  12. Apr 14, 2022
  13. Mar 16, 2022
  14. Mar 11, 2022
  15. Mar 08, 2022
  16. Feb 10, 2022
  17. Jan 31, 2022
  18. Jan 26, 2022
  19. Dec 07, 2021
  20. Sep 23, 2021
  21. Sep 15, 2021
  22. Jul 08, 2021
  23. Jul 07, 2021
  24. May 18, 2021
  25. Apr 30, 2021
  26. Mar 24, 2021
  27. Feb 16, 2021
Loading