aKode: rimossi i link a OpenAI dagli avvisi della TUI

- Avvisi di sicurezza, buffering e catalogo plugin senza link a
  help.openai.com e chatgpt.com; snapshot aggiornati.
- Rimossi il riesporto e la funzione per i link sottolineati rimasti
  senza utilizzi (nessun avviso nella build release).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 16:40:27 +01:00
parent 24a3cfe2f4
commit 03524f0272
21 changed files with 41 additions and 107 deletions

View File

@@ -22,7 +22,6 @@ use crate::key_hint;
use crate::legacy_core::config::Config;
use crate::motion::MotionMode;
use crate::motion::shimmer_text;
use crate::onboarding::mark_url_hyperlink;
use crate::render::renderable::ColumnRenderable;
use crate::render::renderable::Renderable;
use crate::tui::FrameRequester;
@@ -53,7 +52,6 @@ const OPENAI_CURATED_TAB_ID: &str = "marketplace:openai-curated";
const PLUGIN_ROW_PREFIX_WIDTH: usize = 6;
const LOADING_ANIMATION_DELAY: Duration = Duration::from_secs(1);
const LOADING_ANIMATION_INTERVAL: Duration = Duration::from_millis(100);
const APPS_HELP_ARTICLE_URL: &str = "https://help.openai.com/en/articles/11487775-apps-in-chatgpt";
const PERSONAL_MARKETPLACE_RELATIVE_PATH: &str = ".agents/plugins/marketplace.json";
const LOCAL_MARKETPLACE_TAB_ORDER: u8 = 0;
const OTHER_MARKETPLACE_TAB_ORDER: u8 = 1;
@@ -181,7 +179,6 @@ impl Renderable for PluginDisclosureLine {
Paragraph::new(self.line.clone())
.wrap(Wrap { trim: false })
.render(area, buf);
mark_url_hyperlink(buf, area, APPS_HELP_ARTICLE_URL);
}
fn desired_height(&self, width: u16) -> u16 {
@@ -800,8 +797,6 @@ impl ChatWidget {
"terms of service".bold(),
" and ".into(),
"privacy policy".bold(),
". ".into(),
"Learn more".cyan().underlined(),
".".into(),
]),
});