Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add docker container table #520

Merged
merged 33 commits into from
May 29, 2024
Merged

Conversation

ajnart
Copy link
Contributor

@ajnart ajnart commented May 18, 2024


Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

  • Builds without warnings or errors (pnpm buid, autofix with pnpm format:fix)
  • Pull request targets dev branch
  • Commits follow the conventional commits guideline
  • No shorthand variable names are used (eg. x, y, i or any abbrevation)

image

@ajnart ajnart requested a review from a team as a code owner May 18, 2024 16:27
@ajnart ajnart changed the title ⚠️ WIP feat: Add docker manage page [WIP] feat: Add docker manage page May 18, 2024
@ajnart ajnart changed the title [WIP] feat: Add docker manage page feat: Add docker manage page May 18, 2024
apps/nextjs/src/app/[locale]/manage/tools/docker/page.tsx Outdated Show resolved Hide resolved
apps/nextjs/src/env.mjs Show resolved Hide resolved
packages/api/package.json Outdated Show resolved Hide resolved
packages/api/src/router/docker.ts Outdated Show resolved Hide resolved
packages/redis/src/lib/channel.ts Outdated Show resolved Hide resolved
apps/nextjs/src/app/[locale]/manage/tools/docker/page.tsx Outdated Show resolved Hide resolved
packages/common/src/hooks.ts Show resolved Hide resolved
packages/redis/src/lib/channel.ts Outdated Show resolved Hide resolved
ajnart and others added 7 commits May 20, 2024 18:18
Include container actions and state badges
This commit refactors the DockerSingleton class in the `docker.ts` file to use the `host` and `instance` properties instead of the previous `key` and `remoteApi` properties. This change improves clarity and consistency in the codebase.
This commit enhances the DockerTable component in the `DockerTable.tsx` file by adding an Avatar and Name column. The Avatar column displays an icon based on the Docker container's image, while the Name column shows the container's name. This improvement provides better visual representation and identification of the containers in the table.
Meierschlumpf
Meierschlumpf previously approved these changes May 29, 2024
@Meierschlumpf
Copy link
Member

One think I'm not sure about is why you used a black background arround the table and all?

@ajnart
Copy link
Contributor Author

ajnart commented May 29, 2024

This is not entirely ready, I need to think about other stuff

@Meierschlumpf
Copy link
Member

This is not entirely ready, I need to think about other stuff

Maybe we can merge this pull request just as feat: add docker container table?
@manuel-rw how can I deal with the conventional commits stuff? The commits are quite old and it makes no sense to rewrite the history

@Meierschlumpf Meierschlumpf added enhancement New feature or request labels May 29, 2024
@Meierschlumpf Meierschlumpf changed the title feat: Add docker manage page feat: add docker container table May 29, 2024
@Meierschlumpf Meierschlumpf self-requested a review May 29, 2024 19:45
@ajnart
Copy link
Contributor Author

ajnart commented May 29, 2024

It's fine as is, I don't think anyone has time to read the commit history of every file x)

@ajnart
Copy link
Contributor Author

ajnart commented May 29, 2024

Let's merge, I'll add to it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants