feat(dialog): experimental sharing dialog for the unified sharing API#239
Draft
skjnldsv wants to merge 3 commits into
Draft
feat(dialog): experimental sharing dialog for the unified sharing API#239skjnldsv wants to merge 3 commits into
skjnldsv wants to merge 3 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #239 +/- ##
===========================================
- Coverage 95.65% 83.42% -12.23%
===========================================
Files 4 11 +7
Lines 69 181 +112
Branches 25 68 +43
===========================================
+ Hits 66 151 +85
- Misses 3 24 +21
- Partials 0 6 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
skjnldsv
commented
Jul 22, 2026
skjnldsv
commented
Jul 22, 2026
skjnldsv
commented
Jul 22, 2026
skjnldsv
commented
Jul 22, 2026
skjnldsv
commented
Jul 22, 2026
skjnldsv
commented
Jul 22, 2026
susnux
reviewed
Jul 23, 2026
Add the vite lib-mode build (multi-entry: index, public, ui and the experimental dialog, with inlined CSS and generated type declarations), the vitest configuration, the SVG `?raw` asset typings, and the dependencies the dialog entry point relies on. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
skjnldsv
force-pushed
the
feature/vite-lib-build
branch
from
July 23, 2026 20:46
7a6d897 to
d41a57b
Compare
Add an experimental `@nextcloud/sharing/dialog` entry point targeting the Nextcloud 35 unified sharing API: - A Share class (obtained via createShare()/getShare()) wrapping the reactive share schema, with chainable mutation helpers and showDialog(). - SharingDialog + SharePanel: invite people or share via public link, permission presets with a custom fine-grained toggle view, and editable share properties with debounced persistence and native-validity errors. - Per-type recipient rendering, property hint notes, a plain-language expiration/password summary and a folder upload hint; datetime-local expiration using the backend's full UTC support. Callable unconditionally: it shows an error toast and no-ops when the server does not provide the unified sharing API. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Cover the Share client and its mutation delegation, the property field (rendering, debounced persistence, native validity, datetime), the inline toggle field, recipient-to-model mapping, the outcome summary helper and the share panel behavior (presets, permission toggles, recipient sync, summary and folder-upload notes). Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
skjnldsv
force-pushed
the
feature/vite-lib-build
branch
from
July 23, 2026 20:50
d41a57b to
640c934
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs