Skip to content
Snippets Groups Projects
  1. Dec 09, 2024
  2. Dec 03, 2024
  3. Oct 22, 2024
  4. Oct 17, 2024
    • Saurabh Kumar's avatar
      Use pre-commit in ci to check for lint issues (#4110) · 8b9c8c85
      Saurabh Kumar authored
      - Add eslint and stylint to pre-commit
      - Update .github workflow
      - upgrade ruff
      - Make mirror-eslint work (ps: it doesn't seem to find the "globals"
      package if not installed with npm install explicitly
      - Add timeout to each task
      8b9c8c85
  5. Oct 15, 2024
  6. Oct 10, 2024
  7. Sep 09, 2024
    • Saurabh Kumar's avatar
      Update makefile, auto-help and better serve (#4109) · c20578f6
      Saurabh Kumar authored
      
      - The current make -j parallelization doesn't kill the remaining process
      when one of them errors out, the causes confusion if let's css/js is not
      building.
      
      - This PR also refractors the help target to use comment based generator
      which is more maintainable.
      
      - Update the node scripts to not require `collectstatic` during
      development, the runserver -> static server can find all the all files
      from packages and serve them on demand.
      - `make serve` now also installs python & node packages and builds the
      static_src if they are outdated.
      
      ---------
      
      Co-authored-by: default avatarFredrik Jonsson <frjo@xdeb.org>
      c20578f6
  8. Aug 28, 2024
    • Wes Appler's avatar
      Update htmx to 2.x (#4102) · 81e1245d
      Wes Appler authored
      Fixes #4094. 
      
      ~~For some reason, when combining other triggers with
      `revealed` the revealed trigger itself breaks while others remain fine.
      Swapping for the `intersect once` trigger resolved this but I'm not
      exactly sure why. Also not sure if moving forward for consistency we
      should use `intersect` instead of `revealed`. @theskumar any thoughts?~~
      
      Updated htmx from v1.9.12 -> v2.0.2 to fix the usage of multiple tags
      breaking `revealed`. Tested locally and there doesn't seem to be any
      major breaking changes.
  9. Jun 26, 2024
  10. Jun 04, 2024
  11. Feb 22, 2024
    • Fredrik Jonsson's avatar
      Flatten static src dirs (#3781) · 7674ce5a
      Fredrik Jonsson authored
      Removes the "src" and "apply" sub directory levels resulting in a more
      flat directory structure for static assets.
      
      No changes in functionality should be a result of this. It is only to
      make it easier for developers to move around the code base.
      7674ce5a
  12. Feb 09, 2024
    • Saurabh Kumar's avatar
      Fix homepage title and upgrade tailwind to 3.4.x (#3765) · a27589ef
      Saurabh Kumar authored
      After removal of the public site, the apply homepage no longer displayed
      the page title.
      This PR fix the homepage to include page title.
      
      Also, adds a subtle hover state to each of the fund list to improve it
      UX.
      
      Updgraes tailwindcss to 3.4 to make use of `text-balance` and
      `text-pretty` classes
      a27589ef
  13. Feb 06, 2024
    • Saurabh Kumar's avatar
      Remove public site (#3738) · 2db6a274
      Saurabh Kumar authored
      
      - Keeps the migrations to delete the public tables
      - Updates and adds a global footer (admin configurable)
      - Update the layout of homepage
      
      Fixes #3110 #3559
      
      
      ## Test Steps
      
      - [ ] Remove the public site, go to "Wagtail Admin" > "Pages", set the
      "Apply Home Page" as the default page of the site. Remove the public
      site page
       - [ ] Do regression of the whole site
      
      ---------
      
      Co-authored-by: default avatarWes Appler <wes@opentech.fund>
      2db6a274
  14. Dec 10, 2023
  15. Sep 08, 2023
  16. 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
  17. 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
  18. Jul 13, 2023
  19. Jun 15, 2023
  20. Apr 10, 2023
  21. Mar 20, 2023
  22. Feb 22, 2023
  23. Feb 20, 2023
  24. Feb 01, 2023
  25. Dec 07, 2022
  26. Apr 14, 2022
  27. Mar 16, 2022
  28. Mar 11, 2022
  29. Mar 08, 2022
  30. Feb 10, 2022
  31. Jan 31, 2022
Loading