Skip to content

Support toggling awt development in help center - #886

Merged
Sheng Chen (jdneo) merged 2 commits into
mainfrom
cs/awt
Jan 18, 2022
Merged

Sheng Chen (jdneo) merged 2 commits into
mainfrom
cs/awt

Conversation

@jdneo

Copy link
Copy Markdown
Member

This PR adds a new entry to toggle the awt development in the Student section of Help Center.

Signed-off-by: sheche [email protected]

@Eskibear Yan Zhang (Eskibear) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

Just wondering if we can simply add the entry in private groups, e.g. make it a getter, and the args value depends on this.props.isAwtDisabled. But I'm not sure if that would cause refresh of the whole page after you click the action.

Signed-off-by: sheche <[email protected]>
@jdneo

Copy link
Copy Markdown
Member Author

LGTM.

Just wondering if we can simply add the entry in private groups, e.g. make it a getter, and the args value depends on this.props.isAwtDisabled. But I'm not sure if that would cause refresh of the whole page after you click the action.

Good idea! This simplified the code and won't refresh the whole page

@jdneo
Sheng Chen (jdneo) merged commit 414bf9c into main Jan 18, 2022
@jdneo
Sheng Chen (jdneo) deleted the cs/awt branch January 18, 2022 06:57
@jdneo Sheng Chen (jdneo) mentioned this pull request Jan 24, 2022
35 tasks done
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