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

/explore #55

Draft
wants to merge 924 commits into
base: main
Choose a base branch
from
Draft

/explore #55

wants to merge 924 commits into from

Conversation

aofn
Copy link
Member

@aofn aofn commented Sep 6, 2023

  • if selectedSpaceChildren length is 1 check for parent in matrix
  • check if rooms/spaces are already in our matrix storage and only then use roomHierarchy
  • check if user actually has the needed power level to invite users to the matrix room (s. this)

isSubscribed = false;
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [matrixClient, parentSpaceRoomId, sortAlphabetically, templatePlaceholderMapping, templatePrefixFilter]);

Check failure

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Error

React Hook useEffect has missing dependencies: 'matrix.rooms', 'matrix.spaces', and 'onFetchedChildren'. Either include them or remove the dependency array. If 'onFetchedChildren' changes too often, find the parent component that defines it and wrap that definition in useCallback.
components/UserHandle/index.js Fixed Show fixed Hide fixed
components/UserHandle/index.js Fixed Show fixed Hide fixed
pages/explore/TreeView.js Fixed Show fixed Hide fixed
pages/explore/TreeView.js Fixed Show fixed Hide fixed
pages/explore/presets.js Fixed Show fixed Hide fixed
pages/explore/TreePath.js Fixed Show fixed Hide fixed
pages/etherpad/[[...roomId]].js Fixed Show fixed Hide fixed
pages/etherpad/[[...roomId]].js Fixed Show fixed Hide fixed
pages/explore/ExploreIframeViews.js Fixed Show fixed Hide fixed
pages/explore/ExploreIframeViews.js Fixed Show fixed Hide fixed
pages/explore/TreeView.js Fixed Show fixed Hide fixed
pages/explore/[[...roomId]].js Fixed Show fixed Hide fixed
pages/explore/[[...roomId]].js Fixed Show fixed Hide fixed
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

ESLint found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

ESLint found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Copy link
Member

@fnwbr fnwbr left a comment

Choose a reason for hiding this comment

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

  1. Create a new pad
  2. Open the pad
  3. Where is the "Invite users" icon?
Screenshot 2024-01-31 at 12 13 45

pages/explore/ProjectView.js Fixed Show fixed Hide fixed
pages/explore/ProjectView.js Fixed Show fixed Hide fixed
pages/explore/ProjectView.js Fixed Show fixed Hide fixed
pages/explore/SingleLevel.js Fixed Show fixed Hide fixed
pages/explore/manage-room/TemplateSelect.js Fixed Show fixed Hide fixed
pages/explore/[[...roomId]].js Fixed Show fixed Hide fixed
pages/explore/manage-room/ChangeTopic.js Fixed Show fixed Hide fixed
pages/explore/manage-room/ChangeTopic.js Fixed Show fixed Hide fixed
pages/explore/manage-room/UserManagement.js Fixed Show fixed Hide fixed
pages/explore/manage-room/UserManagement.js Fixed Show fixed Hide fixed
components/UI/PreviousNextButtons.js Fixed Show fixed Hide fixed
components/UI/PreviousNextButtons.js Fixed Show fixed Hide fixed
components/UI/PreviousNextButtons.js Fixed Show fixed Hide fixed
pages/explore/TreeLeaves.js Fixed Show fixed Hide fixed
pages/explore/TreeLeaves.js Fixed Show fixed Hide fixed
pages/explore/TreeLeaves.js Fixed Show fixed Hide fixed
pages/explore/TreeLeaves.js Fixed Show fixed Hide fixed
components/UI/ServiceLink.js Fixed Show fixed Hide fixed
components/UI/ServiceLink.js Fixed Show fixed Hide fixed
pages/etherpad/[[...roomId]].js Fixed Show fixed Hide fixed
pages/explore/ExploreIframeViews.js Fixed Show fixed Hide fixed
pages/explore/[[...roomId]].js Fixed Show fixed Hide fixed
return () => {
cancelled = true;
};
}, [router.query?.roomId, matrix.initialSyncDone, cachedSpace]);

Check failure

Code scanning / ESLint

verifies the list of dependencies for Hooks like useEffect and similar Error

React Hook useEffect has missing dependencies: 'getSpaceChildren' and 'roomId'. Either include them or remove the dependency array.
pages/explore/manage-room/ChangeTopic.js Fixed Show fixed Hide fixed
pages/explore/manage-room/LeaveRoom.js Fixed Show fixed Hide fixed
pages/explore/manage-room/LeaveRoom.js Fixed Show fixed Hide fixed
pages/explore/manage-room/UserManagement.js Fixed Show fixed Hide fixed
andirueckel and others added 28 commits April 8, 2024 13:15
…view

/explore: fix icons in context view
…h-defaultoption

adding default value and remove error for `template select`
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.

4 participants