Skip to content

Add configurable panel content shadows - #160

Merged
petar-v merged 19 commits into
masterfrom
panel-content-shadows
Oct 23, 2026
Merged

petar-v merged 19 commits into
masterfrom
panel-content-shadows

Conversation

@petar-v

@petar-v petar-v commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Closes #106

image

- Add standalone shadow settings test with GSettings in-memory backend.
- Replace hardcoded shadow values with configurable shadow properties in gradient.js.
- Enhance appearance settings with shadow blur, color, and offset customization controls.
- Introduce `scheduleConfigure` method with 500ms debounce using `GLib.timeout_add`.
- Prevent redundant configuration updates during bursts.
- Add unit tests to verify debounce behavior, pending updates, and reconfiguration on disable/enable.
@petar-v petar-v self-assigned this Oct 22, 2026
- Introduce a "Reset" button in the "Panel content shadows" UI section to restore default shadow settings (offsets, color, blur, and opacity) while retaining the toggle state.
- Add confirmation dialog to avoid accidental resets.
- Update default shadow Y-offset to `0` in the schema.
- Extend unit tests to validate reset functionality and ensure all settings are properly restored to defaults.
- Change default style trigger to `proximity` with a 30px distance and enabled transitions.
- Adjust maximized behavior to apply a custom style by default.
- Revise gradient colors and direction for standard and maximized states.
- Fix shadow color default format for consistency.
- Validate reset functionality across gradient, interaction, and trigger settings pages.
- Ensure confirmation dialogs correctly handle "cancel" and "reset" responses.
- Test proper restoration of default values with GSettings changes.
@petar-v

petar-v commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author

updated

image

@petar-v

petar-v commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author
image

@petar-v
petar-v marked this pull request as ready for review October 23, 2026 02:41
@petar-v
petar-v merged commit bb67747 into master Oct 23, 2026
2 checks passed
@petar-v
petar-v deleted the panel-content-shadows branch October 23, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add icon shadows in case of transparency

1 participant