-
Notifications
You must be signed in to change notification settings - Fork 0
102 minor readme fixes #130
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,14 +5,14 @@ This document describes how we have worked to ensure the quality of the applicat | |
| ## Quality aspects | ||
|
|
||
| - Work practices: [Work practices](#work-practices) | ||
| - Testing: [Testing](#testing) | ||
| - Testing: [Testing](#method-behind-testing) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hvorfor endret vi navn |
||
| - Accessibility: [Accessibility](#accessibility) | ||
| - Sustainable web development: [Sustainable web development](#sustainable-web-development) | ||
| - Design choices: [Design choices](#design-choices) | ||
|
|
||
| ### Continuous integration | ||
|
|
||
| GitHub Actions ([.github/workflows/ci.yml](.github/workflows/ci.yml)) runs on every pull request and on every push to `main`. It checks the formatting with Prettier, and runs lint, tests for both the backend and the frontend. | ||
| GitHub Actions ([.github/workflows/ci.yml](../.github/workflows/ci.yml)) runs on every pull request and on every push to `main`. It checks the formatting with Prettier, and runs lint, tests for both the backend and the frontend. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. *and e2e testing. Notably these can only be run in terminal while connected to the VM and will fail in git due to the connection need for backend. |
||
|
|
||
| ## Work practices | ||
|
|
||
|
|
@@ -55,7 +55,7 @@ The app includes the following accessibility features: | |
|
|
||
| - **axe DevTools:** Axe Accessibility Testing found no automatic accessibility issues on the page when tested against WCAG 2.1 AA. | ||
|
|
||
| - **Colour contrast:** We tested the contrast between our chosen colours to help ensure that text and interface elements are distinguishable from their backgrounds. | ||
| - **Colour contrast:** We tested the contrast between our chosen colours to help ensure that text and interface elements are distinguishable from their backgrounds using a contrast checker. The contrast checker checked our colours pass WCAG 2.1 accessibility guidelines. This was also tested in the e2e test for both dark and light mode see [tests.md](tests.md#accessibility). | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we tested using both manuall testin, e2e testing, lighthouse and a clor checker to test the contrast between our chosen colours to help ensure that text and interface elements are distinguishable from their background |
||
|
|
||
| - **Language support:** The application supports both Norwegian and English, allowing users to choose their preferred language. The accessible names of buttons and landmarks, such as the menu buttons and the sidebar navigation, are translated too, so screen readers read them in the chosen language. | ||
|
|
||
|
|
@@ -84,7 +84,7 @@ and our approach to data handling. | |
|
|
||
| - **Figma prototype:** Before development began, we created a prototype in Figma to establish a shared visual direction and agree on the layout and appearance of the application. This gave the group a common starting point before implementation. | ||
|
|
||
| - **Colour palette and contrast:** We used a limited colour palette to maintain a consistent visual identity across the application. We also checked the contrast between our chosen colours to help ensure that text and other interface elements remain distinguishable. | ||
| - **Colour palette and contrast:** We used a limited colour palette to maintain a consistent visual identity across the application. We also checked the contrast between our chosen colours to help ensure that text and other interface elements remain distinguishable and in line with accessibility requirements. See [Accessibility](#accessibility). | ||
|
|
||
| - **Reusable components:** We used reusable React components to maintain a consistent interface and avoid duplicating code. For example, the Header and Sidebar are shared across pages, while components such as plant cards are used to present plant information consistently. The page navigation (`Pagination`) and the sort menu (`SortMenu`) are separate components used on both Explore Plants and My Matches, so the two pages look and work the same way. The filter dropdowns (`FilterSelect`) are also a separate component, and the filters on Explore Plants are defined in one list, so a new filter only needs one new line. This makes the application easier to maintain and allows changes to be made in one place. | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
legg til dette ?: This was activly choosen as we felt it was more important to have a quick way to start the app, then to be able to access the data from multiple devices
kansje også flytte til design choices i quality.md