Skip to content

[mob][locker] Collection link sharing for locker#9952

Open
AmanRajSinghMourya wants to merge 6 commits intomainfrom
locker-col
Open

[mob][locker] Collection link sharing for locker#9952
AmanRajSinghMourya wants to merge 6 commits intomainfrom
locker-col

Conversation

@AmanRajSinghMourya
Copy link
Copy Markdown
Contributor

@AmanRajSinghMourya AmanRajSinghMourya commented Apr 6, 2026

Description

Adds public-link support for Locker collections on mobile, including link creation, sharing, and link management.

  • Lets Locker collection owners create a public link for a collection from the share sheet.
  • Adds a dedicated Manage link flow for collections that already have a public link to have options like
    - link expiry
    - device limit
    - password lock
  • Keeps the existing participant-sharing flow alongside the new public-link flow in the collection share sheet.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 20af00bb47

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +212 to +214
if (!_hasActivePublicLink) {
await _createAndSharePublicLink();
return;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Route expired-link owners to link management

The link action currently treats expired links the same as having no link, so owners with an expired public URL go through _createAndSharePublicLink() instead of opening ManageSharedLinkWidget. In that flow, createShareUrl() appends a URL to collection.publicURLs (in collections_api_client.dart), while this sheet still reads publicURLs.first, which remains the expired entry; _hasActivePublicLink stays false, so the UI can keep offering “Link” and skip sharing/managing the newly created URL. This blocks normal recovery for expired-link collections and can cause repeated create attempts.

Useful? React with 👍 / 👎.

@AmanRajSinghMourya
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56ddaa5042

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@AmanRajSinghMourya AmanRajSinghMourya requested a review from ua741 April 7, 2026 12:29
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.

1 participant