From 8b2fe023c2e6ff1fb4198a28653752e84bd3714d Mon Sep 17 00:00:00 2001 From: Ali Sadeghi Date: Thu, 16 May 2024 18:01:59 +0330 Subject: [PATCH] Update queue structure / Add favicon to project / Improve how-to-use text --- Assets/csi-icon-32.png | Bin 0 -> 4050 bytes JS/convertInput.js | 4 ++-- JS/convertInput.js.map | 2 +- JS/demoList.js | 5 +---- JS/demoList.js.map | 2 +- JS/output.js | 2 +- JS/output.js.map | 2 +- Style/_how-to-use.scss | 2 +- Style/style.css | 2 +- Style/style.css.map | 2 +- TS/convertInput.ts | 6 +++--- TS/demoList.ts | 5 +---- TS/output.ts | 3 ++- index.html | 24 +++++++++++++----------- 14 files changed, 29 insertions(+), 32 deletions(-) create mode 100644 Assets/csi-icon-32.png diff --git a/Assets/csi-icon-32.png b/Assets/csi-icon-32.png new file mode 100644 index 0000000000000000000000000000000000000000..8e3cd94c09139a37e09fd74dcf38a9fe8c40a73e GIT binary patch literal 4050 zcmV;@4=wPCP)StO&>uS)ve<0AYj>5AR{$W90N^4L=L-RlQUJ&DC0@ZjPh;=*jPLSYvv5M~MFBAl0-BNIsH z15C~g000{K(ZT*WKal6<?_01!^k@7iDG<<3=fuAC~28EsPoqkpK{9G%|Vj005J}`Hw&=0RYXHq~ibpyyzHQsFW8>#s~laM4*8xut5h5 z!4#~(4xGUqyucR%VFpA%3?#rj5JCpzfE)^;7?wd9RKPme1hudO8lVxH;SjXJF*pt9 z;1XPc>u?taU>Kgl7`%oF1VP9M6Ja4bh!J9r*dopd7nzO(B4J20l7OTj>4+3jBE`sZ zqynizYLQ(?Bl0bB6giDtK>Co|$RIL`{EECsF_eL_Q3KQhbwIhO9~z3rpmWi5G!I>X zmZEFX8nhlgfVQHi(M#xcbO3#dj$?q)F%D*o*1Pf{>6$SWH+$s3q(pv=X`qR|$iJF~TPzlc-O$C3+J1 z#CT#lv5;6stS0Uu9wDA3UMCI{Uz12A4#|?_P6{CkNG+sOq(0IRX`DyT~9-sA|ffUF>wk++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0>c>Ve{RaI43EEZnAe949l8!(wnT)TD+lgY%EEnBFqt);)eAHUzv z(xpprxm?)ocKCJ%6h-0v`}d^NY0jQKOD>nArlyAa`g;2M`e{pU-q5E0~U*gTrP*t z=fhwy;BYv|=kt`7mZH^qtVFt_&8>>nRDmPF+4m> zM@I+s_4WVMPZzxjf3_Yzd?@4N { inputArray = input.value.split("\n"); - course = inputArray[inputArray.length - 5]; + course = inputArray[0].split(" ")[2]; membersArray = []; - for (let i = 2; i < inputArray.length - 6; i++) { + for (let i = 2; i < inputArray.length - 3; i++) { membersArray.push(inputArray[i]); } memberBits = membersArray.map((memberArray) => { diff --git a/JS/convertInput.js.map b/JS/convertInput.js.map index 54abf0e..d7254b4 100644 --- a/JS/convertInput.js.map +++ b/JS/convertInput.js.map @@ -1 +1 @@ -{"version":3,"file":"convertInput.js","sourceRoot":"","sources":["../TS/convertInput.ts"],"names":[],"mappings":";AAAA,MAAM,0BAA0B,GAAG,GAAG,EAAE;IACpC,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAErC,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE3C,YAAY,GAAG,EAAE,CAAC;IAGlB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;QAC5C,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;KACpC;IAGD,UAAU,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE;QAC1C,OAAO,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAGjD,QAAQ,CAAC,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git a/JS/demoList.js b/JS/demoList.js index ae1393d..dbbb84f 100644 --- a/JS/demoList.js +++ b/JS/demoList.js @@ -1,6 +1,6 @@ "use strict"; const addDemoList = () => { - input.value = ` آپدیت صف #دمو 👇🏻 + input.value = `آپدیت صف #دمو 👇🏻 1- علی صادقی @Ali_Sdg90 2- حسام حسنی @HessamHasaniWP @@ -10,9 +10,6 @@ const addDemoList = () => { 6- مرضیه حسامی زاده @Miss_HessamZ 7- امیرحسین حسامی @amirhossein_wp_Hessam -#دمو - --ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ- برنامه مدیریت صف برای مسئول صف: https://ali-sdg90.github.io/CS-Queue-Message-Maker/`; }; diff --git a/JS/demoList.js.map b/JS/demoList.js.map index 952f8ec..b3007bb 100644 --- a/JS/demoList.js.map +++ b/JS/demoList.js.map @@ -1 +1 @@ -{"version":3,"file":"demoList.js","sourceRoot":"","sources":["../TS/demoList.ts"],"names":[],"mappings":";AAAA,MAAM,WAAW,GAAG,GAAG,EAAE;IACrB,KAAK,CAAC,KAAK,GAAG;;;;;;;;;;;;;;oDAckC,CAAC;AACrD,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"demoList.js","sourceRoot":"","sources":["../TS/demoList.ts"],"names":[],"mappings":";AAAA,MAAM,WAAW,GAAG,GAAG,EAAE;IACrB,KAAK,CAAC,KAAK,GAAG;;;;;;;;;;;oDAWkC,CAAC;AACrD,CAAC,CAAC"} \ No newline at end of file diff --git a/JS/output.js b/JS/output.js index c40f87a..b7765f1 100644 --- a/JS/output.js +++ b/JS/output.js @@ -13,7 +13,7 @@ const updateOutput = () => { if (course === "#دمو") { showLink = "https://ali-sdg90.github.io/CS-Queue-Message-Maker/"; } - outputText += `\n${course}\n\n-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-\nبرنامه مدیریت صف برای مسئول صف:\n${showLink}`; + outputText += `\nبرنامه مدیریت صف برای مسئول صف:\n${showLink}`; output.textContent = outputText; const addMembers = document.querySelectorAll(".add-member"); if (addMembers.length > 2) { diff --git a/JS/output.js.map b/JS/output.js.map index 0449736..62fdc99 100644 --- a/JS/output.js.map +++ b/JS/output.js.map @@ -1 +1 @@ -{"version":3,"file":"output.js","sourceRoot":"","sources":["../TS/output.ts"],"names":[],"mappings":";AAAA,MAAM,YAAY,GAAG,GAAG,EAAE;IACtB,IAAI,UAAU,GAAG,EAAE,CAAC;IAEpB,UAAU,IAAI,YAAY,MAAM,WAAW,CAAC;IAE5C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACxC,UAAU,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;QAE1B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC3C,UAAU,IAAI,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACxC;QACD,UAAU,IAAI,IAAI,CAAC;KACtB;IAED,IAAI,QAAQ,GAAG,QAAQ,CAAC;IACxB,IAAI,MAAM,KAAK,MAAM,EAAE;QACnB,QAAQ,GAAG,qDAAqD,CAAC;KACpE;IAED,UAAU,IAAI,KAAK,MAAM,iGAAiG,QAAQ,EAAE,CAAC;IAErI,MAAM,CAAC,WAAW,GAAG,UAAU,CAAC;IAEhC,MAAM,UAAU,GAAG,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAG5D,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;QACvB,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC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AE;YACZ,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAChD,CAAC,EAAE,GAAG,CAAC,CAAC;KACX;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/Style/_how-to-use.scss b/Style/_how-to-use.scss index f3001b5..f743542 100644 --- a/Style/_how-to-use.scss +++ b/Style/_how-to-use.scss @@ -1,6 +1,6 @@ .how-to-use-container { direction: ltr; - padding: 4px; + padding: 7px 9px; .how-to-use-text { text-align: justify; diff --git a/Style/style.css b/Style/style.css index 9a6bf30..5c62f7e 100644 --- a/Style/style.css +++ b/Style/style.css @@ -375,7 +375,7 @@ body { .how-to-use-container { direction: ltr; - padding: 4px; + padding: 7px 9px; } .how-to-use-container .how-to-use-text { text-align: justify; diff --git a/Style/style.css.map b/Style/style.css.map index 1dfaebf..137ceb3 100644 --- a/Style/style.css.map +++ b/Style/style.css.map @@ -1 +1 @@ -{"version":3,"sources":["_config.scss","style.css","_customScaleCalc.scss","_animation.scss","_base-sections.scss","_input-output-sections.scss","_edit-section.scss","_colors.scss","_how-to-use.scss"],"names":[],"mappings":"AAAA;EACI,UAAA;EACA,SAAA;EACA,sBAAA;EACA,eAAA;ACCJ;;ADEA;EACI,2BAAA;EACA,yBAAA;EACA,WAAA;EACA,aAAA;EACA,aAAA;EACA,wBAAA;EACA,8BAAA;EACA,mBAAA;EACA,uBAAA;EACA,yBAAA;KAAA,sBAAA;UAAA,iBAAA;ACCJ;;ADEA;EACI,UAAA;ACCJ;ADCI;EACI,mBAAA;ACCR;ADEI;EACI,mBAAA;EACA,mBAAA;ACAR;ADEQ;EACI,mBAAA;ACAZ;;AChCA;EACI,WAAA;EACA,iCAAA;EACA,iDAAA;ADmCJ;;AChCA;EAEI,YAAA;EACA,gBAAA;EACA,kBAAA;ADkCJ;;AE5CA;EACI;IACI,wBAAA;EF+CN;EE7CE;IACI,2BAAA;EF+CN;EE7CE;IACI,0BAAA;EF+CN;EE7CE;IACI,2BAAA;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;EACA,qBAAA;EACA,8BAAA;EACA,mBAAA;EACA,4BAAA;EACA,WAAA;EACA,eAAA;EACA,YAAA;EACA,kBAAA;EACA,qBAAA;EACA,gBAAA;ALoLhB;AKlLgB;EACI,aAAA;EACA,qBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;EACA,SAAA;ALoLpB;AKlLoB;EACI,yBAAA;EACA,gCAAA;EACA,aAAA;EACA,WAAA;EACA,kBAAA;EACA,YAAA;EACA,gBAAA;EACA,YAAA;EACA,YAAA;ALoLxB;AKlLwB;EACI,kCAAA;EACA,oBAAA;ALoL5B;AKtLwB;EACI,kCAAA;EACA,oBAAA;ALoL5B;AK/KgB;EACI,+BAAA;EACA,gBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;EACA,qBAAA;EACA,uBAAA;EACA,mBAAA;EACA,eAAA;EACA,qBAAA;EACA,kBAAA;EACA,kCAAA;EACA,YAAA;ALiLpB;AK/KoB;EACI,+BAAA;ALiLxB;AK9KoB;EACI,+BAAA;ALgLxB;;AO3WA;EACI,cAAA;EACA,YAAA;AP8WJ;AO5WI;EACI,mBAAA;EACA,iBAAA;EACA,gBAAA;AP8WR;AO3WI;EACI,aAAA;EACA,qBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;EACA,mBAAA;EACA,kCDjBU;ECkBV,kCAAA;EACA,WAAA;EACA,gBAAA;EACA,eAAA;EACA,eAAA;EACA,qEAAA;EACA,4CAAA;AP6WR;AO3WQ;EACI,4BAAA;AP6WZ;AO1WQ;EACI,4BAAA;EACA,4CAAA;EACA,0BAAA;AP4WZ;;AOvWA;EACI,mBAAA;EACA,eAAA;EACA,qBAAA;EACA,YAAA;AP0WJ;;AOvWA;EACI,eAAA;EACA,uBAAA;AP0WJ;AOxWI;EACI,yBAAA;AP0WR","file":"style.css"} \ No newline at end of file +{"version":3,"sources":["_config.scss","style.css","_customScaleCalc.scss","_animation.scss","_base-sections.scss","_input-output-sections.scss","_edit-section.scss","_colors.scss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;AP8WJ;AO5WI;EACI,mBAAA;EACA,iBAAA;EACA,gBAAA;AP8WR;AO3WI;EACI,aAAA;EACA,qBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;EACA,mBAAA;EACA,kCDjBU;ECkBV,kCAAA;EACA,WAAA;EACA,gBAAA;EACA,eAAA;EACA,eAAA;EACA,qEAAA;EACA,4CAAA;AP6WR;AO3WQ;EACI,4BAAA;AP6WZ;AO1WQ;EACI,4BAAA;EACA,4CAAA;EACA,0BAAA;AP4WZ;;AOvWA;EACI,mBAAA;EACA,eAAA;EACA,qBAAA;EACA,YAAA;AP0WJ;;AOvWA;EACI,eAAA;EACA,uBAAA;AP0WJ;AOxWI;EACI,yBAAA;AP0WR","file":"style.css"} \ No newline at end of file diff --git a/TS/convertInput.ts b/TS/convertInput.ts index 4bda933..32480b8 100644 --- a/TS/convertInput.ts +++ b/TS/convertInput.ts @@ -1,12 +1,12 @@ const convertInputToEditableList = () => { inputArray = input.value.split("\n"); - course = inputArray[inputArray.length - 5]; + course = inputArray[0].split(" ")[2]; membersArray = []; - // Store elements from line 2 to length - 6 in membersArray - for (let i = 2; i < inputArray.length - 6; i++) { + // Store elements from line 2 to length - 3 in membersArray + for (let i = 2; i < inputArray.length - 3; i++) { membersArray.push(inputArray[i]); } diff --git a/TS/demoList.ts b/TS/demoList.ts index 98f939d..a331018 100644 --- a/TS/demoList.ts +++ b/TS/demoList.ts @@ -1,5 +1,5 @@ const addDemoList = () => { - input.value = ` آپدیت صف #دمو 👇🏻 + input.value = `آپدیت صف #دمو 👇🏻 1- علی صادقی @Ali_Sdg90 2- حسام حسنی @HessamHasaniWP @@ -9,9 +9,6 @@ const addDemoList = () => { 6- مرضیه حسامی زاده @Miss_HessamZ 7- امیرحسین حسامی @amirhossein_wp_Hessam -#دمو - --ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ- برنامه مدیریت صف برای مسئول صف: https://ali-sdg90.github.io/CS-Queue-Message-Maker/`; }; diff --git a/TS/output.ts b/TS/output.ts index f1af481..d81c7de 100644 --- a/TS/output.ts +++ b/TS/output.ts @@ -17,7 +17,8 @@ const updateOutput = () => { showLink = "https://ali-sdg90.github.io/CS-Queue-Message-Maker/"; } - outputText += `\n${course}\n\n-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-\nبرنامه مدیریت صف برای مسئول صف:\n${showLink}`; + // outputText += `\n${course}\n\n-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-ـ-\nبرنامه مدیریت صف برای مسئول صف:\n${showLink}`; + outputText += `\nبرنامه مدیریت صف برای مسئول صف:\n${showLink}`; output.textContent = outputText; diff --git a/index.html b/index.html index 60029f2..ac5c685 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,8 @@ - CS-Queue-Message-Maker + + CS Queue Message Maker
@@ -86,18 +87,19 @@

-->
-

How to use:

+

How to use the app:

- Copy the list you want to modify from the + Copy the list you wish to modify from the "CS Internship - Queue" group and paste it - into the Input section. Click on Submit - button, and in the Edit List section, make - the desired changes to the list. You can - move someone to the end of the list, remove - them, or add a new member. Once you've made - the desired changes, click the copy button - in the Output section, and the updated list - will be copied for you. + into the Input section. After clicking the + Submit button, you can make the necessary + changes to the list in the Edit List + section. These changes may involve moving + someone to the end of the queue, removing + them, or adding a new member. Once you've + completed the desired changes, click the + copy button in the Output section to have + the updated list copied to your clipboard.
Add Demo List