Skip to content

Doc page - changes#1048

Merged
Davy-c merged 25 commits intomasterfrom
feat/doc-page-renewal
Jul 13, 2021
Merged

Doc page - changes#1048
Davy-c merged 25 commits intomasterfrom
feat/doc-page-renewal

Conversation

@Davy-c
Copy link
Copy Markdown
Contributor

@Davy-c Davy-c commented Jul 13, 2021

No description provided.

@Davy-c Davy-c merged commit d9f9f98 into master Jul 13, 2021
import EditorKeyMapSelect from './EditorKeyMapSelect'
import EditorThemeSelect from './EditorThemeSelect'
import DocContextMenu from '../../organisms/Topbar/Controls/ControlsContextMenu/DocContextMenu'
//import DocContextMenu from '../../organisms/Topbar/Controls/ControlsContextMenu/DocContextMenu'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this comment be removed?

Comment thread src/cloud/components/organisms/CommentManager.tsx
Comment thread src/cloud/components/organisms/CommentManager.tsx
backLinks,
editorRef,
}: DocContextMenuProps) => {
const { permissions = [], currentUserIsCoreMember } = usePage()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably doesn't need to be changes, but this data can probably be passed as props rather than using the hook. team, currentDoc etc is so it feels a bit out of place.
Maybe worth taking a look at if/when we review how we handle API data, as here it seems to actually only be used to ensure most recent version of users, which probably should be done at a higher level.

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.

2 participants