Skip to content

Commit 03c3b83

Browse files
committed
chore: update phcode survey and docs
1 parent 607389a commit 03c3b83

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

src/assets/default-project/en/Newly_added_features.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ We are continuously adding features every week to improve the life of web develo
77

88
Here's a list of top features recently added to Phoenix:
99

10+
## Restore Unsaved Files and Crash Recovery
11+
`Added on May,2023`
12+
13+
We're added enhanced auto-recovery features in phcode.
14+
This functionality ensures your work is safe even in the event of a crash or if the application is
15+
closed without saving edited files.
16+
17+
![image](https://github.com/phcode-dev/phoenix/assets/5336369/9cfd5720-947b-4f88-8dfa-cda940d912c6)
18+
1019
## Safari Support (Beta)
1120
`Added on May,2023`
1221

src/extensions/default/Phoenix/guided-tour.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ define(function (require, exports, module) {
278278

279279
function _showGeneralSurvey() {
280280
setTimeout(()=>{
281-
let surveyVersion = 5; // increment this if you want to show this again
281+
let surveyVersion = 6; // increment this if you want to show this again
282282
var templateVars = {
283283
Strings: Strings,
284-
surveyURL: "https://s.surveyplanet.com/6208d1eccd51c561fc8e59ca"
284+
surveyURL: "https://s.surveyplanet.com/g837j5k9"
285285
};
286286
if(userAlreadyDidAction.generalSurveyShownVersion !== surveyVersion){
287287
Metrics.countEvent(Metrics.EVENT_TYPE.USER, "survey", "generalShown", 1);

src/extensions/default/Phoenix/html/survey-template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="modal" style="height: 50vh; display: flex; flex-direction: column; justify-content: space-between">
1+
<div class="modal" style="height: 60vh; display: flex; flex-direction: column; justify-content: space-between">
22
<iframe title="Phoenix Survey" id="frame1" width="100%" height="100%" src={{surveyURL}} style="border: 0px;"></iframe>
33
<div class="modal-footer">
44
<button class="dialog-button btn primary" data-button-id="ok">{{Strings.CLOSE}}</button>

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
const CACHE_NAME_EVERYTHING = "everything";
144144
function _resetCacheIfNeeded() {
145145
const cacheKey = "browserCacheVersionKey";
146-
const newCacheVersion = "V14"; // just increment this number to V2, v3 etc. to force clear the cached content.
146+
const newCacheVersion = "V15"; // just increment this number to V2, v3 etc. to force clear the cached content.
147147
const lastClearedVersion = window.localStorage.getItem(cacheKey);
148148
if(lastClearedVersion === null){
149149
// setup First load flag, no cache, return.

0 commit comments

Comments
 (0)