diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 5762ec99..4e2060b6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,10 +1,9 @@ --- name: Bug report about: Create a report to help us improve -title: '' -labels: '' +title: "" +labels: "" assignees: amir20 - --- **Describe the bug** @@ -12,6 +11,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -24,9 +24,10 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - - OS: [e.g. iOS, Windows or Mac Os] - - Docker version [e.g. `docker version`'s output] - - Browser & version [e.g. chrome, safari] - - Version [e.g. 1.26.1. Can be found at `/version`] + +- OS: [e.g. iOS, Windows or Mac Os] +- Docker version [e.g. `docker version`'s output] +- Browser & version [e.g. chrome, safari] +- Version [e.g. 1.26.1. Can be found at `/version`] **If applicable include logs with `--level debug` and browser logs** diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index dc1a1efc..c1615435 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,10 +1,9 @@ --- name: Feature request about: Suggest an idea for this project -title: '' +title: "" labels: enhancement assignees: amir20 - --- **Is your feature request related to a problem? Please describe.** diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..25b0a2ce --- /dev/null +++ b/.prettierignore @@ -0,0 +1,5 @@ +auto-imports.d.ts +components.d.ts +docs/.vitepress/cache +docs/.vitepress/dist +dist diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 813d515d..fa4f723a 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation. Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting ## Our Responsibilities diff --git a/assets/components/FuzzySearchModal.vue b/assets/components/FuzzySearchModal.vue index 298a2315..7d2b951d 100644 --- a/assets/components/FuzzySearchModal.vue +++ b/assets/components/FuzzySearchModal.vue @@ -109,8 +109,8 @@ function addColumn(container: Container) { .panel { min-height: 200px; width: auto; - margin-left: 0.25rem!important; - margin-right: 0.25rem!important; + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; } } diff --git a/assets/composables/settings.ts b/assets/composables/settings.ts index efb00a9a..92ffc9f2 100644 --- a/assets/composables/settings.ts +++ b/assets/composables/settings.ts @@ -87,5 +87,5 @@ export { menuWidth, size, search, - settings + settings, }; diff --git a/assets/modules/pinia.ts b/assets/modules/pinia.ts index 2dd87fa5..e31dcc44 100644 --- a/assets/modules/pinia.ts +++ b/assets/modules/pinia.ts @@ -1,8 +1,7 @@ import { type App } from "vue"; import { createPinia } from "pinia"; - -export const install = (app:App) => { +export const install = (app: App) => { const pinia = createPinia(); app.use(pinia); }; diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 0a3ac3b0..6c0a7d9e 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -1,6 +1,7 @@ --- title: Getting Started --- + # Getting Started This section will help you to setup Dozzle locally. Dozzle can also be used to connect to remote hosts via `tcp://` and tls. See remote host if you want to connect to other hosts. @@ -14,10 +15,11 @@ docker run --detach --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8 ``` ## Using Docker Compose + Docker compose makes it easier to configure Dozzle as part of an existing configuration. ```yaml -version: '3' +version: "3" services: dozzle: container_name: dozzle diff --git a/docs/guide/what-is-dozzle.md b/docs/guide/what-is-dozzle.md index bb910bcd..27430be5 100644 --- a/docs/guide/what-is-dozzle.md +++ b/docs/guide/what-is-dozzle.md @@ -1,6 +1,7 @@ --- title: What is Dozzle? --- + # What is Dozzle? Dozzle is open-sourced project sponsored by Docker OSS. It is a log viewer designed to simplify the process of monitoring and debugging containers. It is a lightweight, web-based application that provides real-time log streaming, filtering, and searching capabilities through an intuitive user interface. @@ -8,5 +9,3 @@ Dozzle is open-sourced project sponsored by Docker OSS. It is a log viewer desig Users can quickly and easily access logs generated by their Docker containers, making it an essential tool for debugging and troubleshooting applications running in a Docker environment. Out of the box, Dozzle supports JSON logs with intelligent color coding. Dozzle is easy to install and can be configured with minimal effort, making it an ideal solution for developers and system administrators looking for an efficient and user-friendly log viewer for their Docker environment. The tool is available under the MIT license and is actively maintained by its developer, Amir Raminfar. - - diff --git a/e2e/cypress.config.ts b/e2e/cypress.config.ts index 2672b7bd..2c9aa505 100644 --- a/e2e/cypress.config.ts +++ b/e2e/cypress.config.ts @@ -1,5 +1,5 @@ import { defineConfig } from "cypress"; -import { initPlugin } from '@frsource/cypress-plugin-visual-regression-diff/dist/plugins'; +import { initPlugin } from "@frsource/cypress-plugin-visual-regression-diff/dist/plugins"; export default defineConfig({ fixturesFolder: false, diff --git a/e2e/cypress/support/e2e.ts b/e2e/cypress/support/e2e.ts index 3f5ef123..82a455e7 100644 --- a/e2e/cypress/support/e2e.ts +++ b/e2e/cypress/support/e2e.ts @@ -14,8 +14,8 @@ // *********************************************************** // Import commands.js using ES2015 syntax: -import './commands' -import '@frsource/cypress-plugin-visual-regression-diff/dist/support'; +import "./commands"; +import "@frsource/cypress-plugin-visual-regression-diff/dist/support"; // Alternatively you can use CommonJS syntax: // require('./commands') diff --git a/vite.config.ts b/vite.config.ts index 8a07e09a..5f4430b3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -69,9 +69,9 @@ export default defineConfig(() => ({ "/api": { target: { host: "127.0.0.1", - port: 3100 + port: 3100, }, - changeOrigin: false + changeOrigin: false, }, }, },