feat(ui): enhance chat UI with new components and styling

refactor(chat): improve message display and actions
feat(chat): add high contrast mode toggle
style(chat): update spacing and sizing for better readability
feat(chat): add new Section and Stack layout components
docs: add UI style guide documentation
fix(chat): improve browser connection handling in scraper
feat(settings): expand default sources and improve UI
refactor: consolidate chat page layout and components
This commit is contained in:
Evandro Fonseca Junior committed 2025-11-20 15:13:54 -03:00
1 parent c06e7ae5cf
commit 4006a72eec
20 files changed
+741 -235

No files matched your search

+68 -6
View File
@@ -46,6 +46,21 @@ impl Default for SourcesConfig {
"pubmed.ncbi.nlm.nih.gov".to_string(),
"ieee.org".to_string(),
"acm.org".to_string(),
"sciencedirect.com".to_string(),
"springer.com".to_string(),
"jstor.org".to_string(),
"researchgate.net".to_string(),
"plos.org".to_string(),
"nature.com".to_string(),
"sciencemag.org".to_string(),
"mit.edu".to_string(),
"phys.org".to_string(),
"semanticscholar.org".to_string(),
"core.ac.uk".to_string(),
"paperswithcode.com".to_string(),
"base-search.net".to_string(),
"doaj.org".to_string(),
"worldscientific.com".to_string(),
],
enabled: true,
},
@@ -53,11 +68,26 @@ impl Default for SourcesConfig {
id: "tech".to_string(),
name: "Tech".to_string(),
base_sites: vec![
"github.com".to_string(),
"stackoverflow.com".to_string(),
"dev.to".to_string(),
"medium.com".to_string(),
"github.com".to_string(),
"reddit.com/r/programming".to_string(),
"dev.to".to_string(),
"hackernoon.com".to_string(),
"tabnews.com.br".to_string(),
"lobste.rs".to_string(),
"news.ycombinator.com".to_string(),
"hashnode.com".to_string(),
"codesandbox.io".to_string(),
"developer.mozilla.org".to_string(),
"web.dev".to_string(),
"smashingmagazine.com".to_string(),
"martinfowler.com".to_string(),
"infoq.com".to_string(),
"dzone.com".to_string(),
"freecodecamp.org".to_string(),
"digitalocean.com".to_string(),
"realpython.com".to_string(),
"css-tricks.com".to_string(),
],
enabled: true,
},
@@ -65,10 +95,26 @@ impl Default for SourcesConfig {
id: "news".to_string(),
name: "News".to_string(),
base_sites: vec![
"news.ycombinator.com".to_string(),
"techcrunch.com".to_string(),
"theverge.com".to_string(),
"techcrunch.com".to_string(),
"arstechnica.com".to_string(),
"engadget.com".to_string(),
"wired.com".to_string(),
"venturebeat.com".to_string(),
"cnet.com".to_string(),
"mashable.com".to_string(),
"gizmodo.com".to_string(),
"zdnet.com".to_string(),
"tomshardware.com".to_string(),
"anandtech.com".to_string(),
"bleepingcomputer.com".to_string(),
"theregister.com".to_string(),
"9to5mac.com".to_string(),
"androidauthority.com".to_string(),
"techradar.com".to_string(),
"fastcompany.com".to_string(),
"g1.globo.com".to_string(),
"techtudo.com.br".to_string(),
],
enabled: true,
},
@@ -78,8 +124,24 @@ impl Default for SourcesConfig {
base_sites: vec![
"bloomberg.com".to_string(),
"reuters.com".to_string(),
"financialtimes.com".to_string(),
"wsj.com".to_string(),
"ft.com".to_string(),
"cnbc.com".to_string(),
"marketwatch.com".to_string(),
"economist.com".to_string(),
"forbes.com".to_string(),
"investopedia.com".to_string(),
"seekingalpha.com".to_string(),
"infomoney.com.br".to_string(),
"valor.globo.com".to_string(),
"exame.com".to_string(),
"braziljournal.com".to_string(),
"coindesk.com".to_string(),
"cointelegraph.com".to_string(),
"moneytimes.com.br".to_string(),
"suno.com.br".to_string(),
"b3.com.br".to_string(),
"imf.org".to_string(),
],
enabled: true,
},