Merge pull request #14663 from overleaf/mj-table-generator-promo

[cm6] Add promotion popover for table generator and pasting formatted text

GitOrigin-RevId: 9096b36ac4f07d1fc862ecc3bd5df033348950ab
This commit is contained in:
Mathias Jakobsen
2023-09-27 10:58:08 +01:00
committed by Copybot
parent d76c0e2688
commit dc86b0285a
8 changed files with 294 additions and 2 deletions
@@ -2,7 +2,10 @@ const SessionManager = require('../Authentication/SessionManager')
const TutorialHandler = require('./TutorialHandler')
const { expressify } = require('../../util/promises')
const VALID_KEYS = ['react-history-buttons-tutorial']
const VALID_KEYS = [
'react-history-buttons-tutorial',
'table-generator-promotion',
]
async function completeTutorial(req, res, next) {
const userId = SessionManager.getLoggedInUserId(req.session)