mirror of https://github.com/vector-im/riot-web
				
				
				
			delint
							parent
							
								
									c8d9294350
								
							
						
					
					
						commit
						70d8378a66
					
				| 
						 | 
				
			
			@ -395,11 +395,14 @@ const SpaceLanding = ({ space }) => {
 | 
			
		|||
    return <div className="mx_SpaceRoomView_landing">
 | 
			
		||||
        <div className="mx_SpaceFeedbackPrompt_topRight">
 | 
			
		||||
            { _t("Spaces are a new feature.") } 
 | 
			
		||||
            <AccessibleButton kind="link" onClick={() => {
 | 
			
		||||
                Modal.createTrackedDialog("Beta Feedback", "feature_spaces", BetaFeedbackDialog, {
 | 
			
		||||
                    featureId: "feature_spaces",
 | 
			
		||||
                });
 | 
			
		||||
            }}>
 | 
			
		||||
            <AccessibleButton
 | 
			
		||||
                kind="link"
 | 
			
		||||
                onClick={() => {
 | 
			
		||||
                    Modal.createTrackedDialog("Beta Feedback", "feature_spaces", BetaFeedbackDialog, {
 | 
			
		||||
                        featureId: "feature_spaces",
 | 
			
		||||
                    });
 | 
			
		||||
                }}
 | 
			
		||||
            >
 | 
			
		||||
                { _t("Give feedback.") }
 | 
			
		||||
            </AccessibleButton>
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -43,13 +43,16 @@ const BetaFeedbackDialog: React.FC<IProps> = ({ featureId, onFinished }) => {
 | 
			
		|||
            return SettingsStore.getValue(k);
 | 
			
		||||
        }))}
 | 
			
		||||
    >
 | 
			
		||||
        <AccessibleButton kind="link" onClick={() => {
 | 
			
		||||
            onFinished(false);
 | 
			
		||||
            defaultDispatcher.dispatch({
 | 
			
		||||
                action: Action.ViewUserSettings,
 | 
			
		||||
                initialTabId: UserTab.Labs,
 | 
			
		||||
            });
 | 
			
		||||
        }}>
 | 
			
		||||
        <AccessibleButton
 | 
			
		||||
            kind="link"
 | 
			
		||||
            onClick={() => {
 | 
			
		||||
                onFinished(false);
 | 
			
		||||
                defaultDispatcher.dispatch({
 | 
			
		||||
                    action: Action.ViewUserSettings,
 | 
			
		||||
                    initialTabId: UserTab.Labs,
 | 
			
		||||
                });
 | 
			
		||||
            }}
 | 
			
		||||
        >
 | 
			
		||||
            { _t("To leave the beta, visit your settings.") }
 | 
			
		||||
        </AccessibleButton>
 | 
			
		||||
    </GenericFeatureFeedbackDialog>;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue