Skip to content

feat(island): new notification options screen & compact view mode - #1303

Merged
sameerasw merged 6 commits into
sameerasw:developfrom
isaacsa51:feat/island/compact_line_peek
Oct 13, 2026
Merged

sameerasw merged 6 commits into
sameerasw:developfrom
isaacsa51:feat/island/compact_line_peek

Conversation

@isaacsa51

@isaacsa51 isaacsa51 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

New screen instead of the bottom sheet for all notification options with a more complete description of each option.

On the Line peek now called Compact heads up, a new toggle between compact and full:

  • Compact is the new implementation that eliminates the + <title> cameraGap + layout to a more concise:

<appIcon> + cameraGap + <title>

  • Full: normal line peek behaviour that already exists.

This can be access by tapping the settings icon on the notification What to show section with the option to re order it's priority.

Type of change

  • Bug fix
  • New feature
  • UI / visual update
  • Performance improvement
  • Refactoring / cleanup
  • Translations
  • Build / CI tooling## Description

UI changes

Screen_recording_20261011_173956.mp4

Checklist

Before submitting, please make sure:

  • The base branch is set to develop (not main).
  • The app builds cleanly locally with ./gradlew assembleDebug.
  • Unit tests pass with ./gradlew testDebugUnitTest.
  • You tested the changes on a device or emulator (including Shizuku or Root if applicable).
  • New preferences use SettingsRepository for keys and getter/setter methods.
  • New user-facing settings are registered in FeatureRegistry.kt for search indexing.
  • New UI follows the design system in ui/core/ (RoundedCardContainer, IconToggleItem, etc.).
  • Strings are added to res/values/strings.xml and drawables use rounded variants (R.drawable.rounded_*).

@isaacsa51 isaacsa51 changed the title feat(island): compact line peek mode option feat(island): new notification options screen & compact view mode Oct 12, 2026
…enter condensed line layout

- Extract notification settings into a dedicated sub-page (`IslandNotificationSettingsUI`) and register `ISLAND_NOTIFICATIONS_FEATURE_ID`, replacing `IslandNotificationOptionsBottomSheet`.
- Balance condensed line layout on both sides of the camera slot in `LineTemplate` and `IslandRoot`.
- Update string resources and add unit tests in `CondensedLineTest` for centered camera positioning.
…act_line_peek

# Conflicts:
#	app/src/main/java/com/sameerasw/essentials/island/model/IslandModels.kt
#	app/src/main/java/com/sameerasw/essentials/ui/features/display/IslandSettingsUI.kt
@isaacsa51
isaacsa51 marked this pull request as ready for review October 12, 2026 01:59
@isaacsa51
isaacsa51 requested a review from sameerasw as a code owner October 12, 2026 01:59
@isaacsa51

Copy link
Copy Markdown
Contributor Author

ready for a review @sameerasw

@sameerasw sameerasw left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for your contributions <3

@sameerasw
sameerasw merged commit 8c05347 into sameerasw:develop Oct 13, 2026
2 checks passed
sameerasw added a commit that referenced this pull request Oct 13, 2026
## Description
<!-- Describe what this PR changes and why. If it resolves an issue,
link it here: e.g. Closes #123 -->
Fix for a bug that the island was showing even with DND ON.

Added on notification sections the ability to show the island popup
following the DND mode or not.

_current PR is dependant of #1303, so merging this first would break
this PR_

## Type of change
- [x] Bug fix
- [x] New feature
- [ ] UI / visual update
- [ ] Performance improvement
- [ ] Refactoring / cleanup
- [ ] Translations
- [ ] Build / CI tooling

## UI changes
<!-- Required if this PR changes or adds UI. Please attach screenshots
or a screen recording. -->

https://github.com/user-attachments/assets/a9a3c5de-3636-43c2-a0ce-4cf72956d315


## Checklist
Before submitting, please make sure:
- [x] The base branch is set to `develop` (not `main`).
- [x] The app builds cleanly locally with `./gradlew assembleDebug`.
- [x] Unit tests pass with `./gradlew testDebugUnitTest`.
- [x] You tested the changes on a device or emulator (including Shizuku
or Root if applicable).
- [x] New preferences use `SettingsRepository` for keys and
getter/setter methods.
- [x] New user-facing settings are registered in `FeatureRegistry.kt`
for search indexing.
- [x] New UI follows the design system in `ui/core/`
(`RoundedCardContainer`, `IconToggleItem`, etc.).
- [x] Strings are added to `res/values/strings.xml` and drawables use
rounded variants (`R.drawable.rounded_*`).
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

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants