Skip to content
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

Release: Applications, InnovationFlow, Fixes #5590

Merged
merged 27 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
07e89ad
Innovation Flow Template creation dialog actions fixed (#5534)
me-andre Feb 12, 2024
181575b
MyDashboard start own space link points to welcome site (#5535)
me-andre Feb 12, 2024
e34bfc4
upload whiteboard rt preview on save on close (#5537)
hero101 Feb 12, 2024
42848d5
Removed WhiteboardRtProvider (#5539)
me-andre Feb 12, 2024
00b6628
NewMemberships translations updated (#5541)
me-andre Feb 12, 2024
ad7e9f4
Proper routing on deletion of a post in call for posts (#5538)
valentinyanakiev Feb 12, 2024
35f6605
Moved delete confirm dialog to CalloutLayout and added the delete opt…
ccanos Feb 12, 2024
6964795
latest translations (#5542)
hero101 Feb 12, 2024
453b379
TemplateDialogs structure fixed (#5545)
me-andre Feb 14, 2024
d2287a6
Content Not Available dialog when no access to Callout (#5548)
me-andre Feb 14, 2024
62d2eff
Removed WhiteboardRtManagementViewWrapper and refactored a bit (#5530)
ccanos Feb 14, 2024
b1103e9
Registration Success page texts/styling updated (#5563)
me-andre Feb 14, 2024
fe6bd11
Add opportunity application button (#5562)
alstojanovic Feb 14, 2024
360f63e
Always fetching visuals for Pending Memberships (#5565)
me-andre Feb 15, 2024
853093c
Move SignUp link higher (#5571)
ccanos Feb 15, 2024
f0753c1
Tiny text update My Dashboard Update translation.en.json (#5576)
SimoneZaza Feb 16, 2024
1b44b4f
Change post description markdown text limit. (#5575)
alstojanovic Feb 16, 2024
5542cff
Callout dialog keeps state of the page in background (#5564)
me-andre Feb 16, 2024
d2d5c51
Show all my activities no matter which callout (#5577)
ccanos Feb 16, 2024
b9be801
Use corect mutations when sending messages. (#5568)
alstojanovic Feb 16, 2024
c9b0c3b
Clearer purpose and lifecycle of excalidraw/collab classes (#5578)
me-andre Feb 16, 2024
7598b82
Clarifying text for membership settings in Challenges Update translat…
SimoneZaza Feb 16, 2024
877a4b8
Overfetch so we get enough myActivities (#5582)
valentinyanakiev Feb 20, 2024
75b98c1
Innovation flows with phases (#5586)
ccanos Feb 20, 2024
9f9e933
Simplify file broadcasting 2 (#5580)
ccanos Feb 20, 2024
89b542a
Opportunity membership updates (#5589)
alstojanovic Feb 20, 2024
ac16fe7
Minor version bump
valentinyanakiev Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alkemio/client-web",
"version": "0.53.4",
"version": "0.53.5",
"description": "Alkemio client, enabling users to interact with Challenges hosted on the Alkemio platform.",
"author": "Alkemio Foundation",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions src/core/apollo/generated/apollo-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,7 @@ export type MutationKeySpecifier = (
| 'updateTagset'
| 'updateUser'
| 'updateUserGroup'
| 'updateUserPlatformSettings'
| 'updateVisual'
| 'updateWhiteboard'
| 'updateWhiteboardContentRt'
Expand Down Expand Up @@ -1715,6 +1716,7 @@ export type MutationFieldPolicy = {
updateTagset?: FieldPolicy<any> | FieldReadFunction<any>;
updateUser?: FieldPolicy<any> | FieldReadFunction<any>;
updateUserGroup?: FieldPolicy<any> | FieldReadFunction<any>;
updateUserPlatformSettings?: FieldPolicy<any> | FieldReadFunction<any>;
updateVisual?: FieldPolicy<any> | FieldReadFunction<any>;
updateWhiteboard?: FieldPolicy<any> | FieldReadFunction<any>;
updateWhiteboardContentRt?: FieldPolicy<any> | FieldReadFunction<any>;
Expand Down
237 changes: 152 additions & 85 deletions src/core/apollo/generated/apollo-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1027,24 +1027,6 @@ export const CalloutWithWhiteboardFragmentDoc = gql`
}
${WhiteboardDetailsFragmentDoc}
`;
export const CalloutWithWhiteboardRtFragmentDoc = gql`
fragment CalloutWithWhiteboardRt on Callout {
id
nameID
type
authorization {
id
anonymousReadAccess
myPrivileges
}
framing {
whiteboardRt {
...WhiteboardRtDetails
}
}
}
${WhiteboardRtDetailsFragmentDoc}
`;
export const CollaborationWithWhiteboardDetailsFragmentDoc = gql`
fragment CollaborationWithWhiteboardDetails on Collaboration {
id
Expand Down Expand Up @@ -1688,16 +1670,16 @@ export const PendingMembershipsJourneyProfileFragmentDoc = gql`
fragment PendingMembershipsJourneyProfile on Profile {
id
displayName
visual(type: $visualType) {
id
uri
}
... on Profile @include(if: $fetchDetails) {
tagline
tagset {
id
tags
}
visual(type: $visualType) {
id
uri
}
}
}
`;
Expand Down Expand Up @@ -2772,6 +2754,7 @@ export const InnovationFlowTemplateCardFragmentDoc = gql`
profile {
...TemplateCardProfileInfo
}
definition
}
${TemplateCardProfileInfoFragmentDoc}
`;
Expand Down Expand Up @@ -8773,69 +8756,6 @@ export function refetchWhiteboardFromCalloutQuery(variables: SchemaTypes.Whitebo
return { query: WhiteboardFromCalloutDocument, variables: variables };
}

export const WhiteboardRtFromCalloutDocument = gql`
query WhiteboardRtFromCallout($calloutId: UUID!) {
lookup {
callout(ID: $calloutId) {
...CalloutWithWhiteboardRt
}
}
}
${CalloutWithWhiteboardRtFragmentDoc}
`;

/**
* __useWhiteboardRtFromCalloutQuery__
*
* To run a query within a React component, call `useWhiteboardRtFromCalloutQuery` and pass it any options that fit your needs.
* When your component renders, `useWhiteboardRtFromCalloutQuery` returns an object from Apollo Client that contains loading, error, and data properties
* you can use to render your UI.
*
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
*
* @example
* const { data, loading, error } = useWhiteboardRtFromCalloutQuery({
* variables: {
* calloutId: // value for 'calloutId'
* },
* });
*/
export function useWhiteboardRtFromCalloutQuery(
baseOptions: Apollo.QueryHookOptions<
SchemaTypes.WhiteboardRtFromCalloutQuery,
SchemaTypes.WhiteboardRtFromCalloutQueryVariables
>
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useQuery<SchemaTypes.WhiteboardRtFromCalloutQuery, SchemaTypes.WhiteboardRtFromCalloutQueryVariables>(
WhiteboardRtFromCalloutDocument,
options
);
}

export function useWhiteboardRtFromCalloutLazyQuery(
baseOptions?: Apollo.LazyQueryHookOptions<
SchemaTypes.WhiteboardRtFromCalloutQuery,
SchemaTypes.WhiteboardRtFromCalloutQueryVariables
>
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useLazyQuery<
SchemaTypes.WhiteboardRtFromCalloutQuery,
SchemaTypes.WhiteboardRtFromCalloutQueryVariables
>(WhiteboardRtFromCalloutDocument, options);
}

export type WhiteboardRtFromCalloutQueryHookResult = ReturnType<typeof useWhiteboardRtFromCalloutQuery>;
export type WhiteboardRtFromCalloutLazyQueryHookResult = ReturnType<typeof useWhiteboardRtFromCalloutLazyQuery>;
export type WhiteboardRtFromCalloutQueryResult = Apollo.QueryResult<
SchemaTypes.WhiteboardRtFromCalloutQuery,
SchemaTypes.WhiteboardRtFromCalloutQueryVariables
>;
export function refetchWhiteboardRtFromCalloutQuery(variables: SchemaTypes.WhiteboardRtFromCalloutQueryVariables) {
return { query: WhiteboardRtFromCalloutDocument, variables: variables };
}

export const WhiteboardWithContentDocument = gql`
query WhiteboardWithContent($whiteboardId: UUID!) {
lookup {
Expand Down Expand Up @@ -11158,6 +11078,153 @@ export function refetchPlatformUpdatesRoomQuery(variables?: SchemaTypes.Platform
return { query: PlatformUpdatesRoomDocument, variables: variables };
}

export const CommunityUserPrivilegesWithParentCommunityDocument = gql`
query communityUserPrivilegesWithParentCommunity(
$spaceNameId: UUID_NAMEID!
$challengeNameId: UUID_NAMEID = "mockid"
$opportunityNameId: UUID_NAMEID = "mockid"
$includeSpaceCommunity: Boolean = false
$includeChallenge: Boolean = false
$includeOpportunity: Boolean = false
) {
space(ID: $spaceNameId) {
id
community @include(if: $includeSpaceCommunity) {
id
myMembershipStatus
authorization {
id
myPrivileges
}
}
challenge(ID: $challengeNameId) @include(if: $includeChallenge) {
id
authorization {
id
myPrivileges
}
community {
id
myMembershipStatus
authorization {
id
myPrivileges
}
}
}
opportunity(ID: $opportunityNameId) @include(if: $includeOpportunity) {
id
authorization {
id
myPrivileges
}
community {
id
myMembershipStatus
authorization {
id
myPrivileges
}
leadUsers: usersInRole(role: LEAD) {
id
profile {
id
displayName
avatar: visual(type: AVATAR) {
...VisualUri
}
location {
id
country
city
}
}
}
adminUsers: usersInRole(role: ADMIN) {
id
profile {
id
displayName
avatar: visual(type: AVATAR) {
...VisualUri
}
location {
id
country
city
}
}
}
}
}
}
}
${VisualUriFragmentDoc}
`;

/**
* __useCommunityUserPrivilegesWithParentCommunityQuery__
*
* To run a query within a React component, call `useCommunityUserPrivilegesWithParentCommunityQuery` and pass it any options that fit your needs.
* When your component renders, `useCommunityUserPrivilegesWithParentCommunityQuery` returns an object from Apollo Client that contains loading, error, and data properties
* you can use to render your UI.
*
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
*
* @example
* const { data, loading, error } = useCommunityUserPrivilegesWithParentCommunityQuery({
* variables: {
* spaceNameId: // value for 'spaceNameId'
* challengeNameId: // value for 'challengeNameId'
* opportunityNameId: // value for 'opportunityNameId'
* includeSpaceCommunity: // value for 'includeSpaceCommunity'
* includeChallenge: // value for 'includeChallenge'
* includeOpportunity: // value for 'includeOpportunity'
* },
* });
*/
export function useCommunityUserPrivilegesWithParentCommunityQuery(
baseOptions: Apollo.QueryHookOptions<
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
>
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useQuery<
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
>(CommunityUserPrivilegesWithParentCommunityDocument, options);
}

export function useCommunityUserPrivilegesWithParentCommunityLazyQuery(
baseOptions?: Apollo.LazyQueryHookOptions<
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
>
) {
const options = { ...defaultOptions, ...baseOptions };
return Apollo.useLazyQuery<
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
>(CommunityUserPrivilegesWithParentCommunityDocument, options);
}

export type CommunityUserPrivilegesWithParentCommunityQueryHookResult = ReturnType<
typeof useCommunityUserPrivilegesWithParentCommunityQuery
>;
export type CommunityUserPrivilegesWithParentCommunityLazyQueryHookResult = ReturnType<
typeof useCommunityUserPrivilegesWithParentCommunityLazyQuery
>;
export type CommunityUserPrivilegesWithParentCommunityQueryResult = Apollo.QueryResult<
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
>;
export function refetchCommunityUserPrivilegesWithParentCommunityQuery(
variables: SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
) {
return { query: CommunityUserPrivilegesWithParentCommunityDocument, variables: variables };
}

export const CommunityUserPrivilegesDocument = gql`
query communityUserPrivileges($spaceNameId: UUID_NAMEID!, $communityId: UUID!) {
space(ID: $spaceNameId) {
Expand Down
Loading
Loading