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

Feature: setting for equal height cards #2432

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Conversation

jdcmarques
Copy link
Contributor

@jdcmarques jdcmarques commented Dec 6, 2023

Proposed change

Forces every service in a row to be the same vertical size without removing any content.

Before
Screenshot 2023-12-06 112758

After
Screenshot 2023-12-06 113653

Desktop tested on chromium & firefox
Mobile on iOS Safari

Closes # (issue)

Type of change

  • New service widget
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation only
  • Other (please explain)

Checklist:

  • If applicable, I have added corresponding documentation changes.
  • If applicable, I have reviewed the feature and / or service widget guidelines.
  • I have checked that all code style checks pass using pre-commit hooks and linting checks.
  • If applicable, I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.

Copy link
Collaborator

@shamoon shamoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate that this has been requested #1922 #1570 but man, I find this aesthetically very un-pleasing. Thats subjective, of course, but at the very least this should be opt-in.

Please let us know if youre able to make that change.

Screenshot 2023-12-06 at 8 34 41 AM

@jdcmarques
Copy link
Contributor Author

I appreciate that this has been requested #1922 #1570 but man, I find this aesthetically very un-pleasing. Thats subjective, of course, but at the very least this should be opt-in.

Please let us know if youre able to make that change.
Screenshot 2023-12-06 at 8 34 41 AM

Will do, will update PR once it's ready.
What would be the best config for this?

@shamoon
Copy link
Collaborator

shamoon commented Dec 6, 2023

You mean what to call it or where to put it? Good q. Maybe something like "useEqualHeights" or "equalHeights"? Name doesnt matter that much as long as its self-evident-ish, I think.

As for where, at the very least it should be a global setting (Im ok with just that) but there are some settings that can also be specified per-service such as hideErrors. That might be nice to have for this so you can either set it globally or per-group (or override the global setting on a per-group basis). I dont recall if we have anything like that for a group not just a service but same idea

@benphelps
Copy link
Member

I agree with @shamoon here, in some cases it'd look worse, so opt-in. And from past experience, people really dislike their layout changing without asking for it, so best to leave that can closed.

It could be a global setting, and if you're up to it, a group setting as well.

useEqualHeights: true

layout:
  My Group:
    useEqualHeights: false

@jdcmarques
Copy link
Contributor Author

Updated the PR with the useEqualHeights config.

Thanks for the feedback!

@shamoon shamoon changed the title align all items services in row Feature: setting for equal height cards Dec 6, 2023
@shamoon shamoon enabled auto-merge (squash) December 6, 2023 22:51
Copy link
Collaborator

@shamoon shamoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, works great and thanks for the quick rework

@shamoon shamoon merged commit 5e01eb4 into gethomepage:main Dec 6, 2023
5 checks passed
truecharts-admin referenced this pull request in truecharts/public Dec 10, 2023
…0.8.3@4214f13 (#15946)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/gethomepage/homepage](https://togithub.com/gethomepage/homepage)
| patch | `v0.8.2` -> `v0.8.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>gethomepage/homepage (ghcr.io/gethomepage/homepage)</summary>

###
[`v0.8.3`](https://togithub.com/gethomepage/homepage/releases/tag/v0.8.3)

[Compare
Source](https://togithub.com/gethomepage/homepage/compare/v0.8.2...v0.8.3)

#### What's Changed

- Feature: Fritz!Box Widget by
[@&#8203;evorg](https://togithub.com/evorg) in
[https://github.com/gethomepage/homepage/pull/2387](https://togithub.com/gethomepage/homepage/pull/2387)
- Change: changedetection.io widget count diff if not viewed by
[@&#8203;xconverge](https://togithub.com/xconverge) in
[https://github.com/gethomepage/homepage/pull/2401](https://togithub.com/gethomepage/homepage/pull/2401)
- Chore: migrate crowdin to GHA by
[@&#8203;shamoon](https://togithub.com/shamoon) in
[https://github.com/gethomepage/homepage/pull/2421](https://togithub.com/gethomepage/homepage/pull/2421)
- Enhancement: improve fritzbox proxy perfomance by
[@&#8203;evorg](https://togithub.com/evorg) in
[https://github.com/gethomepage/homepage/pull/2429](https://togithub.com/gethomepage/homepage/pull/2429)
- Feature: setting for equal height cards by
[@&#8203;jdcmarques](https://togithub.com/jdcmarques) in
[https://github.com/gethomepage/homepage/pull/2432](https://togithub.com/gethomepage/homepage/pull/2432)
- Fix: fields not working for healthchecks widget by
[@&#8203;lawtonmanning](https://togithub.com/lawtonmanning) in
[https://github.com/gethomepage/homepage/pull/2440](https://togithub.com/gethomepage/homepage/pull/2440)
- Fix: Increase kubernetes cpu/mem usage scale by
[@&#8203;shamoon](https://togithub.com/shamoon) in
[https://github.com/gethomepage/homepage/pull/2453](https://togithub.com/gethomepage/homepage/pull/2453)

#### New Contributors

- [@&#8203;evorg](https://togithub.com/evorg) made their first
contribution in
[https://github.com/gethomepage/homepage/pull/2387](https://togithub.com/gethomepage/homepage/pull/2387)
- [@&#8203;xconverge](https://togithub.com/xconverge) made their first
contribution in
[https://github.com/gethomepage/homepage/pull/2401](https://togithub.com/gethomepage/homepage/pull/2401)
- [@&#8203;jdcmarques](https://togithub.com/jdcmarques) made their first
contribution in
[https://github.com/gethomepage/homepage/pull/2432](https://togithub.com/gethomepage/homepage/pull/2432)
- [@&#8203;lawtonmanning](https://togithub.com/lawtonmanning) made their
first contribution in
[https://github.com/gethomepage/homepage/pull/2440](https://togithub.com/gethomepage/homepage/pull/2440)

**Full Changelog**:
gethomepage/homepage@v0.8.2...v0.8.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44OS41IiwidXBkYXRlZEluVmVyIjoiMzcuODkuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
Copy link
Contributor

github-actions bot commented Feb 5, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants