Initial commit
Half-baked state. Most of the UI is mostly done, but the integration with Grist (or any other data provider) is still missing.
This commit is contained in:
16
providers/debug_data.gd
Normal file
16
providers/debug_data.gd
Normal file
@@ -0,0 +1,16 @@
|
||||
extends Node
|
||||
|
||||
func load_articles() -> Dictionary[String, ArticleInfo]:
|
||||
var article_infos: Dictionary[String, ArticleInfo] = {}
|
||||
|
||||
for i in range(10):
|
||||
var id = "default_" + var_to_str(i)
|
||||
var info = ArticleInfo.new(
|
||||
id,
|
||||
"Artikel " + var_to_str(i),
|
||||
load("res://icon.svg"),
|
||||
0.1 * i
|
||||
)
|
||||
article_infos[id] = info
|
||||
|
||||
return article_infos
|
||||
Reference in New Issue
Block a user