diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1ccece4f7..ed325c9a8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -11,3 +11,11 @@ - [ ] Commits follow the [conventional commits guideline](https://www.conventionalcommits.org/en/v1.0.0/) - [ ] No shorthand variable names are used (eg. `x`, `y`, `i` or any abbrevation) - [ ] Documentation is up to date. Create a pull request [here](https://github.com/homarr-labs/documentation/). +- [ ] When using AI; No temp files are checked in, the code style follows the rest of the project + +**When contributing a new integration or widget:** + +- [ ] I confirmed manually that the integration or widget is working with a real system and performed basic smoke + tests (e.g. what happens if it is offline) +- [ ] Optional but recommended: I confirm that I am willing to be added to the `CODEOWNERS` of this feature and will + provide support and maintain the integration (e.g. in case of breaking or failure) \ No newline at end of file diff --git a/apps/docs/docs/getting-started/installation/helm.md b/apps/docs/docs/getting-started/installation/helm.md index 1f6aa6e9e..039f76ed4 100644 --- a/apps/docs/docs/getting-started/installation/helm.md +++ b/apps/docs/docs/getting-started/installation/helm.md @@ -2,9 +2,9 @@ homarr logo -![Version: 8.21.0](https://img.shields.io/badge/Version-8.21.0-informational?style=flat) +![Version: 8.22.0](https://img.shields.io/badge/Version-8.22.0-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) -![AppVersion: v1.69.2](https://img.shields.io/badge/AppVersion-v1.69.2-informational?style=flat) +![AppVersion: v1.70.0](https://img.shields.io/badge/AppVersion-v1.70.0-informational?style=flat) A Helm chart to deploy homarr for Kubernetes @@ -429,7 +429,7 @@ All available values are listed on the [artifacthub](https://artifacthub.io/pack | httproute.rules[0].matches[0].path.value | string | `"/"` | Path value to match | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | image.repository | string | `"ghcr.io/homarr-labs/homarr"` | Image repository | -| image.tag | string | `"v1.69.2"` | Overrides the image tag whose default is the chart appVersion | +| image.tag | string | `"v1.70.0"` | Overrides the image tag whose default is the chart appVersion | | imagePullSecrets | list | `[]` | Secrets for Docker registry | | ingress.annotations | object | `{}` | Ingress annotations | | ingress.enabled | bool | `false` | Enable ingress | diff --git a/apps/docs/docs/widgets/notebook/index.mdx b/apps/docs/docs/widgets/notebook/index.mdx index 5728e0113..393137ed2 100644 --- a/apps/docs/docs/widgets/notebook/index.mdx +++ b/apps/docs/docs/widgets/notebook/index.mdx @@ -1,29 +1,25 @@ --- -title: 'Notebook' -description: 'A simple notebook widget that supports markdown.' +title: "Notebook" +description: "A simple notebook widget that supports markdown." hide_title: true --- -import { AddingWidget } from '@site/src/components/widgets/adding'; -import { WidgetConfig } from '@site/src/components/widgets/configuration'; -import { WidgetHeader } from '@site/src/components/widgets/header'; -import { notebookWidget } from '.'; +import { AddingWidget } from "@site/src/components/widgets/adding"; +import { WidgetConfig } from "@site/src/components/widgets/configuration"; +import { WidgetHeader } from "@site/src/components/widgets/header"; +import { notebookWidget } from "."; + - - -The notebook widget focuses on usability and is designed to be as simple as possible to bring a familiar editing experience to regular users. +The notebook widget focuses on usability and is designed to be as simple as possible to bring a familiar editing experience to regular users. It is based on Tiptap.dev and supports most of its features. ### Screenshots -import editOff from './img/normal.png'; -import editOn from './img/edit.png'; +import editOff from "./img/normal.png"; +import editOn from "./img/edit.png"; -
+
notebook edit-off notebook edit-on
@@ -33,24 +29,27 @@ import editOn from './img/edit.png'; ### Configuration + ### Editing + When the permissions of the user allows it, you can enter the editing of the text by clicking the following button in the top right. ![](./img/notebook-enter-editing.webp) - You can then decide to save your changes or cancel them to exit editing, using the buttons placed in the same location. ![](./img/notebook-exit-editing.webp) ### Notebook toolbar functions -The notebook offers a variaty of functions to edit the text and more. + +The notebook offers a variety of functions to edit the text and more. ![](./img/notebook-toolbar.webp) #### Common text formatting + | Function | Description | | ---------------------- | ------------------------------------------------------------------- | | Bold | Makes the selected text bold | @@ -62,35 +61,51 @@ The notebook offers a variaty of functions to edit the text and more. | Clear formatting | Erases any of the preceding function's effects on the selected text | #### Heading + Choose a heading size for the line, making the text bigger. Working like titles and sub-titles. -#### Text Alignement -Select the alignement on the line. Left, center or right. +#### Text Alignment + +Select the alignment on the line. Left, center or right. + +#### Text direction + +Set the current paragraph or heading to left-to-right or right-to-left. This is useful when writing right-to-left text while Homarr is using a left-to-right language, or vice versa. #### Misc functions + ##### Blockquote + Puts the current line in a quoting block. ##### Horizontal line + Adds a line that goes from the far right to the far left as a separator. #### Lists + ##### Bullet lists + Simple list with a dot preceding each element. ##### Ordered lists + List with numbers preceding each element. ##### Check lists + List with a checkbox on each element. ##### Indentation changes + ![](./img/notebook-toolbar-lists.webp) When you are currently in a list of any sort, the last 2 buttons will appear and will allow you to change the indentation of the current list item. #### Insert functions + ##### Link controls + The first buttons is to insert a link, or edit an existing link. The link will be applied on the selected text. Pasting a link directly into the text will automatically put the link anchor on it too. @@ -102,16 +117,20 @@ The second button will remove the link while leaving the text intact. This is the modal for the link, The little button in the textbox can be clicked to make the link open in a new tab. ##### Image controls + ![](./img/notebook-image-modal.webp) ##### Source + You can use a normal link to an image or you can also use locally stored images. ##### Width + The aspect ratio will always be respected, so only the width field is necessary. You can provide a value in a plain number or you can also use percents to have your image size dynamically change on different screens. #### Table + This last control allows you to add a table, for which you can determine the number of columns and row before inserting it. ![](./img/notebook-table-modal.webp) @@ -119,6 +138,7 @@ This last control allows you to add a table, for which you can determine the num Clicking that button while in a table will delete it. ##### Table controls + ![](./img/notebook-toolbar-table.webp) While in a table, further controls will appear to help edit the table. @@ -134,4 +154,4 @@ All the following ones are for editing the wize of the table: - Delete Column - Add row on top - Add row below -- Delete Row \ No newline at end of file +- Delete Row diff --git a/apps/docs/package.json b/apps/docs/package.json index 586fa53b6..da3a8a1cd 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -43,7 +43,7 @@ "random-word-slugs": "^0.1.7", "react": "catalog:", "react-dom": "catalog:", - "swiper": "^14.0.1", + "swiper": "^14.0.2", "tailwindcss": "^4.3.2" }, "devDependencies": { diff --git a/apps/nextjs/src/app/[locale]/init/_steps/import/file-info-card.tsx b/apps/nextjs/src/app/[locale]/init/_steps/import/file-info-card.tsx index 8a3a14fb4..c947719c2 100644 --- a/apps/nextjs/src/app/[locale]/init/_steps/import/file-info-card.tsx +++ b/apps/nextjs/src/app/[locale]/init/_steps/import/file-info-card.tsx @@ -2,7 +2,7 @@ import { ActionIcon, Button, Group, Text } from "@mantine/core"; import type { FileWithPath } from "@mantine/dropzone"; import { IconPencil } from "@tabler/icons-react"; -import { humanFileSize } from "@homarr/common"; +import { formatBytes } from "@homarr/common"; import { useScopedI18n } from "@homarr/translation/client"; import { InitStepCard } from "../../_components/init-step-card"; @@ -22,7 +22,7 @@ export const FileInfoCard = ({ file, onRemove }: FileInfoCardProps) => { {file.name} - {humanFileSize(file.size)} + {formatBytes(file.size)}