-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add short links feature (graasp/graasp#664) #861
Merged
Conversation
This file contains 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
ReidyT
force-pushed
the
664-add-short-links-feature
branch
from
November 14, 2023 13:27
2f12bc6
to
2e0fb98
Compare
pyphilia
requested changes
Nov 14, 2023
ReidyT
added a commit
that referenced
this pull request
Nov 20, 2023
- Remove unnecessary nested cypress waits - Check the item path too in the isItemAdminAllowedForMember - Add Skeleton when loading short links - Allow to use Library platform for published items only - Update checkShortLink by shortLinkAvailable - Split ManageShortLink into smaller components - Remove not null assertions
ReidyT
force-pushed
the
664-add-short-links-feature
branch
from
November 20, 2023 15:20
cd4f3f7
to
0e7f59f
Compare
pyphilia
requested changes
Nov 28, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, I did a lot of comments, let me know if you have questions.
ReidyT
added a commit
that referenced
this pull request
Nov 29, 2023
- Update the redirection host to the short link’s backend route (go.graasp.org for prod) - Update mockGetShortLinksItem to filter by item id - Update SDK version - Adding changeVisibility test (part of tests from deleted shareItem) - Update shareItem tests to test short links displayed links - Moved short link test into share folder - Replace alias by short link in translations - Translates alias input - Replace aliasUnchanged state by hasAliasChanged in ShortLinkDialogContent - Regroup the useEffect in AliasValidation - Set GraaspLogo as default icon when PlatformIcon get invalid platform - Encapsulate debounce of API calls in a custom hooks - Others minor improvements
pyphilia
approved these changes
Nov 29, 2023
ReidyT
added a commit
that referenced
this pull request
Nov 30, 2023
- Remove unnecessary nested cypress waits - Check the item path too in the isItemAdminAllowedForMember - Add Skeleton when loading short links - Allow to use Library platform for published items only - Update checkShortLink by shortLinkAvailable - Split ManageShortLink into smaller components - Remove not null assertions
ReidyT
added a commit
that referenced
this pull request
Nov 30, 2023
- Update the redirection host to the short link’s backend route (go.graasp.org for prod) - Update mockGetShortLinksItem to filter by item id - Update SDK version - Adding changeVisibility test (part of tests from deleted shareItem) - Update shareItem tests to test short links displayed links - Moved short link test into share folder - Replace alias by short link in translations - Translates alias input - Replace aliasUnchanged state by hasAliasChanged in ShortLinkDialogContent - Regroup the useEffect in AliasValidation - Set GraaspLogo as default icon when PlatformIcon get invalid platform - Encapsulate debounce of API calls in a custom hooks - Others minor improvements
ReidyT
force-pushed
the
664-add-short-links-feature
branch
from
November 30, 2023 07:43
f55765a
to
808f949
Compare
- The view is not responsive yet - Contain problems yet with the SDK and the query-client feat: improve UI, add translations and messages (graasp/graasp#664) - Update the UI to be more responsive - Update the UI to not allow to edit or create multiple short links at same time - Add membership admin check to hide short links view if forbbiden - Add notifier for short links actions and show error messages to the user feat: add Context colours in ShortLink view and use last SDK types test: add short links cypress tests (graasp/graasp#664) chore: add ENV variable for redirection host fix(test): remove shortLinkRenderId should exist to pass in CI chore: improve code form PR (#861) - Remove unnecessary nested cypress waits - Check the item path too in the isItemAdminAllowedForMember - Add Skeleton when loading short links - Allow to use Library platform for published items only - Update checkShortLink by shortLinkAvailable - Split ManageShortLink into smaller components - Remove not null assertions test: try to debug cypress in CI fix: add redirection host environment variable in cypress CI feat: update short links to future merge with full links feat: add shortlinks skeletons and move ManageShortLink dialog to parent feat: allow readers to display short links in read only mode feat: remove ShareItem component chore: update query-client, sdk and translations NPM version - query-client v2.1.0 - sdk v3.2.0 - translations v1.21.0 test: udpate the shortlink test for read only members chore: improve the code from the PR #861 - Update the redirection host to the short link’s backend route (go.graasp.org for prod) - Update mockGetShortLinksItem to filter by item id - Update SDK version - Adding changeVisibility test (part of tests from deleted shareItem) - Update shareItem tests to test short links displayed links - Moved short link test into share folder - Replace alias by short link in translations - Translates alias input - Replace aliasUnchanged state by hasAliasChanged in ShortLinkDialogContent - Regroup the useEffect in AliasValidation - Set GraaspLogo as default icon when PlatformIcon get invalid platform - Encapsulate debounce of API calls in a custom hooks - Others minor improvements chore: improve aliasAvailable check and make the item's platforms static - Use Boolean wrapper to check the aliasAvailable in AliasValidation.tsx - Set the item’s platforms static in the ShortLinkRenderer.tsx
spaenleh
force-pushed
the
664-add-short-links-feature
branch
from
December 1, 2023 08:11
808f949
to
b3d2e7d
Compare
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.
Add the short links feature in the frontend builder.
This feature allow admin members to create shorten links to simplify the sharing of items.