- Dec 09, 2024
-
-
Fredrik Jonsson authored
This makes sass sourcemaps work in development.
-
- Dec 03, 2024
-
-
Fredrik Jonsson authored
-
- Oct 22, 2024
-
-
Saurabh Kumar authored
Additionally, - update pre-commit -> prettier to run before linting with eslint and stylelint Fixes https://github.com/HyphaApp/hypha/issues/4153
-
- Oct 17, 2024
-
-
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
-
- Oct 15, 2024
-
-
Wes Appler authored
In some of the translation features I was using optional chaining & eslint would toss errors saying it was invalid despite it working. This led me to exploring the config to find the [yaml config we used was depreciated](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated). This PR updates to a newer version of eslint & migrates the config to the [flat file version](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-file) (and now optional chaining is recognized
). Some code changes that came with the updated linting: - [As of ES6](https://262.ecma-international.org/6.0/#sec-strict-mode-code) modules are always in strict mode, thus `"use strict"` isn't needed - Removed unused var - Removed unneeded `eslint-disable` comment There are also a ton of JSDoc warnings now - I was going to remove them but I think JSDoc is actually a weak point in our code documentation so maybe the in-terminal annoyances will be a good reminder to do a quick write up
-
- Oct 10, 2024
-
-
Fredrik Jonsson authored
-
- Sep 09, 2024
-
-
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:
Fredrik Jonsson <frjo@xdeb.org>
-
- Aug 28, 2024
-
-
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.
-
- Jun 26, 2024
-
-
Fredrik Jonsson authored
-
- Jun 04, 2024
-
-
Fredrik Jonsson authored
Update the Browserslist and the "npx" command is not needed when running commands in scripts.
-
- Feb 22, 2024
-
-
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.
-
- Feb 09, 2024
-
-
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
-
- Feb 06, 2024
-
-
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:
Wes Appler <wes@opentech.fund>
-
- Dec 10, 2023
-
-
Saurabh Kumar authored
- Use `.python-version` and `.nvmrc` in CI script, single source of truth - Update version of python and node. - Update version of alpinejs, htmx and other build js - Update minor versions of python dependencies
-
- Sep 08, 2023
-
-
Saurabh Kumar authored
Easier way to check and fix formatting issues if don't want to go precommit hooks route
-
Saurabh Kumar authored
Add black and prettier check to lint
-
- Sep 05, 2023
-
-
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.
-
- Aug 11, 2023
-
-
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
-
- Jul 13, 2023
-
-
Fredrik Jonsson authored
-
- Jun 15, 2023
-
-
Saurabh Kumar authored
Fixes #3430 - [x] Simplified code - [x] Use postgres FTS search - [x] Improve UX for filters - [x] Improve submission listing - [x] Add filter for submission date, OTF have asked about this. - [x] Add submission ID search, see https://github.com/HyphaApp/hypha/pull/3294 - [x]
Make sure the batch actions are working - [x] Permissions check for batch actions - [x] Ensure search index works after submissions is updated - [x] ~Integrate Django messages framework with htmx responses~ (Not needed) - [x] [Fix Polynomial regular expression used on uncontrolled data](https://github.com/HyphaApp/hypha/security/code-scanning/74 ) - [ ] make bulk update status working, currently it's hidden. --------- Co-authored-by:Fredrik Jonsson <frjo@xdeb.org>
-
- Apr 10, 2023
-
-
Fredrik Jonsson authored
Fixes: #3112 --------- Co-authored-by:
Saurabh Kumar <theskumar@users.noreply.github.com>
-
- Mar 20, 2023
-
-
Saurabh Kumar authored
Fixes #ISSUEID Introduce tailwindcss[1] utilities and django-web-component[2] for frontend design isolation and reusability. Notes: - Saas rules take preference over the tailwind (we might want to change it) - In the future, the saas should be depreciated, and reusable classes should be updated to use tailwindcss [1] https://tailwindcss.com/ [2] https://github.com/Xzya/django-web-components --------- Co-authored-by:
Fredrik Jonsson <frjo@xdeb.org>
-
- Feb 22, 2023
-
-
Saurabh Kumar authored
- Add htmx integration - Add hx-boost for header nav; it degrades gracefully! Configure https://github.com/rstacruz/nprogress to show progress on ajax activities. Note: django-htmx is not used right now but will be used to add more htmx-based functionalities.
-
Saurabh Kumar authored
Also, update the look of the dropdown.
-
- Feb 20, 2023
-
-
Sandeep Chauhan authored
Partial Fix #3127 --------- Co-authored-by:
Fredrik Jonsson <frjo@xdeb.org>
-
- Feb 01, 2023
-
-
Fredrik Jonsson authored
…dev so files from dev packages are collected as well. Mainly django-debug-toolbar.
-
- Dec 07, 2022
-
-
Fredrik Jonsson authored
Fixes #3074 The React app or "three column view" was built for an organisation that no longer use Hypha. No current implementors use it. Removing it simplifies Hypha quite a bit. Co-authored-by:
Saurabh Kumar <theskumar@users.noreply.github.com>
-
- Apr 14, 2022
-
-
Fredrik Jonsson authored
-
- Mar 16, 2022
-
-
Fredrik Jonsson authored
-
- Mar 11, 2022
-
-
Fredrik Jonsson authored
-
- Mar 08, 2022
-
-
Fredrik Jonsson authored
-
Fredrik Jonsson authored
-
vimal1083 authored
-
vimal1083 authored
-
vimal1083 authored
-
vimal1083 authored
-
vimal1083 authored
-
vimal1083 authored
-
- Feb 10, 2022
-
-
vimal1083 authored
-
- Jan 31, 2022
-
-
Fredrik Jonsson authored
-