Skip to content

fix: new Layout for phonebook section#161

Merged
tonyco97 merged 11 commits into
mainfrom
issue_7123
Jun 29, 2026
Merged

fix: new Layout for phonebook section#161
tonyco97 merged 11 commits into
mainfrom
issue_7123

Conversation

@tonyco97

Copy link
Copy Markdown
Collaborator

@tonyco97 tonyco97 self-assigned this Jun 11, 2026
@tonyco97 tonyco97 marked this pull request as draft June 11, 2026 15:04
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/27356479178.
Commit: 5b7dad4

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/27533610410.
Commit: 7eda181

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@tonyco97 tonyco97 marked this pull request as ready for review June 15, 2026 08:48
@tonyco97 tonyco97 requested a review from tommaso-ascani June 15, 2026 08:48
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/27537310353.
Commit: 6637131

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

tommaso-ascani

This comment was marked as duplicate.

@tommaso-ascani tommaso-ascani left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Automated review (high recall). Two blockers to clarify (#1 group id format, #2 privacy leak on missing source); the rest is backend-contract to verify plus cleanup.

Comment thread src/shared/phonebook.ts Outdated
Comment thread src/shared/phonebook.ts Outdated
Comment thread src/shared/phonebook.ts Outdated
Comment thread src/shared/phonebook.ts Outdated
Comment thread src/shared/useNethVoiceAPI.ts
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/27674165443.
Commit: ee06862

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@tommaso-ascani tommaso-ascani left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Review — phonebook visibility (public / private / group)

Solid PR overall: visibility logic is well isolated in src/shared/phonebook.ts, validated both in the form and in the API layer, and the checkForUpdate try/catch is a good crash fix. A few things to confirm or fix before merge — details inline.

Main points to confirm:

  1. The new permission gating can silently block contact creation for phonebook_level_0 users and restrict level_1 users to private only — is this the intended server-aligned behavior (issue #7123)?
  2. privacy is no longer sent in the createContact payload — confirm the backend doesn't rely on it.

Concrete issues: translation files diverge, comma-in-group-name breaks the serialize/deserialize round-trip, and group permission-id normalization can collide.

Comment thread src/shared/phonebook.ts
Comment thread src/shared/useNethVoiceAPI.ts
Comment thread src/shared/phonebook.ts
Comment thread src/shared/phonebook.ts Outdated
Comment thread public/locales/it/translations.json Outdated
Comment thread src/shared/phonebook.ts
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/28010776375.
Commit: b464ebe

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/28238602700.
Commit: aafa8be

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/28380159304.
Commit: 54137ac

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@tonyco97 tonyco97 merged commit 0c33a15 into main Jun 29, 2026
4 checks passed
@tonyco97 tonyco97 deleted the issue_7123 branch June 29, 2026 14:53
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.

2 participants