ide-assi 0.532.0 → 0.533.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -202707,7 +202707,7 @@ class IdeAssi extends HTMLElement
202707
202707
 
202708
202708
  setTimeout(() => {
202709
202709
  this.shadowRoot.querySelector("ide-tip-popup").close();
202710
- }, 3000);
202710
+ }, 9000);
202711
202711
 
202712
202712
  /**
202713
202713
  try {
@@ -203042,8 +203042,6 @@ class IdeLoadingTips extends HTMLElement {
203042
203042
  */
203043
203043
  async startTips(tipsUrl, tipCategory) {
203044
203044
 
203045
- console.log("1111");
203046
-
203047
203045
  if (!tipsUrl || !tipCategory) {
203048
203046
  console.error("Tips URL or category not provided for aiLoadingTips.");
203049
203047
  return;
@@ -203057,8 +203055,6 @@ class IdeLoadingTips extends HTMLElement {
203057
203055
  const data = await response.json();
203058
203056
  const tips = data[tipCategory];
203059
203057
 
203060
- console.log(tips);
203061
-
203062
203058
  if (!tips || tips.length === 0) {
203063
203059
  console.warn(`No tips found for category '${tipCategory}' in ${tipsUrl}.`);
203064
203060
  return;
@@ -203076,8 +203072,6 @@ class IdeLoadingTips extends HTMLElement {
203076
203072
  }, this.#tipDisplayDuration);
203077
203073
 
203078
203074
  this.loadingAnimation.style.display = 'block'; // Show the loading spinner
203079
-
203080
- console.log("9999");
203081
203075
  } catch (error) {
203082
203076
  console.error("Error loading tips:", error);
203083
203077
  this.stopTips(); // Stop intervals and hide animations on error
@@ -203118,6 +203112,9 @@ class IdeLoadingTips extends HTMLElement {
203118
203112
  */
203119
203113
  showCurrentTip() {
203120
203114
  const currentTip = this.#tips[this.#currentTipIndex];
203115
+
203116
+ console.log(currentTip);
203117
+
203121
203118
  if (this.tipElement && currentTip) {
203122
203119
  this.tipElement.textContent = currentTip.text;
203123
203120
 
@@ -202703,7 +202703,7 @@ class IdeAssi extends HTMLElement
202703
202703
 
202704
202704
  setTimeout(() => {
202705
202705
  this.shadowRoot.querySelector("ide-tip-popup").close();
202706
- }, 3000);
202706
+ }, 9000);
202707
202707
 
202708
202708
  /**
202709
202709
  try {
@@ -203038,8 +203038,6 @@ class IdeLoadingTips extends HTMLElement {
203038
203038
  */
203039
203039
  async startTips(tipsUrl, tipCategory) {
203040
203040
 
203041
- console.log("1111");
203042
-
203043
203041
  if (!tipsUrl || !tipCategory) {
203044
203042
  console.error("Tips URL or category not provided for aiLoadingTips.");
203045
203043
  return;
@@ -203053,8 +203051,6 @@ class IdeLoadingTips extends HTMLElement {
203053
203051
  const data = await response.json();
203054
203052
  const tips = data[tipCategory];
203055
203053
 
203056
- console.log(tips);
203057
-
203058
203054
  if (!tips || tips.length === 0) {
203059
203055
  console.warn(`No tips found for category '${tipCategory}' in ${tipsUrl}.`);
203060
203056
  return;
@@ -203072,8 +203068,6 @@ class IdeLoadingTips extends HTMLElement {
203072
203068
  }, this.#tipDisplayDuration);
203073
203069
 
203074
203070
  this.loadingAnimation.style.display = 'block'; // Show the loading spinner
203075
-
203076
- console.log("9999");
203077
203071
  } catch (error) {
203078
203072
  console.error("Error loading tips:", error);
203079
203073
  this.stopTips(); // Stop intervals and hide animations on error
@@ -203114,6 +203108,9 @@ class IdeLoadingTips extends HTMLElement {
203114
203108
  */
203115
203109
  showCurrentTip() {
203116
203110
  const currentTip = this.#tips[this.#currentTipIndex];
203111
+
203112
+ console.log(currentTip);
203113
+
203117
203114
  if (this.tipElement && currentTip) {
203118
203115
  this.tipElement.textContent = currentTip.text;
203119
203116
 
@@ -168,7 +168,7 @@ export class IdeAssi extends HTMLElement
168
168
 
169
169
  setTimeout(() => {
170
170
  this.shadowRoot.querySelector("ide-tip-popup").close();
171
- }, 3000);
171
+ }, 9000);
172
172
 
173
173
  /**
174
174
  try {
@@ -143,8 +143,6 @@ class IdeLoadingTips extends HTMLElement {
143
143
  */
144
144
  async startTips(tipsUrl, tipCategory) {
145
145
 
146
- console.log("1111");
147
-
148
146
  if (!tipsUrl || !tipCategory) {
149
147
  console.error("Tips URL or category not provided for aiLoadingTips.");
150
148
  return;
@@ -158,8 +156,6 @@ class IdeLoadingTips extends HTMLElement {
158
156
  const data = await response.json();
159
157
  const tips = data[tipCategory];
160
158
 
161
- console.log(tips);
162
-
163
159
  if (!tips || tips.length === 0) {
164
160
  console.warn(`No tips found for category '${tipCategory}' in ${tipsUrl}.`);
165
161
  return;
@@ -177,8 +173,6 @@ class IdeLoadingTips extends HTMLElement {
177
173
  }, this.#tipDisplayDuration);
178
174
 
179
175
  this.loadingAnimation.style.display = 'block'; // Show the loading spinner
180
-
181
- console.log("9999");
182
176
  } catch (error) {
183
177
  console.error("Error loading tips:", error);
184
178
  this.stopTips(); // Stop intervals and hide animations on error
@@ -219,6 +213,9 @@ class IdeLoadingTips extends HTMLElement {
219
213
  */
220
214
  showCurrentTip() {
221
215
  const currentTip = this.#tips[this.#currentTipIndex];
216
+
217
+ console.log(currentTip);
218
+
222
219
  if (this.tipElement && currentTip) {
223
220
  this.tipElement.textContent = currentTip.text;
224
221
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.532.0",
4
+ "version": "0.533.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -168,7 +168,7 @@ export class IdeAssi extends HTMLElement
168
168
 
169
169
  setTimeout(() => {
170
170
  this.shadowRoot.querySelector("ide-tip-popup").close();
171
- }, 3000);
171
+ }, 9000);
172
172
 
173
173
  /**
174
174
  try {
@@ -143,8 +143,6 @@ class IdeLoadingTips extends HTMLElement {
143
143
  */
144
144
  async startTips(tipsUrl, tipCategory) {
145
145
 
146
- console.log("1111");
147
-
148
146
  if (!tipsUrl || !tipCategory) {
149
147
  console.error("Tips URL or category not provided for aiLoadingTips.");
150
148
  return;
@@ -158,8 +156,6 @@ class IdeLoadingTips extends HTMLElement {
158
156
  const data = await response.json();
159
157
  const tips = data[tipCategory];
160
158
 
161
- console.log(tips);
162
-
163
159
  if (!tips || tips.length === 0) {
164
160
  console.warn(`No tips found for category '${tipCategory}' in ${tipsUrl}.`);
165
161
  return;
@@ -177,8 +173,6 @@ class IdeLoadingTips extends HTMLElement {
177
173
  }, this.#tipDisplayDuration);
178
174
 
179
175
  this.loadingAnimation.style.display = 'block'; // Show the loading spinner
180
-
181
- console.log("9999");
182
176
  } catch (error) {
183
177
  console.error("Error loading tips:", error);
184
178
  this.stopTips(); // Stop intervals and hide animations on error
@@ -219,6 +213,9 @@ class IdeLoadingTips extends HTMLElement {
219
213
  */
220
214
  showCurrentTip() {
221
215
  const currentTip = this.#tips[this.#currentTipIndex];
216
+
217
+ console.log(currentTip);
218
+
222
219
  if (this.tipElement && currentTip) {
223
220
  this.tipElement.textContent = currentTip.text;
224
221