Platform for Mozilla Support
Перейти к файлу
smith 01b2e16f7d
Topic cards revised to show three articles (#6471)
* Improved topic cards now show three articles, with new design (#6408)

* Improved topic card now show three top articles
* Alter the help_topics macro to support showing three articles
* Add show more section with sectional line above
* Add logic to the product_landing view to return docs and counts
* A utility function builds the topics_context for the cards
* Fix card scroll for topic cards on mobile
* Topics can only wrap once before being cut off with ellipses
* Use query annoation in `utils.py` to gather topics
* Use `chain` and `islice` to ensure proper doc order and count
* Removed unneeded comments
* Improved db impact of `get_featured_articles` by handling filters
in memory.
* Corrected various other requested items
* Accept all topics in call to get_featured_articles and limit db hits
* Remove unneeded distinct()
2025-01-29 11:01:10 -05:00
.circleci Set setup_remote_docker to default 2024-04-08 16:38:45 +03:00
.devcontainer Updated devcontainer.json to comply with vscode requirements 2024-01-09 09:48:25 -05:00
.github Skip build-and-push GAR workflow on forks (#6430) 2025-01-07 11:04:18 -08:00
.vscode vscode launch.json upgrade (#5967) 2024-04-29 15:53:40 -04:00
bin optipng won't compile on mac silicon (#5581) 2024-05-02 14:14:02 -07:00
configs Remove Vagrant. 2017-11-20 12:50:28 +02:00
docker flip the switch to postgres (#5609) 2023-11-09 13:33:32 -08:00
docs Removed documentation of The search suggest API (/api/2/search/suggest/) as it no longer exists 2025-01-22 17:20:00 +05:30
jsi18n Collect jsi18n files via staticfiles to get hashed filenames. 2016-02-23 18:17:29 -08:00
kitsune Topic cards revised to show three articles (#6471) 2025-01-29 11:01:10 -05:00
media Update base template code/styles based on new mockups for support.mozilla.org re-design. (#3243) 2018-09-18 16:35:34 -05:00
playwright_tests - Expand the _submit_new_kb_revision() so it can also mark the revision as "needs change", "ready for localization" and significance type. Also created a new defer_revision() function which should handle deferring the article revisions. 2025-01-15 00:25:51 +02:00
scripts flip the switch to postgres (#5609) 2023-11-09 13:33:32 -08:00
styleguide Wording menu updates 2024-07-17 17:11:50 +03:00
svelte update all libraries and pre-commit hooks 2024-01-12 12:04:56 -08:00
webpack introduce AlpineJS and HTMX 2024-12-17 14:45:04 +02:00
wsgi Update gunicorn for AWS 2022-12-15 17:37:33 +02:00
.adr-dir add ADRs 2019-01-10 13:15:06 -05:00
.dockerignore Merge branch 'main' into webpack 2021-12-16 12:44:14 +00:00
.editorconfig Remove editorconfig rules for .travis.yml file 2020-08-20 16:50:08 +00:00
.env-build move build pipeline to circleci (#4923) 2021-12-07 11:57:44 +00:00
.env-dist Use django-silk for profiling 2024-08-16 16:51:33 +03:00
.env-test flip the switch to postgres (#5609) 2023-11-09 13:33:32 -08:00
.eslintrc Fix eslint problems. 2015-12-15 15:23:27 -08:00
.gitignore Update gitignore 2024-10-09 10:38:34 +03:00
.nvmrc Remove prepare_django_assets script 2021-07-14 15:21:02 +03:00
.pre-commit-config.yaml update pre-commit config plus black,flake8 2024-10-17 10:36:54 -07:00
.stylelintrc Add stylelint config 2019-11-27 18:33:10 +01:00
CODE_OF_CONDUCT.md Update Code of Conduct. 2019-03-28 13:37:48 +02:00
CONTRIBUTORS.rst Replace manually curated list of contributors with link to generated versions. 2015-05-21 14:07:01 -07:00
Dockerfile Switch to latest version of Python 3.11 2024-02-22 11:56:29 +02:00
LICENSE Fix a thing Ricky found that I missed when I fixed the other issue 2013-04-05 16:06:06 -04:00
Makefile optipng won't compile on mac silicon (#5581) 2024-05-02 14:14:02 -07:00
README.md Update relaese procedure 2024-05-16 18:31:51 +03:00
babel.cfg Remove django-adminplus 2022-11-22 13:39:07 +00:00
babeljs.cfg fix extraction from javascript files 2023-05-18 16:44:22 -07:00
contribute.json Update contribute.json docs URLs 2024-04-03 19:45:32 +02:00
docker-compose.yml Drop version from compose file. 2024-04-02 15:26:55 +03:00
manage.py Remove django-celery dependency 2020-05-29 16:29:53 +03:00
mkdocs.yml Copy to clipboard 2023-11-23 17:07:24 +02:00
newrelic.ini disable package reporting on agent startup 2024-01-10 16:43:07 -08:00
package-lock.json Make AlpineJS CSP friendly (#6453) 2025-01-15 10:57:11 -08:00
package.json Make AlpineJS CSP friendly (#6453) 2025-01-15 10:57:11 -08:00
poetry.lock Change Image.ANTIALIAS to Image.Lanczos (#6477) 2025-01-29 10:56:28 -05:00
postcss.config.js replicate existing postcss setup in webpack (#4840) 2021-07-13 14:34:23 +01:00
pyproject.toml Change Image.ANTIALIAS to Image.Lanczos (#6477) 2025-01-29 10:56:28 -05:00
setup.cfg Remove pytest and nose throughout the project. 2022-03-10 15:08:23 +02:00
webpack.common.js Replace selectize with tom-select 2024-10-31 13:45:12 +02:00
webpack.dev.js upgrade node to lts, and upgrade dependencies (#4977) 2022-01-11 15:43:26 +00:00
webpack.pre-render.js s/mobile/store slug 2022-10-27 17:27:15 +03:00
webpack.prod.js do gzip and brotli compression in webpack 2022-03-10 15:08:23 +02:00
webpack.test.js remove react and @babel/plugin-transform-react-jsx 2023-02-09 16:51:59 -08:00

README.md

Kitsune

Status Sustain

Kitsune is the platform that powers SuMo (support.mozilla.org)

Usage

It is a Django application. There is documentation online.

Releasing a new version

  • Create a signed tag for the new version.

    We are using semantic versioning.

    Given a version number MAJOR.MINOR.PATCH, increment the:

    MAJOR version when you make incompatible API changes
    MINOR version when you add functionality in a backward compatible manner
    PATCH version when you make backward compatible bug fixes
    

    Example:

    git tag -s 1.0.1 -m "Bump version: 1.0.0 to 1.0.1

  • Draft a new release in GitHub for the new tag. Document the highlights of the release and also use the option to automatically document the release through the commit history.

  • Trigger the release for the specified tag in the deploy repository.

[!TIP] You can access the staging site at https://support.allizom.org/.

Code of Conduct

By participating in this project, you're agreeing to uphold the Mozilla Community Participation Guidelines. If you need to report a problem, please see our Code of Conduct guide.

Contribute

See our contribution guide, or dive into setting up your development environment.

Issues

We use Bugzilla for submitting and prioritizing issues.

Thanks to all of our contributors ❤️