Delete unused code: planFeatures.js, this config should have been deleted on the first plans page redesign.

This config is superseded by `plansFeatures.js` that is imported by `plansConfig.js` which is directly used in the pug template.

GitOrigin-RevId: ae0a0e1ff7c8a64022ab378d17943fe4a7ed3b35
This commit is contained in:
M Fahru 2024-06-12 00:18:50 -07:00 committed by Copybot
parent 05c0cbfd6d
commit d80046c757
3 changed files with 0 additions and 171 deletions

View file

@ -7,7 +7,6 @@ const Settings = require('@overleaf/settings')
const logger = require('@overleaf/logger')
const GeoIpLookup = require('../../infrastructure/GeoIpLookup')
const FeaturesUpdater = require('./FeaturesUpdater')
const planFeatures = require('./planFeatures')
const plansConfig = require('./plansConfig')
const interstitialPaymentConfig = require('./interstitialPaymentConfig')
const GroupPlansData = require('./GroupPlansData')
@ -120,7 +119,6 @@ async function plansPage(req, res) {
language,
formatCurrency,
recommendedCurrency: currency,
planFeatures,
plansConfig,
groupPlans: GroupPlansData,
groupPlanModalOptions,
@ -166,7 +164,6 @@ async function plansPageLightDesign(req, res) {
language,
formatCurrency,
recommendedCurrency: currency,
planFeatures,
plansConfig,
groupPlans: GroupPlansData,
groupPlanModalOptions,

View file

@ -1,155 +0,0 @@
module.exports = [
{
feature: 'number_collab',
value: 'str',
plans: {
free: '1',
personal: '1',
coll: '10',
prof: 'unlimited',
},
student: '6',
},
{
feature: 'unlimited_private',
value: 'bool',
info: 'unlimited_private_info',
plans: {
free: true,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'realtime_collab',
value: 'bool',
info: 'realtime_collab_info',
plans: {
free: true,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'thousands_templates',
value: 'bool',
info: 'hundreds_templates_info',
plans: {
free: true,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'powerful_latex_editor',
value: 'bool',
info: 'latex_editor_info',
plans: {
free: true,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'compile_timeout',
value: 'str',
plans: {
free: '1 min',
personal: '4 mins',
coll: '4 mins',
prof: '4 mins',
},
student: '4 mins',
},
{
feature: 'realtime_track_changes',
value: 'bool',
info: 'realtime_track_changes_info',
plans: {
free: false,
personal: false,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'full_doc_history',
value: 'bool',
info: 'full_doc_history_info',
plans: {
free: false,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'reference_search',
value: 'bool',
info: 'reference_search_info',
plans: {
free: false,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'reference_sync',
info: 'reference_sync_info',
value: 'bool',
plans: {
free: false,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'dropbox_integration_lowercase',
value: 'bool',
info: 'dropbox_integration_info',
plans: {
free: false,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'github_integration_lowercase',
value: 'bool',
info: 'github_integration_info',
plans: {
free: false,
personal: true,
coll: true,
prof: true,
},
student: true,
},
{
feature: 'priority_support',
value: 'bool',
plans: {
free: false,
personal: true,
coll: true,
prof: true,
},
student: true,
},
]

View file

@ -284,7 +284,6 @@
"compile_servers": "Compile servers",
"compile_servers_info": "Compiles for users on premium plans always run on a dedicated pool of the fastest available servers.",
"compile_terminated_by_user": "The compile was cancelled using the Stop Compilation button. You can download the raw logs to see where the compile stopped.",
"compile_timeout": "Compile timeout (minutes)",
"compile_timeout_short": "Compile timeout",
"compile_timeout_short_info_basic": "This is how much time you get to compile your project on the Overleaf servers. You may need additional time for longer or more complex projects.",
"compiler": "Compiler",
@ -654,7 +653,6 @@
"from_provider": "From __provider__",
"from_url": "From URL",
"full_doc_history": "Full document history",
"full_doc_history_info": "Travel back in time to see any version and who made changes. No matter what happens, weve got your back.",
"full_doc_history_info_v2": "You can see all the edits in your project and who made every change. Add labels to quickly access specific versions.",
"full_document_history": "Full document <0>history</0>",
"full_width": "Full width",
@ -709,7 +707,6 @@
"github_file_name_error": "This repository cannot be imported, because it contains file(s) with an invalid filename:",
"github_git_and_dropbox_integrations": "<0>Github</0>, <0>Git</0> and <0>Dropbox</0> integrations",
"github_git_folder_error": "This project contains a .git folder at the top level, indicating that it is already a git repository. The Overleaf GitHub sync service cannot sync git histories. Please remove the .git folder and try again.",
"github_integration_info": "Push and pull commits to and from GitHub or directly from Git, so you or your collaborators can work offline with Git and online with Overleaf.",
"github_integration_lowercase": "Git and GitHub integration",
"github_is_no_longer_connected": "GitHub is no longer connected to this project.",
"github_is_premium": "GitHub Sync is a premium feature",
@ -975,7 +972,6 @@
"latam_discount_offer_plans_page_banner": "__flag__ Weve applied a __discount__ discount to premium plans on this page for our users in __country__. Check out the new lower prices (in __currency__).",
"latex_articles_page_summary": "Papers, presentations, reports and more, written in LaTeX and published by our community. Search or browse below.",
"latex_articles_page_title": "Articles - Papers, Presentations, Reports and more",
"latex_editor_info": "Everything you need in a modern LaTeX editor --- spell check, intelligent autocomplete, syntax highlighting, dozens of color themes, vim and emacs bindings, help with LaTeX warnings and error messages, and much more.",
"latex_examples_page_summary": "Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.",
"latex_examples_page_title": "Examples - Equations, Formatting, TikZ, Packages and More",
"latex_in_thirty_minutes": "LaTeX in 30 minutes",
@ -1238,7 +1234,6 @@
"notification_project_invite_accepted_message": "Youve joined <b>__projectName__</b>",
"notification_project_invite_message": "<b>__userName__</b> would like you to join <b>__projectName__</b>",
"november": "November",
"number_collab": "Number of collaborators",
"number_of_users": "Number of users",
"number_of_users_info": "The number of users that can upgrade their Overleaf account if you purchase this plan.",
"number_of_users_with_colon": "Number of users:",
@ -1383,7 +1378,6 @@
"portal_add_affiliation_to_join": "It looks like you are already logged in to __appName__. If you have a __portalTitle__ email you can add it now.",
"position": "Position",
"postal_code": "Postal Code",
"powerful_latex_editor": "Powerful LaTeX editor",
"powerful_latex_editor_and_realtime_collaboration": "Powerful LaTeX editor & real-time collaboration",
"powerful_latex_editor_and_realtime_collaboration_info": "Spell check, intelligent autocomplete, syntax highlighting, dozens of color themes, vim and emacs bindings, help with LaTeX warnings and error messages, and more. Everyone always has the latest version, and you can see your collaborators cursors and changes in real time.",
"premium_feature": "Premium feature",
@ -1469,10 +1463,7 @@
"ready_to_join_x_in_group_y": "Youre ready to join __inviterName__ in __groupName__",
"ready_to_set_up": "Ready to set up",
"real_time_track_changes": "Real-time <0>track-changes</0>",
"realtime_collab": "Real-time collaboration",
"realtime_collab_info": "When youre working together, you can see your collaborators cursors and their changes in real time, so everyone always has the latest version.",
"realtime_track_changes": "Real-time track changes",
"realtime_track_changes_info": "Now you dont have to choose between tracked changes and typesetting in LaTeX. Leave comments, keep track of TODOs, and accept or reject others changes.",
"realtime_track_changes_info_v2": "Switch on track changes to see who made every change, accept or reject others changes, and write comments.",
"reasons_for_compile_timeouts": "Reasons for compile timeouts",
"reauthorize_github_account": "Reauthorize your GitHub Account",
@ -1496,10 +1487,8 @@
"reference_error_relink_hint": "If this error persists, try re-linking your account here:",
"reference_managers": "Reference managers",
"reference_search": "Advanced reference search",
"reference_search_info": "You can always search by citation key, and advanced reference search lets you also search by author, title, year or journal.",
"reference_search_info_v2": "Its easy to find your references - you can search by author, title, year or journal. You can still search by citation key too.",
"reference_sync": "Reference manager sync",
"reference_sync_info": "Manage your reference library in Mendeley or Zotero and link it directly to a .bib file in Overleaf, so you can easily cite anything in your library.",
"refresh": "Refresh",
"refresh_page_after_linking_dropbox": "Please refresh this page after linking your account to Dropbox.",
"refresh_page_after_starting_free_trial": "Please refresh this page after starting your free trial.",
@ -2058,8 +2047,6 @@
"unlimited_collaborators_in_each_project": "Unlimited collaborators in each project",
"unlimited_collabs": "Unlimited collaborators",
"unlimited_collabs_rt": "<0>Unlimited</0> collaborators",
"unlimited_private": "Unlimited private projects",
"unlimited_private_info": "All your projects are private by default. Invite collaborators to read or edit by email address or by sending them a secret link.",
"unlimited_projects": "Unlimited projects",
"unlimited_projects_info": "Your projects are private by default. This means that only you can view them, and only you can allow other people to access them.",
"unlink": "Unlink",